Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Quality Traceability System of Traditional Chinese Medicine Based on Two Dimensional Barcode Using Mobile Intelligent Technology

  • Yong Cai,

    Affiliations State Key Laboratory of Quality Research in Chinese Medicine, Institute of Chinese Medical Sciences, University of Macau, Macao, China, Information Technology College, Beijing Normal University Zhuhai Campus, Zhuhai, China

  • Xiwen Li,

    Affiliation Institute of Chinese Materia Medica, China Academy of Chinese Medical Sciences, Beijing, China

  • Runmiao Wang,

    Affiliation State Key Laboratory of Quality Research in Chinese Medicine, Institute of Chinese Medical Sciences, University of Macau, Macao, China

  • Qing Yang,

    Affiliation State Key Laboratory of Hydraulics and Mountain River Engineering, Sichuan University, Chengdu, China

  • Peng Li,

    Affiliation State Key Laboratory of Quality Research in Chinese Medicine, Institute of Chinese Medical Sciences, University of Macau, Macao, China

  • Hao Hu

    haohu@umac.mo

    Affiliation State Key Laboratory of Quality Research in Chinese Medicine, Institute of Chinese Medical Sciences, University of Macau, Macao, China

Abstract

Currently, the chemical fingerprint comparison and analysis is mainly based on professional equipment and software, it’s expensive and inconvenient. This study aims to integrate QR (Quick Response) code with quality data and mobile intelligent technology to develop a convenient query terminal for tracing quality in the whole industrial chain of TCM (traditional Chinese medicine). Three herbal medicines were randomly selected and their chemical two-dimensional barcode (2D) barcodes fingerprints were constructed. Smartphone application (APP) based on Android system was developed to read initial data of 2D chemical barcodes, and compared multiple fingerprints from different batches of same species or different species. It was demonstrated that there were no significant differences between original and scanned TCM chemical fingerprints. Meanwhile, different TCM chemical fingerprint QR codes could be rendered in the same coordinate and showed the differences very intuitively. To be able to distinguish the variations of chemical fingerprint more directly, linear interpolation angle cosine similarity algorithm (LIACSA) was proposed to get similarity ratio. This study showed that QR codes can be used as an effective information carrier to transfer quality data. Smartphone application can rapidly read quality information in QR codes and convert data into TCM chemical fingerprints.

Introduction

The industrial chain of traditional Chinese medicine is a complicated process including multiple steps. The quality and safety issues of traditional Chinese medicine have plagued the scientists for many years. It’s necessary to ensure the quality to be safe, effective, stable and controllable in each link of the whole process, especially in production and circulation of Chinese herbal medicine which is the origin of TCM. Unfortunately almost all current traceability technologies can only provide production or sale information in circulation with no quality data. Chemical fingerprints of TCM is an important quality control models and technologies to identify the quality of traditional Chinese medicines [13]. The success of conversion from chemical fingerprint to two-dimensional barcode has created an opportunity to develop a traceability system delivering quality information [4]. However how to apply quality two-dimensional barcode to practical quality traceability in circulation and personal consumed terminal still remains elusive.

QR code has been used in traceability systems of fish [5] and also was applied to vegetable [6] traceability combined with mobile service. Currently combining smartphones power sensors and cloud computing technologies, scientists have tried to build a mobile health care system that could benefit the public [79]. The sensor capabilities were also used to allow smartphones to provide location based services and gathered data from camera or QR code by scanning [1012]. Mobile intelligent technology and two-demensional code scanning provided probability to trace good quality or bad of TCM in circulation and personal consumer terminal. By the end of 2011, there were over 130 million people who used iPhone, iPad or iTouch in the world and the number increased 103% than that in 2010. According to a new report released by Gartner in the third quarter of 2013 [13], the number of customers using Samsung and Google's Android system exceeded that of people operating Apple and its iOS system. Hundreds of applications including developed games [14,15], booking [16], traveling [1719] and payment [20] were installed in smartphone using Android system. Especially, the mobile health applications enabled the doctors to interact with the patients by “wang-wen-wen-qie” or monitor people to improve their life quality [21].

