CN110533839A - A kind of drug output method, system, drug vending machine and storage medium - Google Patents

A kind of drug output method, system, drug vending machine and storage medium Download PDF

Info

Publication number
CN110533839A
CN110533839A CN201910839036.1A CN201910839036A CN110533839A CN 110533839 A CN110533839 A CN 110533839A CN 201910839036 A CN201910839036 A CN 201910839036A CN 110533839 A CN110533839 A CN 110533839A
Authority
CN
China
Prior art keywords
drug
vending machine
medicine
request
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910839036.1A
Other languages
Chinese (zh)
Inventor
车七石
刘少辉
李新霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Times Health Products Co Ltd
Original Assignee
Guangzhou Times Health Products Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Times Health Products Co Ltd filed Critical Guangzhou Times Health Products Co Ltd
Priority to CN201910839036.1A priority Critical patent/CN110533839A/en
Publication of CN110533839A publication Critical patent/CN110533839A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0092Coin-freed apparatus for hiring articles; Coin-freed facilities or services for assembling and dispensing of pharmaceutical articles

Landscapes

  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention discloses a kind of drug output method, system, drug vending machine and storage mediums, the method is applied in drug vending machine, the drug, which is sold, is stored with drug in machine, the described method includes: receiving the drug that server is sent handles request, the drug processing request includes the medicine information in a drug orders;The drug is locked according to the medicine information;Reception takes medicine to request;Medicine request is taken to determine the drug being locked according to described;The locking of the drug is released, to export the drug.After the present invention is by reservation type drug purchase on line, drug medicine selling machine is realized accurately for medicine to the drug of purchase into line-locked mode, avoids the inconvenience of user, improve user experience under line.

Description

