《電子技術(shù)應(yīng)用》
您所在的位置:首頁(yè) > 通信與網(wǎng)絡(luò) > 設(shè)計(jì)應(yīng)用 > Allegro基于MySQL數(shù)據(jù)庫(kù)的數(shù)據(jù)錄入系統(tǒng)設(shè)計(jì)
Allegro基于MySQL數(shù)據(jù)庫(kù)的數(shù)據(jù)錄入系統(tǒng)設(shè)計(jì)
2022年電子技術(shù)應(yīng)用第5期
劉 濤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
摘要: 為了實(shí)現(xiàn)通過(guò)Allegro軟件對(duì)PCB板卡數(shù)據(jù)自動(dòng)采集、錄入、保存等功能,研究基于SKILL語(yǔ)言的Allegro軟件二次開(kāi)發(fā)和IPC通信原理,提出并設(shè)計(jì)一種Allegro軟件基于MySQL數(shù)據(jù)庫(kù)的數(shù)據(jù)錄入系統(tǒng)。根據(jù)實(shí)際數(shù)據(jù)存取需求及用戶(hù)權(quán)限,設(shè)計(jì)前端數(shù)據(jù)采集模塊和網(wǎng)頁(yè)顯示模塊,在前端數(shù)據(jù)采集模塊中,通過(guò)研究IPC通信,制定通信協(xié)議,并結(jié)合SKILL語(yǔ)言、Python語(yǔ)言編寫(xiě)通信接口,實(shí)現(xiàn)Allegro軟件與MySQL數(shù)據(jù)庫(kù)通信;網(wǎng)頁(yè)顯示模塊使用Java語(yǔ)言用于對(duì)數(shù)據(jù)進(jìn)行展示和處理。最后對(duì)數(shù)據(jù)錄入系統(tǒng)進(jìn)行功能測(cè)試,測(cè)試證明能夠達(dá)到預(yù)期效果。系統(tǒng)中Allegro軟件與MySQL數(shù)據(jù)庫(kù)通信協(xié)議設(shè)計(jì)以及通信接口設(shè)計(jì)是系統(tǒng)的關(guān)鍵設(shè)計(jì),系統(tǒng)數(shù)據(jù)采集模塊的實(shí)現(xiàn)對(duì)后續(xù)Allegro軟件與其他語(yǔ)言通信、網(wǎng)頁(yè)端功能擴(kuò)展具有很大的參考價(jià)值。
中圖分類(lèi)號(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,F(xiàn)u 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ì)將加速融合,隨之帶來(lái)的是計(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ì)算離不開(kāi)背后服務(wù)器集群的支撐。

    公司每年研發(fā)的PCB板卡數(shù)量逐漸增加,為了后續(xù)設(shè)計(jì)參考和設(shè)計(jì)統(tǒng)計(jì),每張板卡的詳細(xì)設(shè)計(jì)數(shù)據(jù)都需要記錄。目前公司都是通過(guò)工程師手動(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)品開(kāi)發(fā)生命周期,因而允許在Windchill和ERP系統(tǒng)之間互換零件原件、材料清單和工程變更信息。在整個(gè)產(chǎn)品制造過(guò)程中,產(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ì)此問(wèn)題,本文通過(guò)研究學(xué)習(xí)Allegro二次開(kāi)發(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)載。