计算机科学 ›› 2019, Vol. 46 ›› Issue (11A): 562-566.
胡海兵1, 徐挺1, 张波1, 徐东建1, 金施群1, 卢荣胜2
HU Hai-bing1, XU Ting1, ZHANG Bo1, XU Dong-jian1, JIN Shi-qun1, LU Rong-sheng2
摘要: 针对TFT-LCD玻璃基板缺陷检测过程中数据流量大、数据处理流程复杂、数据输入输出时序性要求高等问题,文中提出了一种使用环形缓冲和Open MP的多线程并行处理方法。该方法利用Open MP技术来实现复杂的多核并行处理,以达到充分利用多核处理器资源来提高数据处理能力的目的。同时,该方法在缺陷数据输入、数据处理、数据输出等流程中,利用环形缓冲技术进行数据分流,从而实现多线程并行处理与实时稳定输出。将该方法应用到实时缺陷检测系统中,使检测系统的处理速度提高了约2~3倍,数据输出时间误差降低了70%~80%,这充分表明了该方法的实用性和有效性。
中图分类号:
[1]ZHANG T,LU R.Automatic period selection for dft method in the application of tft-lcd panel detection.Journal of Electronic Measurement and Instrumentation,2016,30(3):361-373. [2]YANG S W,LIN C S,LIN S K,et al.Automatic defect recognition of TFT array process using gray level cooccurrence matrix.Optik-International Journal for Light and Electron Optics,2014,125(11):2671-2676. [3]LU R S,SHI Y Q,LI Q,et al.AOI Techniques for Surface Defect Inspection.Applied Mechanics and Materials,2010,36:297-302. [4]卢荣胜,吴昂,张腾达,等.自动光学(视觉)检测技术及其在缺陷检测中的应用综述.光学学报,2018,437(8):23-58. [5]王亚军,李建文,吉方.基于环形缓冲区的实时系统负载平衡技术.计算机应用与软件,2005,22(4):38-39. [6]WANG Y.Load balance technique on real time system based on ring buffer .Computer Applications & Software,2005:38-39,112. [7]KIM C G,KIM J G,LEE D H.Optimizing image processing on multi-core CPUs with Intel parallel programming technologies .Multimedia Tools & Applications,2014,68(2):237-251. [8]CHAPMAN B M.Shared Memory Parallel Programming withOpen MP .International Workshop on OpenMP Applications and Tools,Springer Berlin Heidelberg,2005. [9]CHAPMAN B,JOST G,VAN D P R.Using OpenMP:Portable Shared Memory Parallel Programming .Journal of Computer Science & Technology,2010,10(3). [10]YAMAZAKI I,KURZAK J,WU P,et al.Symmetric Indefinite Linear Solver using OpenMP Task on Multicore Architecture.IEEE Transactions on Parallel and Distributed Systems,2018:1-1. [11]WU G,CHEN Q,CAO F,et al.Parallel hybrid genetic algorithm for sat problems based on OpenMP∥International Conference on Intelligent Systems & Knowledge Engineering.IEEE,2018. [12]ZHANG Q,ZHAO Q.Application of Parallel Computing with OpenMP in Global Ionosphere Mapping.Geomatics & Information Science of Wuhan University,2018,43(2):227-233,240. [13]柳建,孙胜军,毛国平,等.蒙特卡洛模拟的并行实现及并行效率研究.计算机应用与软件,2018,35(1):301-303,339. [14]崔树林,张旭,张树清,等.基于GPU的大规模栅格数据分块并行处理方法.计算机技术与发展,2015(3):19-22. [15]LIU Y,YU F.Automatic inspection system of surface defect son optical IR-CUT filter based on machine vision.Optics & Lasers in Engineering,2014,55(7):243-257. [16]房玮睿,王春露.基于缓冲池和多线程的智能交通短信平台设计与实现∥中国通信学会学术年会.2009:7-11. [17]刘振安,章守信,刘胜璞.并行图像处理算法的设计与实现.测控技术,2003,22(5):5-6. [18]耿晓中.基于多核分布式环境下的任务调度关键技术研究.长春:吉林大学,2013. [19]胡海兵,薛源,徐挺,等.ITO导电薄膜表面缺陷的图像特征分析.计算机应用,2017,37(S1):198-200. |
[1] | 李发光, 伊力哈木·亚尔买买提. 基于改进CenterNet的航拍绝缘子缺陷实时检测模型 Real-time Detection Model of Insulator Defect Based on Improved CenterNet 计算机科学, 2022, 49(5): 84-91. https://doi.org/10.11896/jsjkx.210400142 |
[2] | 季琰, 戴华, 姜莹莹, 杨庚, 易训. 面向混合云的可并行多关键词Top-k密文检索技术 Parallel Multi-keyword Top-k Search Scheme over Encrypted Data in Hybrid Clouds 计算机科学, 2021, 48(5): 320-327. https://doi.org/10.11896/jsjkx.200300160 |
[3] | 彭磊, 张辉. 基于U-net的道路缺陷检测 U-net for Pavement Crack Detection 计算机科学, 2021, 48(11A): 616-619. https://doi.org/10.11896/jsjkx.201200059 |
[4] | 刘鑫, 黄沁元, 李强, 冉茂霞, 周颖, 杨天. 基于卷积神经网络和声振图像的磁瓦内部缺陷检测 Fault Detection for Arc Magnet Based on Convolutional Neural Network and Acoustic VibrationImage 计算机科学, 2021, 48(11A): 648-654. https://doi.org/10.11896/jsjkx.210100161 |
[5] | 谢源, 苗玉彬, 许凤麟, 张铭. 基于半监督深度卷积生成对抗网络的注塑瓶表面缺陷检测模型 Injection-molded Bottle Defect Detection Using Semi-supervised Deep Convolutional Generative Adversarial Network 计算机科学, 2020, 47(7): 92-96. https://doi.org/10.11896/jsjkx.190700093 |
[6] | 杨志伟, 戴铭, 周智恒. 基于直方图差异的工业产品表面缺陷检测方法 Surface Defect Detection Method of Industrial Products Based on Histogram Difference 计算机科学, 2020, 47(6A): 247-249. https://doi.org/10.11896/JsJkx.191000049 |
[7] | 罗月,童卞,景帅,张蒙,饶永明,闫峰. 基于卷积去噪自编码器的芯片表面弱缺陷检测方法 Detection Method of Chip Surface Weak Defect Based on Convolution Denoising Auto-encoders 计算机科学, 2020, 47(2): 118-125. https://doi.org/10.11896/jsjkx.190100141 |
[8] | 薄莉莉, 姜淑娟, 张艳梅, 王兴亚, 于巧. 并发缺陷检测技术研究进展 Research Progress on Techniques for Concurrency Bug Detection 计算机科学, 2019, 46(5): 13-20. https://doi.org/10.11896/j.issn.1002-137X.2019.05.002 |
[9] | 游资奇,任怡,刘仁仕,管剑波,刘礼鹏. 基于多核的共生虚拟机通信加速机制XenVMC的优化 Optimization of Co-resident Inter-VM Communication Accelerator XenVMC Based on Multi-core 计算机科学, 2018, 45(3): 102-107. https://doi.org/10.11896/j.issn.1002-137X.2018.03.017 |
[10] | 苏若, 吴际, 刘超, 杨海燕. 基于多视角卡牌模型的需求缺陷检测 Requirement Defect Detection Based on Multi-view Card Model 计算机科学, 2018, 45(10): 183-188. https://doi.org/10.11896/j.issn.1002-137X.2018.10.034 |
[11] | 朱朝阳,陈相舟,闫龙,张信明. 基于主成分分析法的人工免疫识别软件缺陷预测模型研究 Research on Software Defect Prediction Based on AIRS Using PCA 计算机科学, 2017, 44(Z6): 483-485. https://doi.org/10.11896/j.issn.1002-137X.2017.6A.107 |
[12] | 乔丽,赵尔敦,刘俊杰,程彬. 基于CNN的工件缺陷检测方法研究 Research of Workpiece Defect Detection Method Based on CNN 计算机科学, 2017, 44(Z11): 238-243. https://doi.org/10.11896/j.issn.1002-137X.2017.11A.050 |
[13] | 许婧,任开军,李小勇. 气象数据检索区域查询优化及并行算法设计 Parallel Algorithm Design and Optimization of Range Query for Meteorological Data Retrieval 计算机科学, 2017, 44(3): 42-47. https://doi.org/10.11896/j.issn.1002-137X.2017.03.011 |
[14] | 崔展齐,牟永敏,张志华,王伟光. 基于函数调用序列模式挖掘的程序缺陷检测 Defects Detection Based on Mining Function Call Sequence Patterns 计算机科学, 2017, 44(11): 226-231. https://doi.org/10.11896/j.issn.1002-137X.2017.11.034 |
[15] | 都志辉,林璋熙,顾彦祺,Eric O.LEBIGOT,郭翔宇. 引力波cWB处理流水线的GPU加速 GPU Accelerated cWB Pipeline for Gravitational Waves Discovery 计算机科学, 2017, 44(10): 26-32. https://doi.org/10.11896/j.issn.1002-137X.2017.10.005 |
|