A kind of drug output method, system, drug vending machine and storage medium
Technical field
The present embodiments relate to automatic medicine selling technical fields, and in particular to a kind of drug output method, system, drug are sold Sell machine and storage medium.
Background technique
Urban district is often arranged in traditional pharmacy, and has the fixed business hours.Entity pharmacy opens up required cost Cost, limit pharmacy open up with addressing place, when the resident for inhabiting remote area, which gos out, buys drug, need spend compared with High time cost and traffic is costly to reach pharmacy's purchase;And in such as late into the night special period, urgent need can not be bought Drug.
Common drug and health care product are bought for convenience of resident, some pharmacies have purchased drug vending machine, realize round-the-clock The site setting of service and comprehensively covering living area.The spies such as easy to use, simple and fast having due to drug vending machine It puts and is accepted rapidly.There are two types of channels for drug in user's drug purchase vending machine, and one is (answered by APP on line Operation drug vending machine takes medicine under line after being placed an order with program, Application) purchase;Another kind is that drug is directly operated under line Vending machine drug purchase.But the medicament categories and limited amount stored in drug vending machine pass through drug purchase on line in user After go to drug vending machine site during, drug in drug vending machine is bought or is taken away by other users in advance, Lead to often to occur user on line after client drug purchase, drug vending machine when drug vending machine extracts drug is operated under line Drug shortage of goods phenomenon cause great inconvenience to user so that user has to go to another medicine selling machine and takes medicine or reimbursement.
Summary of the invention
The present invention provides a kind of drug output method, system, drug vending machine and storage medium, is purchased by reservation type on line After buying drug, drug medicine selling machine is realized accurately for medicine to the drug of purchase into line-locked mode, avoids user's under line Inconvenience improves user experience.
In a first aspect, the embodiment of the present invention provides a kind of drug output system, comprising: client, drug vending machine kimonos Business device.
The client includes:
Reserve requests module, for for the drug in the drug vending machine, Xiang Suoshu server to send reserve requests;
The server includes:
Order generation module, for being ordered according to the reserve requests for the drug generation in the drug vending machine It is single;
Drug handles request sending module, for sending drug processing to the drug vending machine according to the drug orders Request;
The drug vending machine includes:
Drug handles request receiving module, and for receiving the drug processing request of server transmission, the drug processing is asked It asks including the medicine information in a drug orders.
Drug locking module, for locking the drug according to the medicine information.
Medicine request receiving module is taken, takes medicine to request for receiving.
Drug determining module, for taking medicine request to determine the drug being locked according to.
Drug unlocks module, for releasing the locking of the drug, to export the drug.
Second aspect, the embodiment of the present invention provide a kind of drug output method, are applied in drug vending machine, the method Include the following steps:
It receives the drug that server is sent and handles request, the drug processing request includes the drug letter in a drug orders Breath;
The drug is locked according to the medicine information;
Reception takes medicine to request;
Medicine request is taken to determine the drug being locked according to described;.
The locking of the drug is released, to export the drug.
Further, in drug vending machine to drug into a kind of line-locked embodiment, the medicine information includes Drug variety and Quantity of drugs;Then in this embodiment,
Obtain the stockpile number of the corresponding drug of drug variety;
The new stockpile number of the drug is set by the difference between the stockpile number and the Quantity of drugs.
Further, in a kind of embodiment in drug vending machine according to the drug for taking medicine request determination to be locked,
Verification information is extracted from described take in medicine request;
The verification information is sent to server;
Receive the corresponding drug orders of the verification information that server returns;
Determine the corresponding drug being locked of the drug orders.
The third aspect, the embodiment of the present invention provide a kind of drug output method, the method also includes:
Receive the processing failure notice that server is sent in the drug orders processing failure;
The Quantity of drugs is added on the basis of the stockpile number according to processing failure notice, as the medicine The new stockpile number of product.
Fourth aspect, on the basis of second aspect, the embodiment of the present invention provides a kind of drug vending machine output drug Implement example, wherein be provided with mechanical arm and output port in the drug vending machine;Implement in example herein:
Determine drug storage position locating in the drug vending machine;
It drives the mechanical arm to grab the drug from the storage position, and the drug is pushed into the shipment Mouthful.
Further, the present invention also provides the implementation example of another drug vending machine output drug, drug vending machine is set It is equipped with and takes medicine door;This is implemented in example,
The locking for releasing the drug, to export the drug, comprising:
Determine drug storage position locating in the drug vending machine;
Medicine door is taken described in unlatching;
The prompt to the storage position is triggered to operate.
5th aspect, on the basis of first aspect, step performed by the order generation module of the server includes:
Obtain the second geographical position locating for the first geographical location locating for the client and each drug vending machine It sets;
Determine that drug to be processed is sold according to the distance between first geographical location and second geographical location Machine;
The corresponding drug processing page of the drug vending machine is sent to the client;
Receive the medicine information that the client determines in the drug processing page;
Order is generated according to the medicine information.
6th aspect, the embodiment of the present invention also provide a kind of drug vending machine, and the drug vending machine includes:
One or more processors;
Storage device, for storing one or more programs;
Stock case, the drug for being placed in drug vending machine;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the second drug output method into fourth aspect in either side.
7th aspect, the embodiment of the present invention also provide a kind of storage medium, and the storage medium includes the computer of storage Program, wherein equipment where controlling the storage medium in computer program operation executes second into fourth aspect The drug output method in either side.
The present invention handles request by receiving the drug that server is sent, and the drug processing request includes a drug orders In medicine information;The drug is locked according to the medicine information;When the drug vending machine described in user's operation carries out taking medicine, Reception takes medicine to request;Medicine request is taken to determine the drug being locked according to described;The locking of the drug is released, with output The drug.So that the drug vending machine locks the corresponding drug of the medicine information, the medicine of user's purchase is realized The of short duration reservation corresponded in the certain time of drug in product order retains, and avoids the corresponding drug of the medicine information from being replaced and leads The case where taking or consuming in advance.When receive take medicine to request after, take medicine request to determine the drug that has been locked according to described And unlock to the drug, to export the drug after unlocking, realizes and be reserved before accurately being exported to user The drug of reservation solves the problems, such as in drug vending machine that drug is replaced and gets or consume in advance, improves the experience sense of user.
Detailed description of the invention
Fig. 1 is the drug output flow diagram of the drug output system of the embodiment of the present invention;
Fig. 2 is that the order module of server in the drug output system of the embodiment of the present invention executes the process signal of method Figure;
Fig. 3 is that the process of another execution method of order module of server in the drug output system of the embodiment of the present invention is shown It is intended to;
Fig. 4 is the flow diagram of the first embodiment of the drug output method of the embodiment of the present invention;
Fig. 5 is the flow diagram of the second embodiment of the drug output method of the embodiment of the present invention;
Fig. 6 is the flow diagram of the 3rd embodiment of the drug output method of the embodiment of the present invention;
Fig. 7 is the flow diagram of the fourth embodiment of the drug output method of the embodiment of the present invention;
Fig. 8 is the structural schematic diagram of the drug output device of the embodiment of the present invention;
Fig. 9 is the structural schematic diagram of the drug output system of the embodiment of the present invention;
Figure 10 is the structural schematic diagram of the drug vending machine of the embodiment of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
As shown in Figure 1, being the drug output flow diagram of the drug output system of the embodiment of the present invention.The present invention is implemented Example provides a kind of drug output system, comprising: client, drug vending machine and server.The present embodiment is embodied when drug is sold When machine executes drug output method, the interactive operation between client, server and drug medicine selling machine, to constitute complete drug Output process.The client is connect with the server communication, and the drug vending machine is connect with the server communication.Visitor Interactive operation step between family end, server and drug medicine selling machine are as follows:
In S110, user end to server sends reserve requests.When user is by determining that drug is sold on client's end line When machine carries out drug reservation purchase, client is directed in selected drug vending machine according to user by reserve requests module and is selected Drug generate reserve requests, and reserve requests are sent to server.
In S120, server generates order for the drug in drug vending machine according to reserve requests.Server passes through The drug for the drug vending machine that order generation module is selected according to the user in the reserve requests received generates corresponding medicine Product order;Drug orders include the number and drug variety and Quantity of drugs for the drug vending machine that user selectes.
As shown in Fig. 2, being that the order module of server in the drug output system of the embodiment of the present invention executes the stream of method Journey schematic diagram.Step performed by the order generation module of server includes:
S211, the second geographical location locating for the first geographical location locating for client and each drug vending machine is obtained.
It is provided it should be noted that executing the present invention in the drug processing request that drug vending machine receives server transmission A kind of drug output method before, to further include server, which generated according to user by the drug vending machine that client selects, corresponds to Drug orders process.
S212, drug vending machine to be processed is determined according to the distance between the first geographical location and the second geographical location.
Specifically, server is far and near according to the distance between the first geographical location and the second geographical location, determine one away from The drug vending machine nearest from the first geographical location of client is as drug vending machine to be processed.
S213, the corresponding drug processing page of drug vending machine is sent to client.
Specifically, the determining corresponding drug processing page of drug vending machine is sent to client by server, so that objective Family end handles the page to the drug of a nearest drug vending machine of user's display distance client, so that user passes through the medicine Product handle the page and carry out drug purchase.
S214, the medicine information that client determines in the drug processing page is received.
S215, order is generated according to medicine information.
Specifically, when user is after the drug that need to be bought is completed in drug processing page selection, server receives client and exists Drug handles the medicine information determined in the page, and generates drug according to the number of the medicine information and the drug vending machine determined Order.
Further, the order generation module of server also has another embodiment.As shown in figure 3, being the present invention The flow diagram of another execution method of the order module of server in the drug output system of embodiment.In server according to visitor The distance between family end and each drug vending machine are far and near to determine nearest drug vending machine as drug vending machine to be processed Before, further include screening meet user demand with drug to be purchased and stockpile number meets the drug of quantity to be purchased and sells Machine is sold, by the drug vending machine for preferentially excluding to be unsatisfactory for user demand, so that drug purchasing process is more convenient and quick, is improved Customer experience sense.
S310, drug to be purchased and quantity to be purchased that the client determines are obtained.
The stockpile number of S320, the drug to be purchased according to each drug vending machine, filter out described in satisfaction Several drug vending machines to be selected of quantity to be purchased.
Specifically, server acquisition user passes through the drug to be purchased and quantity to be purchased that the client determines;And root According to the stockpile number of drug to be purchased in each drug vending machine, filters out and meet several drugs to be selected of quantity to be purchased and sell Sell machine.
S330, it obtains locating for the first geographical location locating for the client and several described drug vending machines to be selected Second geographical location.
S340, drug to be processed is determined according to the distance between first geographical location and second geographical location Vending machine.
Specifically, server obtains the first geographical location locating for client and the second of several drug vending machines to be selected Geographical location;Server is far and near according to the distance between the first geographical location and the second geographical location, determine one apart from client The nearest drug vending machine in first geographical location at end is as drug vending machine to be processed.
S350, the corresponding drug processing page of the drug vending machine is sent to the client.
S360, the medicine information that the client determines in the drug processing page is received.
S370, order is generated according to the medicine information.
It should be noted that the corresponding drug processing page of determining drug vending machine is sent to client by server later End so that client handles the page to the drug of a nearest drug vending machine of user's display distance client, so as to Family handles the page by the drug and carries out drug purchase.When user drug processing the page selection complete need to buy drug after, Server receives the medicine information that the client determines in the drug processing page, and according to medicine information and the drug determined The number of vending machine generates drug orders.
Drug handles request sending module and sends drug processing request to the drug vending machine according to the drug orders;
Specifically, in S130, server sends drug processing to the drug vending machine according to the drug orders and asks It asks.When server judges that user selectes drug vending machine by client and places an order drug purchase and when paying successfully, server Drug processing request is generated according to successful drug orders are paid, and drug processing request is sent to above-mentioned drug orders pair The drug vending machine answered.The drug processing request may include the drug orders that one or more belong to same drug vending machine.
In drug vending machine,
Drug handles request receiving module and receives the drug processing request that server is sent, and the drug processing request includes Medicine information in one drug orders.
Specifically, in S140, drug vending machine receives the drug that server is sent and handles request;The drug processing is asked It asks including the medicine information in a drug orders.When user on line places an order purchase to the drug vending machine by client After drug, server receives the drug purchase order information of client transmission, and the drug processing that drug vending machine receives is asked The number information of the drug vending machine determined for server according to user in drug purchase order information is asked to send.
Drug locking module locks the drug according to the medicine information.
Specifically, in S150, drug vending machine locks the drug according to the medicine information.When drug vending machine connects After receiving drug processing request, the medicine information in each drug orders for including in drug processing request is stored, and And the corresponding serial number of each drug orders or order number are saved.Wherein, drug vending machine is according to receiving Medicine information locking drug is to lock the drug of respective numbers recorded in the medicine information in the library of the drug vending machine In depositing, the drug is bought or taken away when not allowing other users by operating the drug vending machine on line or under line.
Take the reception of medicine request receiving module that medicine is taken to request.
Specifically, in S160, the reception of drug vending machine takes medicine to request.Take medicine request defeated to drug vending machine according to user The verification information entered generates.
Drug determining module takes medicine request to determine the drug being locked according to.
Specifically, in S170, drug vending machine takes medicine request to determine the drug being locked according to.In medicine Product vending machine receive take medicine request after, drug vending machine will take medicine request be sent to the server so that server is to this The verification information in medicine request is taken to be verified, after server verifies verification information success, drug medicine selling machine will be received What server was sent takes medicine to request corresponding drug orders, so that drug vending machine can be by described in server feedback Drug orders determine the correspondence drug being locked that user needs to take.
The drug module that unlocks releases the locking of the drug, to export the drug.
Specifically, in S180, drug vending machine releases the locking of the drug, to export the drug.Drug is sold Machine is to need the correspondence drug being locked taken to sell from drug the user determined in S170 to the unlock of drug when taking medicine It sells hangar and deposits interior output to user, no longer reserve and be locked in inventory.
Embodiment two
Fig. 4 is the flow chart schematic diagram of the first embodiment of the drug output method of the embodiment of the present invention, and the present embodiment can Suitable for user the drug drug vending machine is reserved after take medicine the case where, the present embodiment be applied to drug vending machine In, this method can be by the controller or microprocessor (CPU) Lai Zhihang in drug vending machine, the drug output method tool Body includes the following steps:
S410, the drug processing request that server is sent is received, the drug processing request includes in a drug orders Medicine information.
It should be noted that after user on line places an order to drug vending machine by client and buys drug, service Device receives the drug purchase order information of client transmission, and server is according to drug vending machine in drug purchase order information Number information sends drug processing request to the corresponding drug vending machine of number information.
S420, the drug is locked according to the medicine information.
Specifically, drug vending machine one or more drug orders according to included in the drug processing request received In medicine information drug is locked.Drug vending machine locking drug is to lock drug recorded in the medicine information to exist In the inventory of drug vending machine, for example, drug vending machine will according to the medicine information when recording N box X drug in medicine information N box X drug detains setting on medicine frame in drug vending machine, and shows that the quantity in stock of current X drug is that original quantity in stock M subtracts to user Go the difference of N.The drug is bought or taken away when not allowing other users by operating the drug vending machine on line or under line.Pass through Drug vending machine locks the corresponding drug of medicine information, realizes the of short duration reservation in the certain time of purchased drug Retain, the corresponding drug of the medicine information is avoided to be replaced the case where getting.
S430, reception take medicine to request.
Specifically, by user it is online under drug vending machine is carried out medicine is taken to operate, be manually entered to drug vending machine or Barcode scanning input takes the verification informations such as medicine identifying code, phone number or ID card No., takes medicine request raw by the verification information inputted At.
S440, medicine request is taken to determine the drug being locked according to.
Specifically, in the embodiment in a kind of drug vending machine according to the drug for taking medicine request determination to be locked, medicine Product vending machine from take medicine request in extract verification information;Then the verification information is sent to server;And receive server The corresponding drug orders of the verification information returned;So that it is determined that the corresponding drug being locked of the drug orders, realizes medicine Product vending machine is according to the drug for taking medicine request determination to be locked.
It should be noted that the specific generating process for taking medicine to request is to lead to when drug vending machine receives and medicine is taken to request Cross user it is online under the drug vending machine is carried out that medicine is taken to operate, be manually entered to drug vending machine or barcode scanning input take medicine to test The verification informations such as code, phone number or ID card No. are demonstrate,proved, medicine request is taken to be generated according to the verification information that user inputs.Drug is sold Sell machine will take medicine request in verification information be sent to server so that server to take medicine request in verification information carry out school It tests.Due to having recorded user information when server generates order or taking medicine identifying code, and by user information or medicine identifying code is taken to make Client is sent to for verification information.When server receives the verification information of drug medicine selling machine transmission, and before store User information takes medicine identifying code to be matched, and when user information or takes medicine identifying code and verification information successful match is then verifying Otherwise success is failure.User information includes phone number or ID card No. etc..
After server is according to the user information prestored or takes medicine verifying code check verification information success, drug medicine selling machine Medicine is taken to request corresponding drug orders this for receiving server transmission, so that drug vending machine can pass through the clothes The drug orders of business device feedback determine the drug being locked that user needs to take.
S450, the locking for releasing the drug, to export the drug.
Specifically, since drug vending machine locking drug is to lock drug recorded in the medicine information to sell in drug In the inventory of machine, drug is detained setting on medicine frame in drug vending machine according to the medicine information by drug vending machine, and by inventory Quantity subtracts the Quantity of drugs that need to be reserved.Drug vending machine when user takes medicine in the unlocking process of drug, drug medicine selling machine It will be retained in the corresponding drug set on medicine frame originally to take out, and export to user, complete to be existed in drug vending machine by user The drug unlock that reservation is bought on line, is taken away or has been bought in advance by other users under avoiding online, improve the experience sense of user.
Fig. 5 is the flow chart schematic diagram of the second embodiment of the drug output method of the embodiment of the present invention, provides a kind of medicine The implementation example of product vending machine output drug, wherein be provided with mechanical arm and output port in the drug vending machine;
In S511, drug vending machine determines drug storage position locating in the drug vending machine;Later in S512 The middle driving mechanical arm grabs drug from above-mentioned storage position, and the drug is pushed to output port.
It should be noted that obtaining the medicine after drug vending machine is according to taking medicine request to determine the drug being locked Storage position information of the product in drug vending machine, to be ordered according to the control that the storage position information generates medicine extractor tool arm It enables, control command is used to control the storage position progress drug crawl that mechanical arm reaches corresponding drug.Drug vending machine passes through Control command driving manipulator arm grabbed from corresponding storage position receive take medicine to request corresponding drug and drug number It measures, and the drug of corresponding number is pushed to the output port of drug vending machine, to complete drug output process.
Further, Fig. 6 is the flow chart schematic diagram of the 3rd embodiment of the drug output method of the embodiment of the present invention.This Invention also provides the implementation example of another drug vending machine output drug, and drug vending machine, which is provided with, takes medicine door;
In S610, drug medicine selling machine determines drug storage position locating in drug vending machine;Then in S620, The unlatching of drug medicine selling machine takes medicine door;And it executes S630 triggering and the prompt of the storage position of the drug is operated.Wherein, which grasps Make to include voice prompt operation or indicator light prompt operation.
It should be noted that drug vending machine, which is provided with, takes medicine door, it is additionally provided with speech player or is arranged in each medicine Indicator light at product storage position.After drug vending machine takes medicine request to determine the drug being locked according to also It can carry out taking medicine by generating voice messaging or indicator light flash for prompting user's autonomous operation drug vending machine, to complete drug The drug of vending machine exports.Specifically, drug vending machine obtains storage position information of the drug in drug vending machine, and to Unlatching drug medicine selling machine in family takes medicine door.Triggering voice prompt operation generates voice prompting according to above-mentioned storage position information later Audio or triggering indicator light prompt operation generate indicator light according to above-mentioned storage position information and flash instruction;Drug vending machine is opened It takes medicine behind the door, the placement position of drug of the voice prompting sound to prompt user that need to take is played by speech player, facilitates use Family independently takes medicine;Or instruction control instructions lamp is flashed according to indicator light and carries out flashing according to certain sequence and position to prompt to use The placement position for the drug that family need to take, facilitates user independently to take medicine.
Certainly, the embodiment of above-mentioned drug vending machine output drug is intended only as example, is implementing the embodiment of the present invention When, the embodiment of other output drugs can be set according to the actual situation, for example, automatic release is located at the medicine that drug adds Product, etc., the embodiments of the present invention are not limited thereto.In addition, other than the embodiment of above-mentioned output drug, this field skill Art personnel can also be according to actual needs using the embodiment of other output drugs, and the embodiment of the present invention does not also limit this System.
A kind of drug output method provided in an embodiment of the present invention handles request by receiving the drug that server is sent, The drug processing request includes the medicine information in a drug orders;The drug is locked according to the medicine information;With When the family operation drug vending machine carries out taking medicine, reception takes medicine to request;Medicine request is taken to determine the institute being locked according to described State drug;The locking of the drug is released, to export the drug.So that drug vending machine to the corresponding drug of medicine information into Row locking realizes that the of short duration reservation in the certain time for corresponding to drug in the drug orders of user's purchase retains, drug is avoided to believe It ceases corresponding drug and is replaced the case where getting or consuming in advance.When receive take medicine request after, according to taken medicine request determine Locked drug simultaneously unlocks to drug, to export the drug after unlocking, improves drug vending machine and exports drug Accuracy, to improve the experience sense of user.
Embodiment three
Fig. 7 is the flow chart schematic diagram of the fourth embodiment of the drug output method of the embodiment of the present invention, in embodiment two On the basis of increase drug vending machine stock processing method when medicine being taken to fail, the method also includes:
S710, the drug processing request that server is sent is received, the drug processing request includes in a drug orders Medicine information.
S720, the drug is locked according to the medicine information.
Further, in drug vending machine to drug into a kind of line-locked embodiment, the medicine information includes Drug variety and Quantity of drugs;Then in this embodiment, the stockpile number of the corresponding drug of acquisition drug variety can be passed through;It The new stockpile number of the drug is set by the difference between the stockpile number and the Quantity of drugs afterwards, to pass through lock Determine to realize locking of the drug vending machine to drug on the drug stock of drug vending machine.
It should be noted that being pushed up to solve user by reserving the drug bought in advance on drug vending machine on line The problem of for getting or consuming in advance, drug vending machine lock drug according to medicine information to solve the above problems.Due to drug Information includes drug variety and Quantity of drugs, the type for the drug that drug variety is bought for the user of corresponding drug orders record Information, the quantity for the drug that Quantity of drugs is bought for the user of corresponding drug orders record.Drug vending machine is carrying out drug When locking, stockpile number of the corresponding drug of drug variety recorded in medicine information in drug vending machine is obtained;It is laggard The difference of the row stockpile number and Quantity of drugs calculates and is set as the new stockpile number of the drug for the difference obtained is calculated.It is logical The stockpile number for updating the corresponding drug of drug variety in drug vending machine is crossed, the quantity for the drug reserved in advance is subtracted It goes, to realize the locking of drug, avoids carrying out the drug variety pair when other users operate down the drug vending machine online The consumption in advance of the drug when drug purchase answered.
And the new stockpile number of drug is set by the difference between stockpile number and Quantity of drugs in drug vending machine Later, the new stockpile number of the drug is also uploaded to server, so that the server update drug vending machine is shown on line Drug stockpile number, avoid user on line in drug vending machine drug repeat reservation purchase, solve line on reserve Drug success but when taking medicine under line drug vending machine shortage of goods problem.
S730, reception take medicine to request.
S740, medicine request is taken to determine the drug being locked according to.
S750, the locking for releasing the drug, to export the drug.
S760, the processing failure notice that server is sent in the drug orders processing failure is received.
It should be noted that drug processing request is that server detects that is generated and sent after user pays successfully asks It asks, reimbursement is initiated to the drug orders bought on line before user descends drug vending machine to take medicine online for some reason and is asked When medicine being taken to fail when asking, judge that corresponding drug is ordered after the drug orders refund request that server process relative client is sent Single processing failure generates processing failure notice, service according to the drug vending machine number and order number that record in the drug orders Processing failure notice is sent to corresponding drug according to the drug vending machine number recorded in the drug orders and sold by device Machine.
S770, the Quantity of drugs is added on the basis of the stockpile number according to processing failure notice, as The new stockpile number of the drug.
Specifically, the processing failure sent when drug vending machine receives server in drug orders processing failure is logical Know, since processing failure notice includes the O/No. or serial number of the drug orders of processing failure, so that drug sells function Enough O/No.s managed in failure notification according to this or serial number find the previously stored O/No. in memory Or the corresponding drug orders information of serial number.
Later, drug vending machine notifies on the basis of inventory according to processing failure plus the drug orders for taking medicine failure Corresponding Quantity of drugs, the stockpile number new as the drug, specifically: drug vending machine is found according to processing failure notice Corresponding drug orders the acquisition of information drug variety and Quantity of drugs that are recorded to the drug orders information.Drug is obtained first Stockpile number of the corresponding drug of type in drug vending machine;Stockpile number is obtained calculating with Quantity of drugs phase adduction later Obtain and value is set as the new stockpile number of the drug.It, will by updating the stockpile number of corresponding drug in drug vending machine The quantity for the drug reserved in advance by the drug orders of processing failure before is added to the inventory of drug vending machine again In amount, to realize the release of drug, invalid locking of the drug vending machine to drug after drug orders processing failure is avoided.
And between stockpile number and the Quantity of drugs of the drug orders of processing failure and value is set in drug vending machine It is set to after the new stockpile number of drug, the new stockpile number of the drug is also uploaded to server, so that server update should The stockpile number for the corresponding drug that drug vending machine is shown on line realizes the medicine being locked in the drug orders of processing failure The restocking on line again of product.
Example IV
As shown in figure 8, being the structural schematic diagram of the drug output device of the embodiment of the present invention.The embodiment of the present invention also provides A kind of drug output device, is applied in drug vending machine, and drug, which is sold, is stored with drug in machine, which includes:
Drug handles request receiving module 801, for receiving the drug processing request of server transmission, the drug processing Request includes the medicine information in a drug orders;
Drug locking module 802, for locking the drug according to the medicine information;
Medicine request receiving module 803 is taken, takes medicine to request for receiving;
Drug determining module 804, for taking medicine request to determine the drug being locked according to;
Drug unlocks module 805, for releasing the locking of the drug, to export the drug;
Further, when drug output device carries out drug lock operation by drug locking module 802, drug locking Module 802 further include:
Stockpile number acquiring unit, for obtaining the stockpile number of the corresponding drug of the drug variety;
Stockpile number updating unit, for setting described for the difference between the stockpile number and the Quantity of drugs The new stockpile number of drug.
Further, when drug output device execute take medicine to fail when drug vending machine stock processing method when, drug Output device further include:
Processing failure notifies receiving module 806, is sent in the drug orders processing failure for receiving server Processing failure notice;
Stockpile number update module 807, for being added on the basis of the stockpile number according to processing failure notice The upper Quantity of drugs, the stockpile number new as the drug.
Further, when drug output device by drug unlock module 805 carry out drug and export process when, the In a kind of implementation example, the drug module 805 that unlocks includes:
Quantity determination unit is stored, for determining drug storage position locating in the drug vending machine;
Picking unit, for driving the mechanical arm to grab the drug from the storage position, and by the drug Push to the output port.
In second of implementation example, the drug module 805 that unlocks includes:
Quantity determination unit is stored, for determining drug storage position locating in the drug vending machine;
Medicine door opening unit is taken, described takes medicine door for opening;
Prompt operation trigger unit, for triggering the operation of the prompt to the storage position.
Further, when drug output device has been locked by drug determining module 804 according to taking medicine request to determine When drug, drug determining module 804 includes:
Verification information extraction unit, for extracting verification information from described take in medicine request;
Verification information transmission unit, for the verification information to be sent to the server;
Drug orders receiving unit, the corresponding drug orders of the verification information returned for receiving the server;
Drug determination unit is locked, for determining the corresponding drug being locked of the drug orders.
Embodiment five
As shown in figure 9, being the structural schematic diagram of the drug output system of the embodiment of the present invention.The embodiment of the present invention provides one Kind drug output system, comprising: client, drug vending machine and server;
The client includes:
Reserve requests module 910, for for the drug in the drug vending machine, Xiang Suoshu server to send pre- invite It asks.
The server includes:
Order generation module 920, for raw for the drug in the drug vending machine according to the reserve requests At order;
Drug handles request sending module 930, for sending drug to the drug vending machine according to the drug orders Processing request.
The drug vending machine includes:
Drug handles request receiving module 940, for receiving the drug processing request of server transmission, the drug processing Request includes the medicine information in a drug orders;
Drug locking module 950, for locking the drug according to the medicine information;
Medicine request receiving module 960 is taken, takes medicine to request for receiving;
Drug determining module 970, for taking medicine request to determine the drug being locked according to;
Drug unlocks module 980, for releasing the locking of the drug, to export the drug.
Embodiment six
The embodiment of the present invention also provides a kind of drug vending machine, the medicine in two to three any embodiment of embodiment Product vending machine includes:
One or more processors;
Storage device, for storing one or more programs;
Stock case, the drug for being placed in drug vending machine;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the drug output method of the embodiment two into example IV in any embodiment.
As shown in Figure 10, a kind of structural schematic diagram of the drug vending machine provided for the embodiment of the present invention six, the drug are sold The machine of selling includes processor 101, storage device 102 and stock case 103;The quantity of processor 101 can be one in drug vending machine It is a or multiple, in Figure 10 by taking a processor 101 as an example;Processor 101, storage device 102 and stock in drug vending machine Case 103 can be connected by bus or other modes, in Figure 10 for being connected by bus.
Storage device 102 is used as a kind of computer readable storage medium, and it is executable to can be used for storing software program, computer Program and module, if the corresponding program instruction/module of the command handling method in the embodiment of the present invention is (for example, drug is handled Request receiving module 810;Drug locking module 820;Take medicine request receiving module 830;Drug determining module 840;Drug releases Locking module 850).Software program, instruction and the module that processor 101 is stored in storage device 102 by operation, thus The various function application and data processing for executing drug vending machine, that is, realize above-mentioned command handling method.
Embodiment seven
The embodiment of the present invention also provides a kind of storage medium, and the storage medium includes the computer program of storage, wherein Equipment where controlling the storage medium in computer program operation executes any reality into example IV of embodiment two Apply the drug output method in example.
Certainly, a kind of storage medium of processor-executable instruction, processor provided by the embodiment of the present invention can be held The method operation that row instruction is not limited to the described above, can also be performed drug output method provided by any embodiment of the invention In relevant operation.
In conclusion a kind of drug output method provided by the invention, is asked by receiving the drug processing that server is sent It asks, the drug processing request includes the medicine information in a drug orders;The drug is locked according to the medicine information;In When drug vending machine described in user's operation carries out taking medicine, reception takes medicine to request;Medicine request determination is taken to be locked according to described The drug;The locking of the drug is released, to export the drug.So that the drug vending machine is to the medicine information pair The drug answered is locked, and realizes that the of short duration reservation in the certain time for corresponding to drug in the drug orders of user's purchase retains, The corresponding drug of the medicine information is avoided to be replaced the case where getting or consuming in advance.When receive take medicine request after, according to It is described that medicine request is taken to determine the drug being locked and unlock to the drug, to export the medicine after unlocking Product improve the accuracy of drug vending machine output drug, to improve the experience sense of user.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
It is worth noting that, included each unit and module are only pressed in the embodiment of above-mentioned drug output device It is divided, but is not limited to the above division according to function logic, as long as corresponding functions can be realized;In addition, The specific name of each functional unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of drug output method, which is characterized in that apply in drug vending machine, the drug, which is sold, is stored with medicine in machine Product, which comprises
It receives the drug that server is sent and handles request, the drug processing request includes the medicine information in a drug orders;
The drug is locked according to the medicine information;
Reception takes medicine to request;
Medicine request is taken to determine the drug being locked according to described;
The locking of the drug is released, to export the drug.
2. drug output method as described in claim 1, which is characterized in that the medicine information includes drug variety and drug Quantity;It is described that the drug is locked according to the medicine information, comprising:
Obtain the stockpile number of the corresponding drug of the drug variety;
The new stockpile number of the drug is set by the difference between the stockpile number and the Quantity of drugs.
3. drug output method as claimed in claim 2, which is characterized in that the method also includes:
Receive the processing failure notice that server is sent in the drug orders processing failure;
The Quantity of drugs is added on the basis of the stockpile number according to processing failure notice, it is new as the drug Stockpile number.
4. drug output method as described in any one of claims 1-3, which is characterized in that be provided in the drug vending machine Mechanical arm and output port;
The locking for releasing the drug, to export the drug, comprising:
Determine drug storage position locating in the drug vending machine;
It drives the mechanical arm to grab the drug from the storage position, and the drug is pushed into the output port.
5. drug output method as described in any one of claims 1-3, which is characterized in that be arranged in the drug vending machine and take Medicine door;
The locking for releasing the drug is specifically included with exporting the drug:
Determine drug storage position locating in the drug vending machine;
Medicine door is taken described in unlatching;
The prompt to the storage position is triggered to operate.
6. drug output method as described in any one of claims 1-3, which is characterized in that described to take medicine request true according to The fixed drug being locked, comprising:
Verification information is extracted from described take in medicine request;
The verification information is sent to the server;
Receive the corresponding drug orders of the verification information that the server returns;
Determine the corresponding drug being locked of the drug orders.
7. a kind of drug output system characterized by comprising client, drug vending machine and server;
The client includes:
Reserve requests module, for for the drug in the drug vending machine, Xiang Suoshu server to send reserve requests;
The server includes:
Order generation module, for generating order for the drug in the drug vending machine according to the reserve requests;
Drug handles request sending module, asks for sending drug processing to the drug vending machine according to the drug orders It asks;
The drug vending machine includes:
Drug handles request receiving module, and for receiving the drug processing request of server transmission, the drug handles request packet Include the medicine information in a drug orders;
Drug locking module, for locking the drug according to the medicine information;
Medicine request receiving module is taken, takes medicine to request for receiving;
Drug determining module, for taking medicine request to determine the drug being locked according to;
Drug unlocks module, for releasing the locking of the drug, to export the drug.
8. drug output system as claimed in claim 7, which is characterized in that the order generation module, comprising:
Obtain the second geographical location locating for the first geographical location locating for the client and each drug vending machine;
Drug vending machine to be processed is determined according to the distance between first geographical location and second geographical location;
The corresponding drug processing page of the drug vending machine is sent to the client;
Receive the medicine information that the client determines in the drug processing page;
Order is generated according to the medicine information.
9. a kind of drug vending machine, which is characterized in that the drug vending machine includes:
One or more processors;
Storage device, for storing one or more programs;
Stock case, the drug for being placed in drug vending machine;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now drug output method as described in any in claim 1 to 6.
10. a kind of storage medium, which is characterized in that the storage medium includes the computer program of storage, wherein in the meter The drug that equipment calculation machine program controls the storage medium when running where is executed as described in claim 1 to 6 any one is defeated Method out.
CN201910839036.1A 2019-09-05 2019-09-05 A kind of drug output method, system, drug vending machine and storage medium Pending CN110533839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910839036.1A CN110533839A (en) 2019-09-05 2019-09-05 A kind of drug output method, system, drug vending machine and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910839036.1A CN110533839A (en) 2019-09-05 2019-09-05 A kind of drug output method, system, drug vending machine and storage medium

