《電子技術(shù)應(yīng)用》
您所在的位置:首頁(yè) > 通信与网络 > 设计应用 > Allegro基于MySQL数据库的数据录入系统设计
Allegro基于MySQL数据库的数据录入系统设计
2022年电子技术应用第5期
刘 涛1,2,付深圳1,2,张 柱1,2,周 冬1,2
1.高效能服务器和存储技术国家重点实验室,山东 济南250014;2.浪潮电子信息产业股份有限公司,山东 济南250014
摘要: 为了实现通过Allegro软件对PCB板卡数据自动采集、录入、保存等功能,研究基于SKILL语言的Allegro软件二次开发和IPC通信原理,提出并设计一种Allegro软件基于MySQL数据库的数据录入系统。根据实际数据存取需求及用户权限,设计前端数据采集模块和网页显示模块,在前端数据采集模块中,通过研究IPC通信,制定通信协议,并结合SKILL语言、Python语言编写通信接口,实现Allegro软件与MySQL数据库通信;网页显示模块使用Java语言用于对数据进行展示和处理。最后对数据录入系统进行功能测试,测试证明能够达到预期效果。系统中Allegro软件与MySQL数据库通信协议设计以及通信接口设计是系统的关键设计,系统数据采集模块的实现对后续Allegro软件与其他语言通信、网页端功能扩展具有很大的参考价值。
關(guān)鍵詞: Allegro 二次开发 IPC通信 MySQL
中圖分類號(hào): TP31
文獻(xiàn)標(biāo)識(shí)碼: A
DOI:10.16157/j.issn.0258-7998.211832
中文引用格式: 劉濤,付深圳,張柱,等. Allegro基于MySQL數(shù)據(jù)庫(kù)的數(shù)據(jù)錄入系統(tǒng)設(shè)計(jì)[J].電子技術(shù)應(yīng)用,2022,48(5):84-88.
英文引用格式: Liu Tao,F(xiàn)u Shenzhen,Zhang Zhu,et al. Allegro data-recording system based on MySQL database[J]. Application of Electronic Technique,2022,48(5):84-88.
Allegro data-recording system based on MySQL database
Liu Tao1,2,Fu Shenzhen1,2,Zhang Zhu1,2,Zhou Dong1,2
1.State Key Laboratory of High-end Server & Storage Technology,Jinan 250014,China; 2.Inspur Electronic Information Industry Co.,Ltd.,Jinan 250014,China
Abstract: In order to realize the functions of automatic acquisition, input and storage of PCB data by Allegro software, the secondary development of Allegro software based on SKILL language and the principle of IPC communication are studied. A data input system based on MySQL database is proposed and designed. According to the actual data access requirements and user permissions, the front-end data acquisition module and web page display module are designed. In the front-end data acquisition module, through the study of IPC communication, the communication protocol is formulated, and the communication interface is written with SKILL language and Python language to realize the communication between Allegro software and MySQL database. The web display module uses Java language to display and process the data. Finally, the function test of the data entry system is carried out, and the test results show that it can achieve the expected effect. The design of communication protocol between Allegro software and MySQL database, and the design of communication interface are the key design of the system. The realization of data acquisition module of the system has a strong reference value for the communication between Allegro software and other languages, and the function expansion of web page.
Key words : Allegro;secondary development;interprocess communication(IPC);MySQL

0 引言 

    近幾年隨著新基建加快落地,云、大數(shù)據(jù)、人工智能、區(qū)塊鏈、5G等新技術(shù)與實(shí)體經(jīng)濟(jì)將加速融合,隨之帶來的是計(jì)算量的增加。在當(dāng)前數(shù)據(jù)為王的時(shí)代,計(jì)算無(wú)處不在,計(jì)算量每幾個(gè)月翻一倍。Open AI根據(jù)這些年的實(shí)際數(shù)據(jù)進(jìn)行擬合,發(fā)現(xiàn)最先進(jìn)AI模型的計(jì)算量每3、4個(gè)月翻一番,也就是每年增長(zhǎng)10倍,比摩爾定律2年增長(zhǎng)一倍快得多[1]。數(shù)據(jù)量的計(jì)算離不開背后服務(wù)器集群的支撐。

    公司每年研發(fā)的PCB板卡數(shù)量逐漸增加,為了后續(xù)設(shè)計(jì)參考和設(shè)計(jì)統(tǒng)計(jì),每張板卡的詳細(xì)設(shè)計(jì)數(shù)據(jù)都需要記錄。目前公司都是通過工程師手動(dòng)錄入到Windchill、RDM等研發(fā)管理系統(tǒng)中,由于板卡數(shù)據(jù)量多,人工統(tǒng)計(jì)、人工錄入大大降低了工作效率,并且人工操作的出錯(cuò)率比較高,而且同一張板卡處于不同設(shè)計(jì)階段,板卡設(shè)計(jì)信息也隨之變化,板卡信息重復(fù)統(tǒng)計(jì)、重復(fù)錄入也加重了工程師的工作負(fù)擔(dān)。

    目前PTC公司旗下Windchill與Cadence Concept HDL產(chǎn)品集成度比較高,Windchill可以支持產(chǎn)品開發(fā)生命周期,因而允許在Windchill和ERP系統(tǒng)之間互換零件原件、材料清單和工程變更信息。在整個(gè)產(chǎn)品制造過程中,產(chǎn)品生命周期事件會(huì)自動(dòng)觸發(fā)與產(chǎn)品有關(guān)的信息的互換,并且它還能保證所有相關(guān)系統(tǒng)都同步,包括Concept HDL庫(kù)。Windchill更擅長(zhǎng)的是產(chǎn)片與物料、零部件BOM的管理[2]。

    上述解決方案對(duì)于PCB設(shè)計(jì)軟件Cadence Allegro PCB Editor集成度較低。因此,針對(duì)此問題,本文通過研究學(xué)習(xí)Allegro二次開發(fā),結(jié)合IPC通信原理,研究并設(shè)計(jì)Allegro基于MySQL數(shù)據(jù)庫(kù)的數(shù)據(jù)錄入系統(tǒng)。




本文詳細(xì)內(nèi)容請(qǐng)下載:http://ihrv.cn/resource/share/2000004283。




作者信息:

劉  濤1,2,付深圳1,2,張  柱1,2,周  冬1,2

(1.高效能服務(wù)器和存儲(chǔ)技術(shù)國(guó)家重點(diǎn)實(shí)驗(yàn)室,山東 濟(jì)南250014;2.浪潮電子信息產(chǎn)業(yè)股份有限公司,山東 濟(jì)南250014)




wd.jpg

此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權(quán)禁止轉(zhuǎn)載。