Counterfeit Drug Detection System With Multi-Layered Check and SCM Using Blockchain
Counterfeit Drug Detection System With Multi-Layered Check and SCM Using Blockchain
Abstract—10% of drugs in the world are counterfeits placing it in a safe and secured database that can also be
and 200 billion dollars are wasted on counterfeits. These called a distributed ledger in blockchain technology.
counterfeit drugs not only contain toxic doses but also cause
poisoning that leads to death. Using these drugs, not only II. OBJECT IVES
reduces the treatment of contagious health problems but also The main objective of this project is to make people
increases disease progression that leads to fatal. This project
aware of the medicines that they are consuming. To help
produces accurate results about counterfeit drugs and the
usage of drugs if it is not counterfeit. Using Optical Character
them in one way or the other by distinguishing which
Recognition (OCR) check of medicine, the check requires the medicine is safe and which is not. To be the medium
minute details and then determines whether the medicine sold between the good pharmaceutical companies and also for
is genuine or not. S o, they can get the percentage of how the people. A small step to make sure the people are given
genuine the drugs are. By doing this project, one could help the right medicines. To have safe drugs, this project is
people by making them aware of a counterfeit drug that the y providing security for the pharmaceutical companies to
have purchased. produce correct drugs.
Keywords—Ocr, Counterfeits, Blockchain, Power Apps, III. LIT ERAT URE REVIEW
Azure, Multilayer check,Supply Chain Management(SCM). This project has been developed by reviewing these
literatures.
I. INT RODUCT ION
Hanqing Wu, Jiannong Cao, Yanni Yang∗, Cheung Leong
In the world, everyone uses drugs in some or another Tung, Shan Jiang, Bin Tang, Yang Liu, Xiaoqing Wang,
way. One takes medicines for treating diseases and other Yuming Deng[3] provided the insight of opportunities to
infections. Medicines play a vital role in our lives and could
apply blockchain in supply chain management.
become fatal to death. It is a point to consider that
Summarized and discussed four crucial technical challenges
medicines are very important. If these are fake, that is made
in terms of scalability, throughput, access control, data
up of different compounds that may lead to toxicity. These
are called counterfeit drugs that are made to produce and retrieval. Finally designed a food tracing system based on
bring to society. By using these drugs, people not only fall permissioned blockchain for the food supply chain scenario.
sick, but the health problem will become worse. It is an idea
to make a UI that can be made into either a website or an Khizar Abbas,Muhammad Afaq[1] explained about the
app for further changes. This makes people be aware of the revolutionary technology that is blockchain and how can the
medicines by just uploading the tablet sheet image. So, machine models like N-gram and LightGB implemented on
using OCR, one can extract the tablet name and can check datasets and the security that can be obtained by the
further whether a drug is safe or not and with the help of implementation of DSCMR system to distibuted ledger that
blockchain technology and can secure the medicines data. It causes security, confidentiality.
is important because it reduces the burden on the user to
know whether it is genuine or not through a website or an
app that has been developed. It is user-friendly and the other Randhir Kumar[2] explained to overcome the attacks such
feature is it not only gives information genuine or not it as replay, man-in-the-middle they have proposed a
gives the medicine usage to the user. In recent, emerging framework that is based on PKI and digital signature which
technologies, blockchain is one such technology that can prevent attacks and which will provide drug safety as
becomes revolutionary making each and every part to be well as authenticity of manufacture.
secured and maintain confidentiality. So, the medicines that
get manufactured from the products, get transpo rted, H. Yang and B. Yang[4] discussed each and every term that
distributed to retailers and finally reach the customers. Each is used in blockchain to have detailed knowledge for
and every step can be maintained and kept secured by implementation. The blockchain technology is implemented
Asad Ali Siyal[12] discussed that the blockchain-based Fig. 1. Architecture Diagram
healthcare framework will engage individuals more in their Application: As shown in Fig 1, it allows not only to
healthcare, which will ultimately improve the quality of life know about the genuine tablet but also can view the product
in a more befitting manner. which they selected after that they order the product which
they want and after that they will make payment to that
The proposed system is a combination of two, a supply ordered product in the application.
chain management system us ing blockchain with which the
user could find out whether a tablet is genuine or Algorithm 1 Algorithm for the proposed system
counterfeit.
if ¡function(checkprivilege)==true¿ then
IV. PROPOSED M ET HODS IN CONT INUOUS check timestamp ←
DEVELOPMENT
This project introduces two approaches to eliminate and for each affected person and medical doctor
fight counterfeit drugs to a maximum possible extent. One
method is a user-centric approach, which could help people function(retrieveaddress) ←
in identification of a counterfeit drug just by uploading the
image of the tablet sheet. Internally, this method performs a retrieve address(record)
multi-layer check involving an OCR check of the tablet
sheet image, location-based check, comparison with the else¡ Abort the session¿
existing blueprint image of the tablet sheet and finally
end if
giving an authenticity score to the user, which could tell the
percentage authentic a tablet is. But as this method couldn’t
Retrieve data:
address the whole problem of dealing with counterfeit
drugs. This contains some added features to our proposed if ¡function(agreement)==true¿ then
system which is moreover helpful for the companies for
being transparent with the drugs they are manufacturing; it retrieve data ← from the address(record)
also facilitates the company in dealing with their
counterfeits which are affecting their drug market and it return(patientdata) ← to the precise requestID(affected
indirectly facilitates the users to identify whether a drug person or medical doctor)
brought by them is genuine or not as the supply chain and
the products manufactured by the company is maintained end if
transparent using blockchain. The system that was proposed
is drastically effective in eliminating the counterfeit drugs Append data:
helping both the companies and the users in effective
identification of the counterfeit drugs. if ¡function(agreement)==true¿ then
Website: As shown in Fig 1, Firstly the user will upload append data ←
a tablet sheet image in the website next a OCR check is
performed on the tablet sheet image that gives the tablet to the precise affected person file
name as output in text format. So, if the tablet name exists
in the database using some more requirements for checking return(success) ←to the medical doctor
purposes, that gives the result as to whether it is
authenticated or not. The output that is obtained will be end if
displayed on the website. So, the genuinity and the purpose
of usage of the tablet will be given to the user who wants to change privilege:
check.
function ¡CHANGE PRIVILEGE¿(¡ msg.sender==affected
person¿) ¡ Only affected person can extrade the medical
doctor’s information or upload a few different person¿
end function
V. FRIENDLY-ENVIRONMENT BET WEEN USER & A PP UI: A ‘UI’ is a user interface that acts as an operating
system for both a website and also an app. So, using this,
The Website is user-friendly where the user can access it one can create friendly websites.
from anywhere through their pc,laptop. The flow is shown
in Fig 2.
POWER APPS: Power apps are used to create effective
apps. So anyone can know about the cause by just checking
through an app. With a power app, one cannot only create
an app easily. It is such a friendly atmosphere that one can
just drag and drop the required elements for developing the
app. One will have different sectors, so one can have a basic
idea for developing it.
COMPARISON OF TEXTS: In this stage the extracted VII. SUPPLY CHAIN M ANAGEMENT USING BLOCKCHAIN
drug name will be compared, and we will get the % of As the time goes on changing and centuries are changing,
genuine the drug. new drug products are welcomed into the market.Those new
RESULT: The last step is getting results by applying the drug products may be real or counterfeit. Pharmaceutical
three checks that provide % of genuinity of the drug to the companies are facing difficulties in tracking their medicine
user that they are using. and allowing counterfeit drugs into the markets. So, to get
rid of this problem implemented an idea of Blockchain
technology, SCM. Supply Chain Management (SCM) is
[6] K. M. Kingsford, Z. Fengli and G. Komlan, “Patient knowledge and [11] V. Ramani, T .Kumar, A. Bracken, M. Liyanage, and M. Ylianttila,
data privacy in healthcare records system,” 2017 2nd International “Secure and efficient data accessibility in blockchain based healthcare
Conference on Communication Systems, Computing and IT systems”,2018.
Applications (CSCIT A), Mumbai, 2017, pp. 154 -159. [12] Asad Ali Siyal, Aisha Zahid Junejo, Muhammad Zawish, Kainat
[7] T seng, J.H., S.W. Governance on the drug supply chain via gcoin Ahmed, Aiman Khalil and Georgia Soursou “Applications of
blockchain. Int. J. Environ. Res. Public Health 2018, 15, 1055. Blockchain Technology in Medicine and Healthcare: Challenges and
[8] Ariel Ekblaw, Asaph Azaria, John D. Halamka, MD, Andrew Future Perspectives” , 2019.
Lippman, “ A Case Study for Blockchain in Healthcare: “MedRec” [13] T seng, J.H., Liao, Y.C, Chong B, Liao S.W. “Governance on the
prototype for electronic health records and medical research data”, drug supply chain via gcoin blockchain”. Int. J. Environ. Res. Public
White paper, MIT Media Lab, Beth Israel Deaconess Medical Center, Health 2018, 15, 1055. [Google Scholar] [CrossRef] [PubMed]
IEEE, 2016. [14] H. Yang and B. Yang, “A blockchain-based approach to the secure
[9] M. Hölbl, M. Kompara, A. Kamialic, and L. N. Zlatolas, “A sharing of healthcare dat a,” 2017.
systematic review of the use of blockchain in healthcare,” Symmetry, [15] T . Aste, P. T asca, and T . D. Matteo, “Blockchain technologies: T he
vol. 10, no. 10, p. 470, 2018. foreseeable impact on society and industry,” Computer, vol. 50, no. 9,
[10] Faisal Jamil, Lei Hang, KyuHyung Kim, DoHyeun Kim “A Novel pp. 18–28, 2017.
Medical Blockchain Model for Drug Supply Chain Integrity
Management in a Smart Hospital”, 2019.