Publications (1)

Publication Number Publication Date
CN110533839A true CN110533839A (en) 2019-12-03

Family

ID=68667164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910839036.1A Pending CN110533839A (en) 2019-09-05 2019-09-05 A kind of drug output method, system, drug vending machine and storage medium

Country Status (1)

Country Link
CN (1) CN110533839A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950839A (en) * 2019-12-10 2021-06-11 威海新北洋数码科技有限公司 Commodity selling method

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7467093B1 (en) * 1994-12-16 2008-12-16 Automed Technologies, Inc Method of tracking and despensing medical items to patients through self service delivery system
CN102622700A (en) * 2012-03-31 2012-08-01 重庆大学 Shopping guide system used for medicament vending machine
CN205675627U (en) * 2016-06-12 2016-11-09 张青 A kind of intelligent medicine sales based on Internet of Things framework and dosage system for Chinese medicine
CN206921217U (en) * 2017-05-25 2018-01-23 瑞津(中国)生物科技有限公司 Automatic medicine extractor and the automatic medicine fetching system for including it
CN107886398A (en) * 2017-11-07 2018-04-06 四川爱华立康智能科技有限公司 It is self-service to sell medicine management system and carry out the method for medicine sales management using it
CN108470402A (en) * 2018-02-08 2018-08-31 康美药业股份有限公司 Automatic medicine selling machine and its sell prescription method, storage medium
CN108470578A (en) * 2018-02-08 2018-08-31 康美药业股份有限公司 A kind of automatic medicine selling machine and its sell prescription method, storage medium
CN208126554U (en) * 2018-04-27 2018-11-20 泉州医学高等专科学校 A kind of new type auto medicine selling machine
CN109117966A (en) * 2018-06-29 2019-01-01 康美药业股份有限公司 A kind of reservation compensation process that drug is sold out
CN109147198A (en) * 2018-07-04 2019-01-04 平安科技(深圳)有限公司 It is self-service to sell medicine method and system
CN109325822A (en) * 2018-08-24 2019-02-12 康美药业股份有限公司 Drug buys automatic matching method, device, electronic equipment and storage medium
CN208569777U (en) * 2018-08-01 2019-03-01 无锡工艺职业技术学院 A kind of automatic medicine extractor
CN109472297A (en) * 2018-10-18 2019-03-15 苏州享药智能科技有限公司 Medicine-chest drug intelligent positioning management method and system
CN110135936A (en) * 2019-04-03 2019-08-16 平安科技(深圳)有限公司 It is a kind of to take prescription method, system, electronic device and storage medium automatically

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7467093B1 (en) * 1994-12-16 2008-12-16 Automed Technologies, Inc Method of tracking and despensing medical items to patients through self service delivery system
CN102622700A (en) * 2012-03-31 2012-08-01 重庆大学 Shopping guide system used for medicament vending machine
CN205675627U (en) * 2016-06-12 2016-11-09 张青 A kind of intelligent medicine sales based on Internet of Things framework and dosage system for Chinese medicine
CN206921217U (en) * 2017-05-25 2018-01-23 瑞津(中国)生物科技有限公司 Automatic medicine extractor and the automatic medicine fetching system for including it
CN107886398A (en) * 2017-11-07 2018-04-06 四川爱华立康智能科技有限公司 It is self-service to sell medicine management system and carry out the method for medicine sales management using it
CN108470578A (en) * 2018-02-08 2018-08-31 康美药业股份有限公司 A kind of automatic medicine selling machine and its sell prescription method, storage medium
CN108470402A (en) * 2018-02-08 2018-08-31 康美药业股份有限公司 Automatic medicine selling machine and its sell prescription method, storage medium
CN208126554U (en) * 2018-04-27 2018-11-20 泉州医学高等专科学校 A kind of new type auto medicine selling machine
CN109117966A (en) * 2018-06-29 2019-01-01 康美药业股份有限公司 A kind of reservation compensation process that drug is sold out
CN109147198A (en) * 2018-07-04 2019-01-04 平安科技(深圳)有限公司 It is self-service to sell medicine method and system
CN208569777U (en) * 2018-08-01 2019-03-01 无锡工艺职业技术学院 A kind of automatic medicine extractor
CN109325822A (en) * 2018-08-24 2019-02-12 康美药业股份有限公司 Drug buys automatic matching method, device, electronic equipment and storage medium
CN109472297A (en) * 2018-10-18 2019-03-15 苏州享药智能科技有限公司 Medicine-chest drug intelligent positioning management method and system
CN110135936A (en) * 2019-04-03 2019-08-16 平安科技(深圳)有限公司 It is a kind of to take prescription method, system, electronic device and storage medium automatically

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950839A (en) * 2019-12-10 2021-06-11 威海新北洋数码科技有限公司 Commodity selling method
CN112950839B (en) * 2019-12-10 2023-06-23 威海新北洋数码科技有限公司 Commodity selling method

