CN110705940A - Medicine logistics tracing and checking method based on block chain - Google Patents

Medicine logistics tracing and checking method based on block chain Download PDF

Info

Publication number
CN110705940A
CN110705940A CN201910952157.7A CN201910952157A CN110705940A CN 110705940 A CN110705940 A CN 110705940A CN 201910952157 A CN201910952157 A CN 201910952157A CN 110705940 A CN110705940 A CN 110705940A
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.)
Granted
Application number
CN201910952157.7A
Other languages
Chinese (zh)
Other versions
CN110705940B (en
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.)
Chongqing Huayi Kangdao Technology Co ltd
Original Assignee
Chongqing Huayi Kangdao Technology 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 Chongqing Huayi Kangdao Technology Co ltd filed Critical Chongqing Huayi Kangdao Technology Co ltd
Priority to CN201910952157.7A priority Critical patent/CN110705940B/en
Publication of CN110705940A publication Critical patent/CN110705940A/en
Application granted granted Critical
Publication of CN110705940B publication Critical patent/CN110705940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0833Tracking
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT 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

Medicine logistics tracing and checking method based on block chain
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 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; acquiring the drug number and the corresponding product specification information and the product specification information of the sent drug according to the single number logistics information, thereby knowing the time and the arrival place of the corresponding drug for leaving the warehouse;
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.
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 which is sent out by a patient medicine order and is smaller than the medicine positioning distance of the block chain medicine database, pushing the matching information by the block chain, positioning the medicine information of the medicine database, pushing the medicine information by 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 step of extracting the preliminary matching information of the medicine requirement and the preliminary matching information of the medicine database, carrying out region limitation on the positioning of the medicine information of the corresponding medicine database, and carrying out medicine information recommendation and sorting of the medicine database according to the distance from near to far.
Preferably, the S2 includes:
s2-1, the patient terminal obtains the sequence and then carries out positioning selection of medicine information in the medicine database, then judges whether the order coordinate information of the patient terminal is positioned or not, and sends 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;
s2-2, if the patient terminal does not receive the medicine ex-warehouse and then carries out the medicine information coordinate, backtrack the medicine ex-warehouse information, if the medicine ex-warehouse progress information is not updated, carry out the medicine ex-warehouse progress updating node response, if any updating node does not feed back the medicine ex-warehouse progress information, carry out early warning on the updating node; the updating 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-3, 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.
Preferably, the S3 includes:
s3-1, if the patient terminal sends out the inquiry drug information, the drug number to be tracked is input at the logistics information starting node or a certain intermediate drug database node through the drug information tracking and tracing patient terminal, and a tracking inquiry request aiming at the drug number is initiated;
s3-2, extracting the drug delivery information of the drug database on the blockchain in the real-time distribution process of the logistics information so as to obtain updated logistics information, coding the logistics information obtained by delivering the drugs of the drug database on the blockchain, marking the obtaining time and obtaining the IP address; and acquiring time and an IP address to become an identifier viewed by the patient terminal as a medicine information coding parameter, and calling the provided medicine information coding parameter according to the IP address of the information server provided in the identifier viewed by the current patient terminal.
Preferably, the S3 includes:
s3-3, extracting node types of corresponding medicine database nodes from medicine database delivery information records in the block chain in the real-time logistics information issuing process, and adding the medicine delivery information records to the head of the query list; the inquiry list consists of a plurality of binary value pairs, wherein each binary value pair consists of a medicine database node for acquiring logistics information, acquiring time and an IP address for acquiring the logistics information, and the logistics information inquiry list is formed in a stacking mode;
s3-4, in the process of extracting medicine database medicine out-of-warehouse information of a block chain in the real-time distribution process of logistics information, 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 S3-5;
s3-5, in the process of extracting medicine out-of-warehouse information of the medicine database on the block chain in the real-time release process of the logistics information, filtering and integrating the query keywords, eliminating repeated query keywords according to S3-4, integrating information of the non-query keywords, continuously traversing the query keywords of the integrated information, and eliminating the queried logistics information.
Preferably, the S4 includes:
s4-1, obtaining a positioning coordinate range for placing a medicine order when the logistics information or the position where the patient medicine order is sent out and the position where the patient medicine order is received are extracted; and comparing and correlating the positioning coordinate information of the patient terminals with the same type of medicine information in the aggregated logistics information with the corresponding medicine delivery logistics information of the medicine database, and storing the information.
Preferably, the S4 includes:
s4-2, when any patient terminal places an order, traversing the nearest positioning coordinate information set in the medicine delivery logistics information of the medicine 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;
s4-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 block chain, abnormal alarm is carried out, and S3-1 to S3-5 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 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; acquiring the drug number and the corresponding product specification information and the product specification information of the sent drug according to the single number logistics information, thereby knowing the time and the arrival place of the corresponding drug for leaving the warehouse;
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.
The S1 includes:
s1-1, making a medicine information data packet, summarizing the attribute information of the medicines, receiving the medicine number and corresponding product rule information of each node of the block chain and the medicine requirement information of the patient, wherein the medicine number and corresponding product rule information comprise medicine warehousing time information, medicine ex-warehousing time information, medicine components, medicine quality guarantee period and medicine weight information, and the medicine requirement information of the patient comprises: a patient drug order place, a patient drug order receiving place, a patient drug purchase list, a patient drug consumption cycle, etc.;
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; carrying out order statistics according to a corresponding patient medicine order issuing place and a patient medicine order destination issued by the blockchain patient node;
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 which is sent out by a patient medicine order and is smaller than the medicine positioning distance of the block chain medicine database, pushing the matching information by the block chain, positioning the medicine information of the medicine database, pushing the medicine information by 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 step of extracting the preliminary matching information of the medicine requirement and the preliminary matching information of the medicine database, carrying out region limitation on the positioning of the medicine information of the corresponding medicine database, and carrying out medicine information recommendation and sorting of the medicine database according to the distance from near to far.
The S2 includes:
s2-1, the patient terminal obtains the sequence and then carries out positioning selection of medicine information in the medicine database, then judges whether the order coordinate information of the patient terminal is positioned or not, and sends 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;
s2-2, if the patient terminal does not receive the medicine ex-warehouse and then carries out the medicine information coordinate, backtrack the medicine ex-warehouse information, if the medicine ex-warehouse progress information is not updated, carry out the medicine ex-warehouse progress updating node response, if any updating node does not feed back the medicine ex-warehouse progress information, carry out early warning on the updating node; the updating node is a logistics distribution node; 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;
s2-3, 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;
the S3 includes:
s3-1, if the patient terminal sends out the inquiry drug information, the drug number to be tracked is input at the logistics information starting node or a certain intermediate drug database node through the drug information tracking and tracing patient terminal, and a tracking inquiry request aiming at the drug number is initiated;
s3-2, extracting the drug delivery information of the drug database on the blockchain in the real-time distribution process of the logistics information so as to obtain updated logistics information, coding the logistics information obtained by delivering the drugs of the drug database on the blockchain, marking the obtaining time and obtaining the IP address; the acquisition time and the acquisition IP address become the identifier viewed by the patient terminal as the medicine information coding parameter, the provided medicine information coding parameter is called according to the IP address of the information server provided in the identifier viewed by the current patient terminal,
s3-3, extracting node types of corresponding medicine database nodes from medicine database delivery information records in the block chain in the real-time logistics information issuing process, and adding the medicine delivery information records to the head of the query list; the inquiry list consists of a plurality of binary value pairs, wherein each binary value pair consists of a medicine database node for acquiring logistics information, acquiring time and an IP address for acquiring the logistics information, and the logistics information inquiry list is formed in a stacking mode;
s3-4, in the process of extracting medicine database medicine out-of-warehouse information of a block chain in the real-time distribution process of logistics information, 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 S3-5;
s3-5, in the process of extracting medicine out-of-warehouse information of the medicine database on the block chain in the real-time release process of the logistics information, filtering and integrating query keywords, eliminating repeated query keywords according to S3-4, integrating information of non-query keywords, continuously traversing the query keywords of the integrated information, and eliminating the queried logistics information;
the S4 includes:
s4-1, obtaining a positioning coordinate range for placing a medicine order when the logistics information or the position where the patient medicine order is sent out and the position where the patient medicine order is received are extracted; comparing and correlating the positioning coordinate information of the patient terminals with the same type of medicine information in the aggregated logistics information with the corresponding medicine delivery logistics information of the medicine database and storing the information;
s4-2, when any patient terminal places an order, traversing the nearest positioning coordinate information set in the medicine delivery logistics information of the medicine 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;
s4-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 block chain, abnormal alarm is carried out, and S3-1 to S3-5 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 (9)

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 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; acquiring the drug number and the corresponding product specification information and the product specification information of the sent drug according to the single number logistics information, thereby knowing the time and the arrival place of the corresponding drug for leaving the warehouse;
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.
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 which is sent out by a patient medicine order and is smaller than the medicine positioning distance of the block chain medicine database, pushing the matching information by the block chain, positioning the medicine information of the medicine database, pushing the medicine information by 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 step of extracting the preliminary matching information of the medicine requirement and the preliminary matching information of the medicine database, carrying out region limitation on the positioning of the medicine information of the corresponding medicine database, and carrying out medicine information recommendation and sorting of the medicine 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 S2 includes:
s2-1, the patient terminal obtains the sequence and then carries out positioning selection of medicine information in the medicine database, then judges whether the order coordinate information of the patient terminal is positioned or not, and sends 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;
s2-2, if the patient terminal does not receive the medicine ex-warehouse and then carries out the medicine information coordinate, backtrack the medicine ex-warehouse information, if the medicine ex-warehouse progress information is not updated, carry out the medicine ex-warehouse progress updating node response, if any updating node does not feed back the medicine ex-warehouse progress information, carry out early warning on the updating node; the updating 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 block chain-based drug logistics traceability checking of claim 3, wherein the step S2 comprises:
s2-3, 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.
6. The method for retrospective checking of pharmaceutical logistics based on blockchain according to claim 1, wherein the S3 includes:
s3-1, if the patient terminal sends out the inquiry drug information, the drug number to be tracked is input at the logistics information starting node or a certain intermediate drug database node through the drug information tracking and tracing patient terminal, and a tracking inquiry request aiming at the drug number is initiated;
s3-2, extracting the drug delivery information of the drug database on the blockchain in the real-time distribution process of the logistics information so as to obtain updated logistics information, coding the logistics information obtained by delivering the drugs of the drug database on the blockchain, marking the obtaining time and obtaining the IP address; and acquiring time and an IP address to become an identifier viewed by the patient terminal as a medicine information coding parameter, and calling the provided medicine information coding parameter according to the IP address of the information server provided in the identifier viewed by the current patient terminal.
7. The method for block chain-based drug logistics traceability checking of claim 6, wherein the step S3 comprises:
s3-3, extracting node types of corresponding medicine database nodes from medicine database delivery information records in the block chain in the real-time logistics information issuing process, and adding the medicine delivery information records to the head of the query list; the inquiry list consists of a plurality of binary value pairs, wherein each binary value pair consists of a medicine database node for acquiring logistics information, acquiring time and an IP address for acquiring the logistics information, and the logistics information inquiry list is formed in a stacking mode;
s3-4, in the process of extracting medicine database medicine out-of-warehouse information of a block chain in the real-time distribution process of logistics information, 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 S3-5;
s3-5, in the process of extracting medicine out-of-warehouse information of the medicine database on the block chain in the real-time release process of the logistics information, filtering and integrating the query keywords, eliminating repeated query keywords according to S3-4, integrating information of the non-query keywords, continuously traversing the query keywords of the integrated information, and eliminating the queried logistics information.
8. The method for block chain-based drug logistics traceability checking of claim 7, wherein the S4 comprises:
s4-1, obtaining a positioning coordinate range for placing a medicine order when the logistics information or the position where the patient medicine order is sent out and the position where the patient medicine order is received are extracted; and comparing and correlating the positioning coordinate information of the patient terminals with the same type of medicine information in the aggregated logistics information with the corresponding medicine delivery logistics information of the medicine database, and storing the information.
9. The method for block chain-based drug logistics traceability checking of claim 8, wherein the S4 comprises:
s4-2, when any patient terminal places an order, traversing the nearest positioning coordinate information set in the medicine delivery logistics information of the medicine 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;
s4-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 block chain, abnormal alarm is carried out, and S3-1 to S3-5 are executed again.
CN201910952157.7A 2019-10-09 2019-10-09 Medicine logistics tracing and checking method based on block chain Active CN110705940B (en)

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 true CN110705940A (en) 2020-01-17
CN110705940B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111613290A (en) * 2020-05-26 2020-09-01 牛津(海南)区块链研究院有限公司 Medical information management system based on block chain
CN112420155A (en) * 2020-12-10 2021-02-26 商丘医学高等专科学校 Nursing medicine purchasing method and system
CN113762707A (en) * 2021-06-30 2021-12-07 德明尚品科技集团有限公司 Cargo tracking method and system based on block chain
CN115049318A (en) * 2022-08-12 2022-09-13 南京中卫信软件科技股份有限公司 Medicine allocation management method and system based on cooperative allocation among areas
CN115965447A (en) * 2023-03-16 2023-04-14 杭州康晟健康管理咨询有限公司 Intelligent pharmacy position management method and system
CN116562714A (en) * 2023-07-07 2023-08-08 南通汤姆瑞斯工业智能科技有限公司 Workpiece information tracing system and method applied to machining