Currently, the chemical fingerprint comparison and analysis is mainly based on professional equipment and software, it’s expensive and inconvenient. This study aims to integrate QR code with quality data and smartphone to develop a convenient query terminal for tracing quality in the whole industrial chain of TCM. An application based on Android system was developed to recognize and analysis the chemical QR codes of Chinese medicine by scanning QR codes. We demonstrated that this APP could distinguish different batches of Chinese herbal medicine of the same species and identify the quality of different species by scanning chemical two-dimensional QR codes.

Materials and Methods

Materials

Three kinds of Chinese herbal medicines, YinYangHuo (Epimedium), RouCongRong (Cistanche deserticola) and MuDanPi (Cortex Moutan), were randomly selected and their chemical fingerprints were constructed using HPLC technology (Yin-YangHuo and RouCongRong refer to [2223], resp.). The detailed method of MuDanPi detection was as follows: a Zorbax SB-C18 column (250 × 4.6mm I.D., 5 μm) with a Zorbax SB-C18 guard column (12.5 × 4.6mm I.D., 5 μm) was used. The samples were separated using a gradient mobile phase consisting of 0.5% acetic acid (A) and acetonitrile (B). The gradient condition is 0–40min, 10%–50% B; 40–60 min, 50%–100% B; 60–65min, 100%B. The separation was performed on an Agilent series 1200 liquid chromatography (Agilent Technologies, Santa Clara, CA, USA), equipped with a vacuum degasser, a quaternary pump, an autosampler, and a diode array detector (DAD). The chromatographic analysis method for chemical profiling refer to [24]. Testing data of chemical fingerprints were converted into 2D barcodes by online website (http://qrgenerator.qrcreator.net) [4].

System environment and smartphone application development

Android is an operating system based on Linux kernel. Android smartphone was used in this study. Development environment is shown in Table 1.

APP were coded by Android Developer Tools. The Android Package (APK) was installed on Android smartphone. The whole processes of application based on Android system are shown in Fig 1.

thumbnail
Fig 1. Whole process of application based on Android system.

https://doi.org/10.1371/journal.pone.0165263.g001

Scan of QR codes and presentation of TCM chemical fingerprints

Chart of chemical fingerprint was generated by plug-in AchartEngine, an open source graphics library (Google). Line chart was adopted to form chemical fingerprints.

Different chemical QR codes were scanned and results were shown in the same screen. Chemical fingerprints are designed with different colors. Different chemical fingerprints of Chinese herbal medicines were compared to intuitively find their difference by scanning QR codes one by one. The flow chart of recognition of QR codes to restore chemical fingerprints was shown in Fig 2.

thumbnail
Fig 2. Flow chart of recognition of QR codes to restore chemical fingerprints.

https://doi.org/10.1371/journal.pone.0165263.g002

Chemical fingerprint similarity comparison algorithm

To be able to quantitatively distinguish the difference between chemical fingerprints, this experiment proposed LIACSA to obtain quantitative similarity, as shown in Figs 3 and 4.

thumbnail
Fig 3. Linear interpolation angle cosine similarity algorithm.

https://doi.org/10.1371/journal.pone.0165263.g003

Results and Discussion

Quality traceability plays an important role to ensure TCM to be safe, effective, stable and controllable from the point of production to the point of consumption. However, most current traceability systems are paper files or electronic-based tags. They typically rely on physical barcodes attached to products ostensibly tracing the products from stages of the production process, and integrity of traceability trail is only as reliable as the reading and transcription of the data. New technologies linked to genomics and informatics that involve gene level identifiers show promise in improving both the herbal identification and cost of regulatory oversight. For example, DNA barcoding was used for traceability [25] and recently has been admitted to the Chinese Pharmacopoeia as one of the methods for species identification (Chinese Pharmacopoeia, 2015). Some scholars have conducted research on how to convert DNA sequences into the 2D barcode for quality control. Kumar et al and Liu et al carried on studies on encoding type of DNA 2D barcode respectively [26,27]. In addition, Liu et al proposed that the technology of converting fingerprint into 2D barcode could be applied to the identification. However no current traceability methods can provide quality information so that we cannot identify the attribute of TCM without the data from suppliers. Chemical fingerprinting was a commonly used quantified testing method. However, it was not amenable to information storage, recognition and retrieval. Cai et al converted chemical fingerprint of TCM into data format that could be stored as QR code through data preprocessing [4], which made the transformation of quality information possible. In this study, we made a further attempt on how to apply 2D barcode of chemical fingerprint to quality traceability in actual production and circulation.

According to the method reported by Yong Cai et al [4], chemical fingerprints were successfully converted into 2D barcodes and QR codes were selected as coding type (Fig 5). The aim of this study focused on how to extract data from chemical 2D barcodes and generate chemical fingerprints to evaluate the quality of TCM by consumer smartphone. We firstly developed an application (Fig 1) based on Android platform which installed in smart phone. Four chemical 2D barcodes were scanned and quality data were extracted. Using this APP, four different chemical fingerprints were re-generated (Fig 5).

thumbnail
Fig 5. Comparison of scanning results and initial chemical fingerprint of four batches.

https://doi.org/10.1371/journal.pone.0165263.g005

After comparison between the original and newly generated chemical fingerprints, we found that they had the same characteristic peaks which represented different chemical compounds. In addition. We have developed additional functionality on this APP including comparing different chemical fingerprints on the same screen and same coordinate system by scanning different 2D barcodes (Fig 6), and proposed LIACSA algorithm to obtain similarity ratio directly between chemical fingerprints (Fig 7b and 7c); local details comparison by ‘zoom’ function (Fig 8); peak area comparison between chemical fingerprints by ‘Change style’ function (Fig 9). It could compare different chemical 2D barcodes from different batches of the same Chinese herbal medicine (Figs 6b and 7b) or different Chinese herbal medicines (Figs 6c and 7c).

thumbnail
Fig 6. Multi-curve rendering of different TCM chemical fingerprints.

6a,YinYangHuo_0303 (In pink color); 6b, YinYangHuo_0303 (In pink color) / YinYangHuo_0308 (In navy color); 6c, YinYangHuo_0303 (In pink color) / YinYangHuo_0308 (In navy color) / Hmroucongrong235(In mid-blue color).

https://doi.org/10.1371/journal.pone.0165263.g006

thumbnail
Fig 7. Similarity comparison results of TCM chemical fingerprints.

7a, YinYangHuo_0303; 7b, YinYangHuo_0303 (In pink color) / YinYangHuo_0308 (In navy color); 7c, YinYangHuo_0303 (In pink color) / YinYangHuo_0308 (In navy color) / Hmroucongrong235(In mid-blue color).

https://doi.org/10.1371/journal.pone.0165263.g007

thumbnail
Fig 8. Comparing local details between chemical fingerprints by ‘zoom’ function.

https://doi.org/10.1371/journal.pone.0165263.g008

thumbnail
Fig 9. Comparing peak area between chemical fingerprints by ‘change style’ function.

https://doi.org/10.1371/journal.pone.0165263.g009

With these functions, researchers and consumers can scan multiple 2D barcodes continuously and get their chemical fingerprints to evaluate their quality intuitively. From Figs 6 and 7, we found YinYangHuo_0303 and YinYangHuo_0308 might be the same Chinese material medica but from different batches (More than 75% similarity), YinYangHuo_0303 and Hmroucongrong235 might be from different herbal medicines (Less than 16% similarity). This APP showed their differences visually and directly, which was helpful for producers and consumers to determine the quality in process and market. Therefore the quality of each batch of herbal medicine could be tracked using this APP installed in smart phones.

There are many similarity algorithms for chemical fingerprint, such as angle cosine, Pearson correlation coefficient and Euclidean distance and so on [28]. This experiment proposed LIACSA (Fig 4), which added linear interpolation based on cosine similarity algorithm. This algorithm is applicable to the case when one of Y-axis value missed between two chemical fingerprints.

This study demonstrated that smartphone technology can restore chemical fingerprint of TCM by scanning chemical 2D barcodes, and maintain consistency with initial chemical fingerprint generated from HPLC software. This research will provide consumers and managers an easy and rapid way to trace the quality in circulation and management of traditional Chinese medicine.

Conclusions

Smart phone application can be developed to provide a convenient way for producers, mangers and consumers to trace the quality of traditional Chinese medicine. It can convert quality data of TCM into corresponding chemical fingerprints by scanning QR codes and shows the difference between herbal medicines intuitively. This study provide an effective tool for regulating each link in production chain of traditional Chinese medicine by establishing quality traceability system in the future.

Author Contributions

  1. Conceptualization: YC HH.
  2. Formal analysis: YC.
  3. Funding acquisition: HH XL.
  4. Methodology: YC XL HH.
  5. Project administration: HH.
  6. Resources: QY.
  7. Software: YC.
  8. Supervision: HH.
  9. Validation: YC.
  10. Writing – original draft: YC RW PL QY HH.
  11. Writing – review & editing: YC HH.

References

  1. 1. Tang D, Yang D, Tang A, Gao Y, Jiang X, Mou J, et al. Simultaneous chemical fingerprint and quantitative analysis of Ginkgo biloba extract by HPLC–DAD. Analytical and bioanalytical chemistry 2010, 396(8):3087–3095. pmid:20191266
  2. 2. Liang Y, Xie P, and Chau F. Chromatographic fingerprinting and related chemometric techniques for quality control of traditional Chinese medicines. Journal of separation science 2010, 33(3):410–421. pmid:20099260
  3. 3. Kong WJ, Zhao YL, Xiao XH, Jin C, and Li ZL. Quantitative and chemical fingerprint analysis for quality control of Rhizoma Coptidischinensis based on UPLC-PAD combined with chemometrics methods. Phytomedicine 2009, 16(10):950–959. pmid:19553096
  4. 4. Cai Y, Li XW, Li M, Chen XJ, Hu H, Ni JY, et al. Traceability and Quality Control in Traditional Chinese Medicine: From Chemical Fingerprint to Two-dimensional barcode. Evidence-Based Complementary and Alternative Medicine (eCAM) 2015, pmid:26089936
  5. 5. Seine K, Kuwabara S, Mikami S, Takahashi Y, Yoshikawa M, and Narumi H. Development of the traceability system which secures the safety of fishery products using the QR code and a digital signature. In OCEANS'04. MTTS/IEEE TECHNO-OCEAN'04 2004, 1: 476–481.
  6. 6. Gao HM, Study on the Application of the QRcode Technology in the Farm Product Supply Chain Traceability System. Applied Mechanics and Materials 2013, 321:3056–3060.
  7. 7. De Jongh T, Gurol-Urganci I, Vodopivec-Jamsek V, Car J, and Atun R. Mobile phone messaging for facilitating self-management of long-term illnesses. Cochrane Database Syst Rev 2012, 12.
  8. 8. Yetisen AK, Martinez-Hurtado J, da Cruz Vasconcellos F, Simsekler ME, Akram MS and Lowe CR. The regulation of mobile medical applications. Lab on a Chip 2014, 14:833–840. pmid:24425070
  9. 9. Clarke J, Proudfoot J, Whitton A, Birch MR, Boyd M, Parker G, Fogarty A. Therapeutic Alliance With a Fully Automated Mobile Phone and Web-Based Intervention: Secondary Analysis of a Randomized Controlled Trial. JMIR mental health 2016, 3, e10. pmid:26917096
  10. 10. Peng L. Research on the Handset Two-Dimensional Code Service. Telecommunications Science 2006, 22, 36–39.
  11. 11. Du WP, Li L, Zhao W. 2D Barcode Identification Technology Application in Tool Management System for Workshop. In Materials Science Forum 2016, 836, 283–289
  12. 12. Gao LF, Jia JZ, Kong XY. A SNP-Based Molecular Barcode for Characterization of Common Wheat. PloS one 2016, 11(3): e0150947. pmid:26985664
  13. 13. Moreno-Munoz A, Bellido-Outeirino FJ, Siano P, Gomez-Nieto MA. Mobile social media for smart grids customer engagement: Emerging trends and challenges. Renewable and Sustainable Energy Reviews 2016, 53: 1611–1616.
  14. 14. Martincic CJ. Wooden Peg Game: Implementations as Both a Web App and as an Android App. Information Systems Education Journal 2016, 14(2): 14.
  15. 15. Kratz S, Wartmann C, Fuhr C, Tann MJ, Shin DY, Hameed B, et al. Cell spell-casting: Designing a locative and gesture recognition multiplayer smartphone game for tourists. PerGames, 2006: 151.
  16. 16. Dongare T, Babar A, Nivangune M. Android Application for Ticket Reservation with GPS as Ticket Validation. International Journal of Emerging Research in Management & Technology, 2014, 3(3): 13–141.
  17. 17. Dickinson JE, Ghali K, Cherrett T, Speed C, Davies N and Norgate S. Tourism and the smartphone app: Capabilities, emerging practice and scope in the travel domain. Current Issues in Tourism, 2014, 17(1): 84–101.
  18. 18. Wang D, Park S, Fesenmaier DR. The role of smartphones in mediating the touristic experience. Journal of Travel Research, 2012, 51(4): 371–387.
  19. 19. Wang D, Xiang Z, Fesenmaier DR. Smartphone use in everyday life and travel. Journal of Travel Research, 2016, 55(1): 52–63.
  20. 20. Gao JK, Ranavat V, Mei HLCH. A 2D Barcode-Based Mobile Payment System; Multimedia and Ubiquitous Engineering, 2009. MUE, 9: 4–6.
  21. 21. Yang J, Liu J, Liu R. Mobile phone based data acquisition and evaluation system for the alternative four diagnostic methods of traditional Chinese medicine. Chinese journal of medical instrumentation, 2013, 37(1): 18–22, 26. pmid:23668036
  22. 22. Chen XJ, Guo BL, Li SP, Zhang QW, Tu PF and Wang YT. Simultaneous determination of 15 flavonoids in Epimedium using pressurized liquid extraction and high-performance liquid chromatography. Journal of Chromatography A, 2007, 1163(1): 96–104.
  23. 23. Jiang Y, Li SP, Wang YT, Chen XJ and Tu PF. Differentiation of Herba Cistanches by fingerprint with high-performance liquid chromatography–diode array detection–mass spectrometry. Journal of Chromatography A, 2009, 1216(11): 2156–2162. pmid:18502433
  24. 24. Zhang JL, Cui M, He Y, Yu HL and Guo DA. Chemical fingerprint and metabolic fingerprint analysis of Danshen injection by HPLC–UV and HPLC–MS methods. Journal of pharmaceutical and biomedical analysis, 2005, 36(5): 1029–1035. pmid:15620529
  25. 25. Galimberti A, De Mattia F, Losa A, Bruni I, Federici S, Casiraghi M, et al. DNA barcoding as a new tool for food traceability. Food Research International, 2013, 50(1): 55–63.
  26. 26. Kumar S, Nei M, Dudley J, Tamura K. MEGA: a biologist-centric software for evolutionary analysis of DNA and protein sequences. Briefings in bioinformatics, 2008, 9(4): 299–306. pmid:18417537
  27. 27. Liu C, Shi L, Xu X, Li H, Xing H, Liang D, et al. DNA barcode goes two-dimensions: DNA QR code web server, PloS one. 2012, 7, e35146. pmid:22574113
  28. 28. Ruan GH, Li GK. The study on the chromatographic fingerprint of Fructus xanthii by microwave assisted extraction coupled with GC–MS. Journal of Chromatography B, 2007, 850(1): 241–248.