Similar Documents

Publication Publication Date Title
JP6743308B2 (en) How the customer interacts with the self-service system
CN108806074A (en) Generation method, device and the storage medium of shopping information
CN105339893B (en) The application shop supported with integration testing
JP6916559B1 (en) Information processing equipment, information processing systems, information processing methods and programs
CN109636504A (en) Information processing method and device, electronic equipment and storage medium
CN109949507A (en) Applied to the books sharing method and system in the scene of campus
CN109118641A (en) Accurate bank note distribution method and device based on serial number
CN109166232A (en) A kind of automatic vending machine control method and system
CN108460926A (en) A kind of the pickup method and intelligence express delivery cabinet of intelligence express delivery cabinet
CN110060413A (en) Method for selling and device, the storage medium and electronic device of article
JP2006247189A (en) Game management system
CN110533839A (en) A kind of drug output method, system, drug vending machine and storage medium
JP2020191062A (en) Method and device for generating information and device for human-computer interaction
WO2022024865A1 (en) Article provision method, article processing apparatus, article provision apparatus, program, and article provision system
JP4168355B2 (en) Amusement hall medal management system
CN109255902A (en) Wholesale withdrawal system, financial operational method and control system
JP2006247196A (en) Game management system
CN207587094U (en) Wholesale withdrawal system and control system
JP7483219B2 (en) Management system for unmanned mobile service equipment
JP7352983B2 (en) Unmanned mobile store management system
CN110020849A (en) A kind of smart machine method of payment and device
CN109389782A (en) Sale method and system based on unattended shop
CN109543867A (en) Laundry management method, device, laundry storing fusion device and storage medium
CN110889741A (en) Cigarette retail integrated system
JP2019008520A (en) Device management system, information reading apparatus, device management method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191203

RJ01 Rejection of invention patent application after publication