Citations (11)

* Cited by examiner, † Cited by third party
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
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 贝朗科技(武汉)有限公司 Logistics intercity distribution system
CN107835182A (en) * 2017-11-16 2018-03-23 重庆忠昇数据处理服务有限公司 Electronic Prescription System and processing method based on block chain
CN108846603A (en) * 2018-05-31 2018-11-20 深圳市零度智控科技有限公司 Logistics retroactive method, user equipment, storage medium and device based on block chain
US20190012666A1 (en) * 2016-09-30 2019-01-10 Cable Television Laboratories, Inc Systems and methods for protecting communications and supply chain information
CN109461484A (en) * 2018-11-12 2019-03-12 上海观谷科技有限公司 Medicine management system and method
CN109547214A (en) * 2018-12-26 2019-03-29 成都健数科技有限公司 A kind of drug information acquisition method for tracing
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

Patent Citations (11)

* Cited by examiner, † Cited by third party
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
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
US20190012666A1 (en) * 2016-09-30 2019-01-10 Cable Television Laboratories, Inc Systems and methods for protecting communications and supply chain information
CN106779557A (en) * 2016-12-14 2017-05-31 贝朗科技(武汉)有限公司 Logistics intercity distribution system
CN107835182A (en) * 2017-11-16 2018-03-23 重庆忠昇数据处理服务有限公司 Electronic Prescription System and processing method based on block chain
CN108846603A (en) * 2018-05-31 2018-11-20 深圳市零度智控科技有限公司 Logistics retroactive method, user equipment, storage medium and device based on block chain
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
CN109547214A (en) * 2018-12-26 2019-03-29 成都健数科技有限公司 A kind of drug information acquisition method for tracing
CN109872808A (en) * 2019-02-22 2019-06-11 泰康保险集团股份有限公司 Medical services processing method, system, electronic equipment and computer-readable medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
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)》 *
李敏波等: "射频识别在物品跟踪与追溯系统中的应用", 《计算机集成制造系统》 *
王思静: "区块链技术在医药冷链物流领域的应用设计", 《价值工程》 *
肖丽等: "基于区块链技术的中药溯源体系研究", 《时珍国医国药》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111613290A (en) * 2020-05-26 2020-09-01 牛津(海南)区块链研究院有限公司 Medical information management system based on block chain
CN111613290B (en) * 2020-05-26 2024-01-23 牛津(海南)区块链研究院有限公司 Medical information management system based on block chain
CN112420155A (en) * 2020-12-10 2021-02-26 商丘医学高等专科学校 Nursing medicine purchasing method and system
CN113762707A (en) * 2021-06-30 2021-12-07 德明尚品科技集团有限公司 Cargo tracking method and system based on block chain
CN113762707B (en) * 2021-06-30 2022-08-16 布洛克(北京)数据科技有限公司 Cargo tracking method and system based on block chain
CN115049318A (en) * 2022-08-12 2022-09-13 南京中卫信软件科技股份有限公司 Medicine allocation management method and system based on cooperative allocation among areas
CN115049318B (en) * 2022-08-12 2022-11-15 南京中卫信软件科技股份有限公司 Medicine allocation management method and system based on cooperative allocation among areas
CN115965447A (en) * 2023-03-16 2023-04-14 杭州康晟健康管理咨询有限公司 Intelligent pharmacy position management method and system
CN115965447B (en) * 2023-03-16 2023-06-06 杭州康晟健康管理咨询有限公司 Medicine position management method and system for intelligent pharmacy
CN116562714A (en) * 2023-07-07 2023-08-08 南通汤姆瑞斯工业智能科技有限公司 Workpiece information tracing system and method applied to machining
CN116562714B (en) * 2023-07-07 2023-12-08 南通汤姆瑞斯工业智能科技有限公司 Workpiece information tracing system and method applied to machining

