CN110705940B - Medicine logistics tracing and checking method based on block chain - Google Patents
Medicine logistics tracing and checking method based on block chain Download PDFInfo
- Publication number
- CN110705940B CN110705940B CN201910952157.7A CN201910952157A CN110705940B CN 110705940 B CN110705940 B CN 110705940B CN 201910952157 A CN201910952157 A CN 201910952157A CN 110705940 B CN110705940 B CN 110705940B
- Authority
- CN
- China
- Prior art keywords
- information
- medicine
- logistics
- database
- block chain
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
- G06Q10/0833—Tracking
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H40/00—ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Medical Informatics (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- Epidemiology (AREA)
- Biomedical Technology (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- General Health & Medical Sciences (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The invention provides a block chain-based medicine logistics tracing and checking method, which comprises the following steps: s1, acquiring the serial numbers of the medicines in the medicine database and corresponding product specification information through the block chain; the patient terminal broadcasts corresponding medicine requirements through a block chain; s2, matching the medicine number of the medicine database with the terminal medicine requirement of the patient after the medicine number is recorded, discharging the matched information from the medicine database corresponding to the medicine database, and issuing the logistics information in block chain real time; s3, the patient terminal acquires logistics information in real time, and after receiving the medicine, single number inquiry is carried out through the block chain; s4, acquiring drug delivery information and single number information of all nodes through a block chain, and accordingly performing expected judgment on drug stock and stock state of corresponding nodes; when the medicine stock and the abnormal delivery state occur, the logistics information is traced by acquiring the medicine through the single number information and the patient, so that the abnormal state is quickly judged.
Description
Technical Field
The invention relates to the field of block chain computers, in particular to a medicine logistics tracing and checking method based on a block chain.
Background
The block chain is as the important instrument of data harmony in coordination, has been used in many fields, distribute to the medicine and the logistics distribution in-process, need compare the data of ex-warehouse and warehouse entry in real time, thereby can be accurate carry out the retroactive of medicine, but among the prior art, retroactive and collaborative management to medicine data are not in place, thereby can not make the medicine flow direction make accurate control, also can not carry out reasonable scheduling to the medicine, the resource imbalance has been caused, this needs technical personnel in the field to solve corresponding technical problem urgently.
Disclosure of Invention
The invention aims to at least solve the technical problems in the prior art, and particularly creatively provides a block chain medicine logistics tracing and checking method.
In order to achieve the above object, the present invention provides a method for tracing and checking medicine logistics based on a block chain, comprising the following steps:
s1, acquiring the serial numbers of the medicines in the medicine database based on the block chain and corresponding product specification information; the patient terminal broadcasts corresponding medicine requirements through a block chain;
after the medicine number information of the medicine database is recorded, matching with the medicine requirement of a patient terminal, taking the matched information out of a medicine library corresponding to the medicine database, and issuing logistics information in block chain real time;
the patient terminal acquires logistics information in real time, and after receiving the medicine, single number inquiry is carried out through a block chain; acquiring the drug number according to the single number logistics information, and comparing the corresponding product specification information with the product specification information of the sent drug, so as to know the time and the arrival place of the corresponding drug when the drug is taken out of the warehouse;
the S1 includes S1-7 to S1-12:
s1-7, after the medicine arrival information is pushed to the patient terminal, in the preliminary matching information of the medicine information of the patient terminal and the medicine information of the medicine database, traversing and comparing the medicine number and the corresponding product rule information in the medicine information, if the medicine information is not abnormal, confirming the logistics data, if the medicine information is abnormal in the matching process, backtracking the logistics data, searching the logistics distribution node with the abnormal information, and if all the logistics distribution nodes are not abnormal, comparing the medicine information ex-warehouse information.
S1-8, if the patient terminal is at the logistics information starting node or a certain intermediate medicine database node, the medicine number to be tracked is input through the medicine information tracking and tracing patient terminal, and a tracking inquiry request aiming at the medicine number is initiated;
s1-9, in the real-time distribution process of logistics information, extracting medicine ex-warehouse information of a medicine database based on a block chain to obtain updated logistics information, performing coding operation on the logistics information obtained by medicine ex-warehouse of the medicine database on the block chain, marking acquisition time and acquiring an IP address; acquiring time and an IP address to become an identifier checked by a patient terminal, taking the identifier as a medicine information coding parameter, and calling the provided medicine information coding parameter according to the IP address of an information server provided in the identifier checked by the current patient terminal;
s1-10, in the real-time distribution process of logistics information, extracting node types of corresponding medicine database nodes from medicine ex-warehouse information of a medicine database based on a block chain, and adding medicine ex-warehouse information records to the head of a query list; the inquiry list consists of a plurality of binary value pairs, wherein each binary value pair consists of time for acquiring logistics information in a drug database node and an acquired IP address, and the logistics information inquiry list is formed in a stacking mode;
s1-11, in the process of real-time release of logistics information, in the process of extracting medicine ex-warehouse information of a medicine database based on a block chain, taking the logistics information as a keyword popped up and located at the head of a stack, judging whether the query keyword exists in a queried list or not, if the query keyword exists in the queried list and indicates that the query keyword is accessed, ignoring the query keyword, enumerating all the query keywords, and then executing S1-12;
s1-12, in the process of releasing logistics information in real time, in the process of extracting medicine ex-warehouse information of a medicine database based on a block chain, filtering and integrating query keywords, eliminating repeated query keywords according to S1-11, integrating information of the non-query keywords, continuously traversing the query keywords of the integrated information, and eliminating the queried logistics information;
s2, acquiring drug delivery information and single number information of all nodes through a block chain, and accordingly performing expected judgment on drug stock and stock state of corresponding nodes; when the medicine stock and the abnormal state of ex-warehouse occur, the patient terminal obtains the logistics information of the medicine for tracing through the single number information, so that the abnormal state can be judged quickly.
Preferably, the S1 includes:
s1-1, manufacturing a medicine information data packet, summarizing the attribute information of the medicines, and receiving the medicine number of each node of the block chain, corresponding product rule information and patient medicine demand information;
s1-2, the patient terminal issues a medicine demand, broadcasts the medicine demand through a block chain, and matches the medicine demand information with the medicine information of the medicine database to obtain preliminary matching information of the medicine demand information and preliminary matching information of the medicine database; and carrying out order statistics according to the corresponding patient drug order issuing place and the patient drug order destination issued by the blockchain patient node.
Preferably, the S1 includes:
s1-3, in the process of extracting the preliminary matching information of the medicine demand information and the preliminary matching information of the medicine database, counting and classifying the information that the distance between the information and the medicine order sending place of the patient is smaller than the medicine positioning distance of the block chain medicine database, pushing the block chain to the matching information, positioning the medicine information of the medicine database, pushing the medicine information through the block chain, then carrying out logistics receiving matching, and obtaining and pushing the node positioning information of the medicine information of the corresponding medicine database;
and S1-4, in the process of extracting the preliminary matching information of the drug demand and the preliminary matching information of the drug database, performing region limitation on the positioning of the drug information of the corresponding drug database, and performing drug information recommendation and sorting of the drug database according to the distance from near to far.
Preferably, the S1 includes:
s1-5, after the patient terminal obtains the sequence, positioning and selecting the medicine information in the medicine database, then judging whether the order coordinate information of the patient terminal is positioned, and sending the information to the medicine information positioning node of the medicine database selected by the patient terminal; if the medicine information positioning coordinates of the medicine database are received, extracting preliminary matching information of medicine requirements, performing medicine information block chain broadcasting operation after the medicines are delivered from the warehouse, and performing patient terminal broadcasting on medicine logistics information progress;
s1-6, if the patient terminal does not receive the medicine information positioning coordinates after the medicine is delivered from the warehouse, backtracking the medicine delivery information, if the medicine delivery progress information is not updated, responding a medicine delivery progress updating node, and if any updating node does not feed back the medicine delivery progress information, early warning the updating node; wherein the update node is a logistics distribution node; and if the finally updated information is the positioning position of the patient terminal after the medicine ex-warehouse progress information is updated, pushing the arrival information to the patient terminal and the medicine database.
Preferably, the S2 includes:
s2-1, obtaining a positioning coordinate range for placing an order of the medicine order according to the extracted logistics information or the positioning coordinate of the place where the patient medicine order is sent out and the positioning coordinate of the place where the patient medicine order is received; and comparing and correlating the patient terminal positioning coordinate information of the same type of medicine information in the aggregated logistics information with the corresponding medicine database medicine delivery logistics information and storing the same.
Preferably, the S2 includes:
s2-2, when any patient terminal places an order, traversing the nearest positioning coordinate information set in the drug delivery logistics information of the drug database, and sending the nearest positioning coordinate information set to the patient terminal for selection; the patient terminal extracts the information set of the positioning coordinate and matches the information of which the positioning coordinate of the patient terminal is less than or equal to the set distance; extracting the medicine information in the medicine database for preliminary matching after successful matching, matching the medicine database nodes with the medicine information which is most matched with the logistics information or is fastest in delivery in the medicine information in the medicine database, and detecting whether the logistics information which is not delivered exists or not; if the logistics information which is not finished in distribution exists, pushing the logistics information which is not finished in distribution to a corresponding node of a medicine database, carrying out logistics distribution and uploading the logistics information to a block chain, and if the logistics information which is not finished in distribution does not exist, carrying out new positioning coordinate information collection and collection work;
s2-3, if the patient terminal confirms to receive the medicine for the final logistics distribution node, the logistics information is updated to be in a sign-in state, if the patient terminal confirms that the received medicine is inconsistent with the medicine database warehouse-out medicine in the blockchain, abnormal alarm is carried out, and S1-8 to S1-12 are executed again.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
node data is updated and extracted in real time through medicine information ordered by a patient terminal and medicine database warehouse-out medicine information in a block chain, medicines are distributed to the nearest patient terminal, or medicine information matching is carried out on all medicine databases in a medicine order, an optimal distribution scheme is formed, a quick and convenient information pushing method is provided, medicine order distribution speed is optimized, and logistics transportation cost is saved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
As shown in fig. 1, the invention discloses a block chain medicine logistics traceability checking method, which comprises the following steps:
s1, acquiring the serial numbers of the medicines in the medicine database based on the block chain and corresponding product specification information; the patient terminal broadcasts corresponding medicine requirements through a block chain;
after the medicine number information of the medicine database is recorded, matching with the medicine requirement of a patient terminal, taking the matched information out of a medicine library corresponding to the medicine database, and issuing logistics information in block chain real time;
the patient terminal acquires logistics information in real time, and after receiving the medicine, single number inquiry is carried out through a block chain; acquiring the drug number according to the single number logistics information, and comparing the corresponding product specification information with the product specification information of the sent drug, so as to know the time and the arrival place of the corresponding drug when the drug is taken out of the warehouse;
the S1 includes S1-7 to S1-12:
s1-7, after the medicine arrival information is pushed to the patient terminal, in the preliminary matching information of the medicine information of the patient terminal and the medicine information of the medicine database, traversing and comparing the medicine number and the corresponding product rule information in the medicine information, if the medicine information is not abnormal, confirming the logistics data, if the medicine information is abnormal in the matching process, backtracking the logistics data, searching the logistics distribution node with the abnormal information, and if all the logistics distribution nodes are not abnormal, comparing the medicine information ex-warehouse information.
S1-8, if the patient terminal is at the logistics information starting node or a certain intermediate medicine database node, the medicine number to be tracked is input through the medicine information tracking and tracing patient terminal, and a tracking inquiry request aiming at the medicine number is initiated;
s1-9, in the real-time distribution process of logistics information, extracting medicine ex-warehouse information of a medicine database based on a block chain to obtain updated logistics information, performing coding operation on the logistics information obtained by medicine ex-warehouse of the medicine database on the block chain, marking acquisition time and acquiring an IP address; acquiring time and an IP address to become an identifier checked by a patient terminal, taking the identifier as a medicine information coding parameter, and calling the provided medicine information coding parameter according to the IP address of an information server provided in the identifier checked by the current patient terminal;
s1-10, in the real-time distribution process of logistics information, extracting node types of corresponding medicine database nodes from medicine ex-warehouse information of a medicine database based on a block chain, and adding medicine ex-warehouse information records to the head of a query list; the inquiry list consists of a plurality of binary value pairs, wherein each binary value pair consists of time for acquiring logistics information in a drug database node and an acquired IP address, and the logistics information inquiry list is formed in a stacking mode;
s1-11, in the process of real-time release of logistics information, in the process of extracting medicine ex-warehouse information of a medicine database based on a block chain, taking the logistics information as a keyword popped up and located at the head of a stack, judging whether the query keyword exists in a queried list or not, if the query keyword exists in the queried list and indicates that the query keyword is accessed, ignoring the query keyword, enumerating all the query keywords, and then executing S1-12;
s1-12, in the process of releasing logistics information in real time, in the process of extracting medicine ex-warehouse information of a medicine database based on a block chain, filtering and integrating query keywords, eliminating repeated query keywords according to S1-11, integrating information of the non-query keywords, continuously traversing the query keywords of the integrated information, and eliminating the queried logistics information;
s2, acquiring drug delivery information and single number information of all nodes through a block chain, and accordingly performing expected judgment on drug stock and stock state of corresponding nodes; when the medicine stock and the abnormal state of ex-warehouse occur, the patient terminal obtains the logistics information of the medicine for tracing through the single number information, so that the abnormal state can be judged quickly.
Preferably, the S1 includes:
s1-1, manufacturing a medicine information data packet, summarizing the attribute information of the medicines, and receiving the medicine number of each node of the block chain, corresponding product rule information and patient medicine demand information;
s1-2, the patient terminal issues a medicine demand, broadcasts the medicine demand through a block chain, and matches the medicine demand information with the medicine information of the medicine database to obtain preliminary matching information of the medicine demand information and preliminary matching information of the medicine database; and carrying out order statistics according to the corresponding patient drug order issuing place and the patient drug order destination issued by the blockchain patient node.
Preferably, the S1 includes:
s1-3, in the process of extracting the preliminary matching information of the medicine demand information and the preliminary matching information of the medicine database, counting and classifying the information that the distance between the information and the medicine order sending place of the patient is smaller than the medicine positioning distance of the block chain medicine database, pushing the block chain to the matching information, positioning the medicine information of the medicine database, pushing the medicine information through the block chain, then carrying out logistics receiving matching, and obtaining and pushing the node positioning information of the medicine information of the corresponding medicine database;
and S1-4, in the process of extracting the preliminary matching information of the drug demand and the preliminary matching information of the drug database, performing region limitation on the positioning of the drug information of the corresponding drug database, and performing drug information recommendation and sorting of the drug database according to the distance from near to far.
Preferably, the S1 includes:
s1-5, after the patient terminal obtains the sequence, positioning and selecting the medicine information in the medicine database, then judging whether the order coordinate information of the patient terminal is positioned, and sending the information to the medicine information positioning node of the medicine database selected by the patient terminal; if the medicine information positioning coordinates of the medicine database are received, extracting preliminary matching information of medicine requirements, performing medicine information block chain broadcasting operation after the medicines are delivered from the warehouse, and performing patient terminal broadcasting on medicine logistics information progress;
s1-6, if the patient terminal does not receive the medicine information positioning coordinates after the medicine is delivered from the warehouse, backtracking the medicine delivery information, if the medicine delivery progress information is not updated, responding a medicine delivery progress updating node, and if any updating node does not feed back the medicine delivery progress information, early warning the updating node; wherein the update node is a logistics distribution node; and if the finally updated information is the positioning position of the patient terminal after the medicine ex-warehouse progress information is updated, pushing the arrival information to the patient terminal and the medicine database.
Preferably, the S2 includes:
s2-1, obtaining a positioning coordinate range of the order placement of the medicine order according to the extracted logistics information or the positioning coordinate of the place where the patient medicine order is sent out and the positioning coordinate of the place where the patient medicine order is received; and comparing and correlating the patient terminal positioning coordinate information of the same type of medicine information in the aggregated logistics information with the corresponding medicine database medicine delivery logistics information and storing the same.
Preferably, the S2 includes:
s2-2, when any patient terminal places an order, traversing the nearest positioning coordinate information set in the drug delivery logistics information of the drug database, and sending the nearest positioning coordinate information set to the patient terminal for selection; the patient terminal extracts the information set of the positioning coordinate and matches the information of which the positioning coordinate of the patient terminal is less than or equal to the set distance; extracting the medicine information in the medicine database for preliminary matching after successful matching, matching the medicine database nodes with the medicine information which is most matched with the logistics information or is fastest in delivery in the medicine information in the medicine database, and detecting whether the logistics information which is not delivered exists or not; if the logistics information which is not finished in distribution exists, pushing the logistics information which is not finished in distribution to a corresponding node of a medicine database, carrying out logistics distribution and uploading the logistics information to a block chain, and if the logistics information which is not finished in distribution does not exist, carrying out new positioning coordinate information collection and collection work;
s2-3, if the patient terminal confirms to receive the medicine for the final logistics distribution node, the logistics information is updated to be in a sign-in state, if the patient terminal confirms that the received medicine is inconsistent with the medicine database warehouse-out medicine in the blockchain, abnormal alarm is carried out, and S1-8 to S1-12 are executed again.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Claims (6)
1. A medicine logistics tracing and checking method based on a block chain is characterized by comprising the following steps:
s1, acquiring the serial numbers of the medicines in the medicine database based on the block chain and corresponding product specification information; the patient terminal broadcasts corresponding medicine requirements through a block chain;
after the medicine number information of the medicine database is recorded, matching with the medicine requirement of a patient terminal, taking the matched information out of a medicine library corresponding to the medicine database, and issuing logistics information in block chain real time;
the patient terminal acquires logistics information in real time, and after receiving the medicine, single number inquiry is carried out through a block chain; acquiring the drug number according to the single number logistics information, and comparing the corresponding product specification information with the product specification information of the sent drug, so as to know the time and the arrival place of the corresponding drug when the drug is taken out of the warehouse;
the S1 includes S1-7 to S1-12:
s1-7, after the medicine arrival information is pushed to the patient terminal, in the preliminary matching information of the medicine information of the patient terminal and the medicine information of the medicine database, traversing and comparing the medicine number and the corresponding product rule information in the medicine information, if the medicine information is not abnormal, confirming the logistics data, if the medicine information is abnormal in the matching process, backtracking the logistics data, searching the logistics distribution node with abnormal information, and if all the logistics distribution nodes are not abnormal, comparing the medicine information ex-warehouse information;
s1-8, if the patient terminal is at the logistics information starting node or a certain intermediate medicine database node, the medicine number to be tracked is input through the medicine information tracking and tracing patient terminal, and a tracking inquiry request aiming at the medicine number is initiated;
s1-9, in the real-time distribution process of logistics information, extracting medicine ex-warehouse information of a medicine database based on a block chain to obtain updated logistics information, performing coding operation on the logistics information obtained by medicine ex-warehouse of the medicine database on the block chain, marking acquisition time and acquiring an IP address; acquiring time and an IP address to become an identifier checked by a patient terminal, taking the identifier as a medicine information coding parameter, and calling the provided medicine information coding parameter according to the IP address of an information server provided in the identifier checked by the current patient terminal;
s1-10, in the real-time distribution process of logistics information, extracting node types of corresponding medicine database nodes from medicine ex-warehouse information of a medicine database based on a block chain, and adding medicine ex-warehouse information records to the head of a query list; the inquiry list consists of a plurality of binary value pairs, wherein each binary value pair consists of time for acquiring logistics information in a drug database node and an acquired IP address, and the logistics information inquiry list is formed in a stacking mode;
s1-11, in the process of real-time release of logistics information, in the process of extracting medicine ex-warehouse information of a medicine database based on a block chain, taking the logistics information as a keyword popped up and located at the head of a stack, judging whether the query keyword exists in a queried list or not, if the query keyword exists in the queried list and indicates that the query keyword is accessed, ignoring the query keyword, enumerating all the query keywords, and then executing S1-12;
s1-12, in the process of releasing logistics information in real time, in the process of extracting medicine ex-warehouse information of a medicine database based on a block chain, filtering and integrating query keywords, eliminating repeated query keywords according to S1-11, integrating information of the non-query keywords, continuously traversing the query keywords of the integrated information, and eliminating the queried logistics information;
s2, acquiring drug delivery information and single number information of all nodes through a block chain, and accordingly performing expected judgment on drug stock and stock state of corresponding nodes; when the medicine stock and the abnormal state of ex-warehouse occur, the patient terminal obtains the logistics information of the medicine for tracing through the single number information, so that the abnormal state can be judged quickly.
2. The method for retrospective checking of pharmaceutical logistics based on blockchain according to claim 1, wherein the S1 includes:
s1-1, manufacturing a medicine information data packet, summarizing the attribute information of the medicines, and receiving the medicine number of each node of the block chain, corresponding product rule information and patient medicine demand information;
s1-2, the patient terminal issues a medicine demand, broadcasts the medicine demand through a block chain, and matches the medicine demand information with the medicine information of the medicine database to obtain preliminary matching information of the medicine demand information and preliminary matching information of the medicine database; and carrying out order statistics according to the corresponding patient drug order issuing place and the patient drug order destination issued by the blockchain patient node.
3. The method for block chain-based drug logistics traceability checking of claim 2, wherein the S1 comprises:
s1-3, in the process of extracting the preliminary matching information of the medicine demand information and the preliminary matching information of the medicine database, counting and classifying the information that the distance between the information and the medicine order sending place of the patient is smaller than the medicine positioning distance of the block chain medicine database, pushing the block chain to the matching information, positioning the medicine information of the medicine database, pushing the medicine information through the block chain, then carrying out logistics receiving matching, and obtaining and pushing the node positioning information of the medicine information of the corresponding medicine database;
and S1-4, in the process of extracting the preliminary matching information of the drug demand and the preliminary matching information of the drug database, performing region limitation on the positioning of the drug information of the corresponding drug database, and performing drug information recommendation and sorting of the drug database according to the distance from near to far.
4. The method for retrospective checking of pharmaceutical logistics based on blockchain according to claim 1, wherein the S1 includes:
s1-5, after the patient terminal obtains the sequence, positioning and selecting the medicine information in the medicine database, then judging whether the order coordinate information of the patient terminal is positioned, and sending the information to the medicine information positioning node of the medicine database selected by the patient terminal; if the medicine information positioning coordinates of the medicine database are received, extracting preliminary matching information of medicine requirements, performing medicine information block chain broadcasting operation after the medicines are delivered from the warehouse, and performing patient terminal broadcasting on medicine logistics information progress;
s1-6, if the patient terminal does not receive the medicine information positioning coordinates after the medicine is delivered from the warehouse, backtracking the medicine delivery information, if the medicine delivery progress information is not updated, responding a medicine delivery progress updating node, and if any updating node does not feed back the medicine delivery progress information, early warning the updating node; wherein the update node is a logistics distribution node; and if the finally updated information is the positioning position of the patient terminal after the medicine ex-warehouse progress information is updated, pushing the arrival information to the patient terminal and the medicine database.
5. The method for retrospective checking of pharmaceutical logistics based on blockchain according to claim 1, wherein the S2 includes:
s2-1, obtaining a positioning coordinate range for placing an order of the medicine order according to the extracted logistics information or the positioning coordinate of the place where the patient medicine order is sent out and the positioning coordinate of the place where the patient medicine order is received; and comparing and correlating the patient terminal positioning coordinate information of the same type of medicine information in the aggregated logistics information with the corresponding medicine database medicine delivery logistics information and storing the same.
6. The method for block chain-based drug logistics traceability checking of claim 5, wherein the step S2 comprises:
s2-2, when any patient terminal places an order, traversing the nearest positioning coordinate information set in the drug delivery logistics information of the drug database, and sending the nearest positioning coordinate information set to the patient terminal for selection; the patient terminal extracts the information set of the positioning coordinate and matches the information of which the positioning coordinate of the patient terminal is less than or equal to the set distance; extracting the medicine information in the medicine database for preliminary matching after successful matching, matching the medicine database nodes with the medicine information which is most matched or has the fastest delivery in the logistics information in the medicine database, and detecting whether the logistics information which is not delivered exists; if the logistics information which is not finished in distribution exists, pushing the logistics information which is not finished in distribution to a corresponding node of a medicine database, carrying out logistics distribution and uploading the logistics information to a block chain, and if the logistics information which is not finished in distribution does not exist, carrying out new positioning coordinate information collection and collection work;
s2-3, if the patient terminal confirms to receive the medicine for the final logistics distribution node, the logistics information is updated to be in a sign-in state, if the patient terminal confirms that the received medicine is inconsistent with the medicine database warehouse-out medicine in the blockchain, abnormal alarm is carried out, and S1-8 to S1-12 are executed again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910952157.7A CN110705940B (en) | 2019-10-09 | 2019-10-09 | Medicine logistics tracing and checking method based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910952157.7A CN110705940B (en) | 2019-10-09 | 2019-10-09 | Medicine logistics tracing and checking method based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110705940A CN110705940A (en) | 2020-01-17 |
CN110705940B true CN110705940B (en) | 2022-05-13 |
Family
ID=69199099
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910952157.7A Active CN110705940B (en) | 2019-10-09 | 2019-10-09 | Medicine logistics tracing and checking method based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110705940B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111613290B (en) * | 2020-05-26 | 2024-01-23 | 牛津(海南)区块链研究院有限公司 | Medical information management system based on block chain |
CN112420155B (en) * | 2020-12-10 | 2023-11-17 | 商丘医学高等专科学校 | Nursing medicine purchasing method and system |
CN113762707B (en) * | 2021-06-30 | 2022-08-16 | 布洛克(北京)数据科技有限公司 | Cargo tracking method and system based on block chain |
CN115049318B (en) * | 2022-08-12 | 2022-11-15 | 南京中卫信软件科技股份有限公司 | Medicine allocation management method and system based on cooperative allocation among areas |
CN115965447B (en) * | 2023-03-16 | 2023-06-06 | 杭州康晟健康管理咨询有限公司 | Medicine position management method and system for intelligent pharmacy |
CN116562714B (en) * | 2023-07-07 | 2023-12-08 | 南通汤姆瑞斯工业智能科技有限公司 | Workpiece information tracing system and method applied to machining |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105046470A (en) * | 2015-07-10 | 2015-11-11 | 湖北九州通达科技开发有限公司 | Cold chain tracing management method and system |
CN105868944A (en) * | 2015-01-22 | 2016-08-17 | 北京智博高科生物技术有限公司 | Radiopharmaceutical management Internet-of-Things system |
CN106779557A (en) * | 2016-12-14 | 2017-05-31 | 贝朗科技(武汉)有限公司 | A kind of intercity delivery system of logistics |
CN109461484A (en) * | 2018-11-12 | 2019-03-12 | 上海观谷科技有限公司 | Medicine management system and method |
CN109559792A (en) * | 2018-10-27 | 2019-04-02 | 平安医疗健康管理股份有限公司 | A kind of drug allots method, block chain node device and system |
CN109872808A (en) * | 2019-02-22 | 2019-06-11 | 泰康保险集团股份有限公司 | Medical services processing method, system, electronic equipment and computer-readable medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2010100285A4 (en) * | 2010-03-30 | 2010-06-03 | Indoor Holdings Pty Ltd | A System and Method for Patients to order Repeat Prescription Medication from a Pharmacy |
US20190012666A1 (en) * | 2016-09-30 | 2019-01-10 | Cable Television Laboratories, Inc | Systems and methods for protecting communications and supply chain information |
CN107835182B (en) * | 2017-11-16 | 2020-02-21 | 重庆忠昇数据处理服务有限公司 | Electronic prescription system based on block chain and processing method |
CN108846603A (en) * | 2018-05-31 | 2018-11-20 | 深圳市零度智控科技有限公司 | Logistics retroactive method, user equipment, storage medium and device based on block chain |
CN109547214B (en) * | 2018-12-26 | 2022-10-11 | 成都健数科技有限公司 | Medicine information acquisition and tracking method |
-
2019
- 2019-10-09 CN CN201910952157.7A patent/CN110705940B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105868944A (en) * | 2015-01-22 | 2016-08-17 | 北京智博高科生物技术有限公司 | Radiopharmaceutical management Internet-of-Things system |
CN105046470A (en) * | 2015-07-10 | 2015-11-11 | 湖北九州通达科技开发有限公司 | Cold chain tracing management method and system |
CN106779557A (en) * | 2016-12-14 | 2017-05-31 | 贝朗科技(武汉)有限公司 | A kind of intercity delivery system of logistics |
CN109559792A (en) * | 2018-10-27 | 2019-04-02 | 平安医疗健康管理股份有限公司 | A kind of drug allots method, block chain node device and system |
CN109461484A (en) * | 2018-11-12 | 2019-03-12 | 上海观谷科技有限公司 | Medicine management system and method |
CN109872808A (en) * | 2019-02-22 | 2019-06-11 | 泰康保险集团股份有限公司 | Medical services processing method, system, electronic equipment and computer-readable medium |
Non-Patent Citations (3)
Title |
---|
Yan Huang ; Jing Wu ; Chengnian Long.Drugledger: A Practical Blockchain System for Drug Traceability and Regulation.《2018 IEEE International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData)》.2019, * |
区块链技术在医药冷链物流领域的应用设计;王思静;《价值工程》;20190128;第76-78页 * |
基于区块链技术的中药溯源体系研究;肖丽等;《时珍国医国药》;20171120(第11期);第2762-2764页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110705940A (en) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110705940B (en) | Medicine logistics tracing and checking method based on block chain | |
CN110263105B (en) | Query processing method, query processing system, server, and computer-readable medium | |
CN107273506B (en) | Method for multi-table combined query of database | |
CN111459985B (en) | Identification information processing method and device | |
US7979530B1 (en) | Inventory life cycle management for a computer network | |
CN102999526B (en) | A kind of fractionation of database relational table, querying method and system | |
CN103607463B (en) | Location data-storage system and storage method | |
US11422541B2 (en) | Production management method and system | |
CN105683956A (en) | Densely grouping dimensional data | |
CN103049521B (en) | Virtual table directory system and the method for many attributes multiple condition searching can be realized | |
CN104657387B (en) | A kind of data query method and device | |
CN111078512B (en) | Alarm record generation method and device, alarm equipment and storage medium | |
CN108764350A (en) | Target identification method, device and electronic equipment | |
TWI453608B (en) | System and method for managing a large number of multiple data | |
CN107180081A (en) | The call method and device of massive relation type database | |
WO2020057275A1 (en) | Trajectory determination method and apparatus, and time recommendation method, apparatus and system | |
US20030154214A1 (en) | Automatic storage and retrieval system and method for operating the same | |
US8463763B2 (en) | Method and tool for searching in several data sources for a selected community of users | |
CN112633686A (en) | Medical system labor dispatch management system and working method thereof | |
CN112699160B (en) | Metadata template upgrading method and device and readable storage medium | |
CN111598506A (en) | Inventory management system | |
CN112948531B (en) | Massive track query method, retrieval server and system | |
CN112860680A (en) | Data processing method and system, and data query method and system | |
CN106126699A (en) | A kind of feature clue querying method based on data collision and system | |
CN110287244A (en) | It is a kind of based on the traffic lights localization method repeatedly clustered |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |