簡易檢索 / 詳目顯示

研究生: 魏子傑
TZU-CHIEH WEI
論文名稱: 高度視覺性之加密雙層QR碼
Two-Layer QR Codes with High Visual Comprehensibility and Security
指導教授: 賴坤財
Kuen-Tsair Lay
口試委員: 賴坤財
Kuen-Tsair Lay
林益如
Yi-Ru Lin
曾德峰
Der-Feng Tseng
方文賢
Wen-Hsien Fang
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2018
畢業學年度: 106
語文別: 中文
論文頁數: 82
中文關鍵詞: QR碼高度視覺性加密雙層防偽
外文關鍵詞: QR codes, High Visual Comprehensibility, Security, Two- Layer, Anti-counterfeiting.
相關次數: 點閱:305下載:9
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • QR碼擁有容易解碼,且解碼速度快的特性,使得在人類生活中應用相當廣泛,藉由將QR碼印於海報、票劵、包裝、看板等,人們只需要使用手機APP掃描QR碼,即可很方便的獲得資訊。然而一般QR碼的外觀,是由黑色與白色方塊組成,當放在彩色背景中,容易有突兀感,在美觀方面還有可以改進的空間。又因現代仿冒、偽造商品猖獗,若能將QR碼應用於防偽與身份辨認,便能有效的解決問題。
    本論文提出高度視覺性之加密雙層QR碼(Two-Layer QR Codes with High Visual Comprehensibility and Security),第一層高度視覺性之QR碼,藉由對QR碼編碼方式做改變,使得QR碼能夠內嵌彩色圖片,達到美化的效果,並且保留QR碼解碼方便的特性;第二層加密QR碼則利用將QR碼最小單位(模組)做切割,對其做變化來放入第二層訊息,在解碼第二層訊息時,需在特定的密碼填寫區填入正確的密碼,才能夠解碼成功,若填入密碼錯誤則解碼失敗,依此便可達到防偽與身份辨認之功能。
    高度視覺性之加密雙層QR碼,相較於一般的QR碼,在外觀方面,能夠將商品標誌或相關圖片直接內嵌於QR碼中,讓QR碼本身就能顯現出商品相關資訊,不需浪費額外的空間,在功能方面,增加了防偽與身份辨認,使得應用更多元化。本文以實名制票劵與寵物項圈為應用場景,模擬高度視覺性之加密雙層QR碼之編碼、解碼情況,實驗結果與事先預想的效果符合。


    QR codes has the characteristics of easy and fast decoding, making it widely used in our daily. By printing the QR codes on posters, tickets, packaging, billboards, etc., people only need to use the mobile’s APP to scan the QR codes, which is very convenient to get information. However, traditional QR codes are generally composed of black and white squares, making sharp contrasts in colorful backgrounds. Therefore, from aesthetic perspective, there is still room for improvement. Realizing that counterfeiting goods are rampant in many situations, we wonder that whether QR codes can be applied to fight counterfeiting and confirm identification effectively.

    In this paper, we proposed two-layer QR codes with high visual comprehensibility and security. The first layer is high visual comprehensible QR codes, achieved by changing the QR codes encoding method. The QR codes can embed color pictures to achieve beautification effect, and in the mean fine retain the convenience of QR codes decoding. The second layer is secure QR codes, achieved by dividing and modifying the minimum unit (module) of QR codes, so that we can have second-layer information. When decoding the secure QR codes, it is necessary to fill in the correct password in the specific password filling area. If the password is incorrect, the decoding fails. In this way the anti-counterfeiting and identity recognition functions can be achieved.

    Compared with the general QR codes, in terms of appearance, Two-Layer QR Codes with High Visual Comprehensibility and Security can directly embed the product logo or related picture in the QR codes, so that the QR codes itself can display the product related information without waste extra space. Moreover in terms of security function, anti-counterfeiting and identification are added, making the application more diversified. In this work, the real-name ticketing and pet collars are used as application scenarios to simulate the encoding and decoding of Two-Layer QR Codes with High Visual Comprehensibility and Security. The experimental results are consistent with the expected effects.

    摘要 i Abstract ii 致謝 iii 目錄 iv 圖表索引 vii 中英對照表 xi 符號索引 xiv 第一章 緒論 1 1.1 前言 1 1.2.1 QR碼簡介 1 1.2.2 QR碼外觀 1 1.3 研究動機 2 1.4 論文章節 5 第二章 QR碼相關技術與介紹 6 2.1.1 QR碼版本數 6 2.1.2 QR碼錯誤更正能力 6 2.2 QR碼標誌結構 8 2.3.1 QR碼編碼模式介紹 10 2.3.2 QR碼正文資料 11 2.3.3 QR碼之資料碼 11 2.4 RS code編碼 12 2.5 QR碼填入方式 13 2.6 遮罩 14 第三章 高度視覺性之加密雙層QR碼之編碼 16 3.1.1 訊息碼 16 3.1.2 視覺區域選取 17 3.1.3 密碼區種類介紹 19 3.1.4 美化圖片相關處理 20 3.1.5 功能圖示、訊息碼及視覺碼回填 22 3.1.6 利用同位檢測舉陣取得配合碼 23 3.1.7 高度視覺性QR碼 25 3.2.1 加密QR碼之編碼範圍 26 3.2.2 模組切割 26 3.2.3 第二層訊息編碼 28 3.2.4 第二層訊息加密 30 3.3 利用PDP變化,給予解碼端相關訊息 31 第四章 高度視覺性之加密雙層QR碼之解碼 35 4.1.1 利用交比解出版本數 36 4.1.2 回正歪斜高度視覺性之加密雙層QR碼 38 4.2 用連通分量偵測密碼區種類與位置 40 4.3.1第一層解碼(密碼區回填) 42 4.3.2 PDP缺角偵測與功能圖示回填 43 4.4.1第二層解碼(密碼區填寫方式) 45 4.4.2 密碼提取 45 4.4.3 訊息提取 46 第五章 實驗結果與討論 50 5.1 使用不同美化圖片於高度視覺性之加密雙層QR碼 50 5.2 高度視覺性之加密雙層QR碼錯誤更正能力選擇 51 5.3 高度視覺性之加密雙層QR版本數選擇 52 5.4 歪斜高度視覺性之加密雙層QR碼解碼之效果 53 第六章 結論與未來展望 62 參考文獻 64

    [1] S.-S. Lin, M.-C. Hu, C.-H. Lee, and T.-Y. Lee, “Efficient qr code beautification with high quality visual Content,” IEEE Trans. Multimedia, vol. 17, no. 9 , pp. 1515–1524, Sept. 2015.
    [2] Y.-H. Lin, Y.-P Chang, and J.-L Wu, “Appearance-basesd qr code beautifier,” IEEE Trans. Multimedia, vol. 15, no 8, pp.2198-2207, Dec.2013
    [3] 陳亭君,“內嵌無失真標誌之高度視覺性QR碼,” 國立台灣科技大學電子工程所,2017
    [4] Ki-Hyun Jung, and Kee-Young Yoo, “Data Hiding Method with Quality Control for Binary Images,” J. Software Engineering & Application, No. 3, pp. 20-24, 2009.
    [5] Chin-Chen Chang, K.-N. Chen, and H.-C. Lin, “Novel Magic Matrices Generation Method for Secret Messages Embedding,” International Journal of Computer Sciences and Engineering Systems, Vol. 5, No 3, pp. 235-241, 2011.
    [6] 吳建勳,“互動式加密雙層QR碼,” 國立台灣科技大學電子工程所,2017
    [7] Denso Wave, “Information Technology-Automatic Identification and Data Capture Techniques-Bar Code Symbology-QR code,” ISO/IEC 18004:2000, 2000.
    [8] Stephen B. Wicker, ”Error Control Systems for Digital Communication and Storage,” Prentice-Hall, 1995.
    [9] 周名豪,“透過透視投影對於黏貼於柱面QR碼進行校正及解碼,” 國立臺灣科技大學電子工程研究所,2016.
    [10] 陳怡靜,“貼於平面及柱面上之帶有大標誌的QR碼之編解碼,” 國立台灣科技大學電子工程研究所,2015
    [11] Robin Hartshorne, “Foundations of Projective Geometry,” ISHI Press , 1967.

    QR CODE