Also Published As

Publication number Publication date
CN110705940B (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN110705940A (en) Medicine logistics tracing and checking method based on block chain
CN107273506B (en) Method for multi-table combined query of database
US9767427B2 (en) Modeling multi-dimensional sequence data over streams
CN104885077B (en) Utilize the relation management continuous-query of filing
CN103607463B (en) Location data-storage system and storage method
US20090182767A1 (en) Storing and retrieving objects on a computer network in a distributed database
CN111460023A (en) Service data processing method, device, equipment and storage medium based on elastic search
CN110543477B (en) Label construction system and method
CN104063376A (en) Multi-dimensional grouping operation method and system
CN110837520A (en) Data processing method, platform and system
CN107180081A (en) The call method and device of massive relation type database
CN112181993A (en) Service data query method, device, server and storage medium
WO2020057275A1 (en) Trajectory determination method and apparatus, and time recommendation method, apparatus and system
CN111078512B (en) Alarm record generation method and device, alarm equipment and storage medium
CN111460240B (en) Cross-region multi-activity micro-service architecture page turning data query method and device
CN108764350A (en) Target identification method, device and electronic equipment
CN107491463B (en) Optimization method and system for data query
CN110148032A (en) Products Show method, apparatus, storage medium and server based on geographical location
CN106095659A (en) The method for real-time monitoring of a kind of destructuring event log data and device
CN104933136A (en) Dynamic car-pooling method and system based on automatic number plate recognition data
CN109299307B (en) Trademark retrieval early warning method and device based on structural analysis
CN107291938A (en) Order Query System and method
CN107085603B (en) Data processing method and device
CN112347099A (en) Data processing method and device, computing equipment and computer readable storage medium
CN115729965A (en) Information stream processing method, device, stream server and storage medium

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