Summary of the invention
Fundamental purpose of the present invention is to provide a kind of analysis automated method of DFM, when being intended to make user not need too many training and DFM professional knowledge, within 24 hours, carry out efficient, DFM analytical work reliably incessantly, improve the service efficiency of DFM analysis software to greatest extent.
The invention provides a kind of method that DFM is analysis automated, comprise the following steps:
Reception need carry out file and the file parameters of DFM analysis, and uploads and preserve described file and file parameters according to the DFM script write;
According to described file parameters, described DFM script is utilized to carry out DFM analysis to described file;
Generate DFM analysis report and described DFM analysis report is sent to user.
Preferably, described according to file parameters, utilize described DFM script specifically to comprise the step that described file carries out DFM analysis:
Described DFM script judges whether to allow to carry out DFM analysis according to the real-time status of current system;
If current state allows to carry out DFM analysis, then identify and need carry out the file type of DFM analysis, and complete DFM according to the file type of described identification and file parameters and analyze;
If current state does not allow to carry out DFM analysis, then the file described need being carried out DFM analysis arranges according to preset mode and stores.
Preferably, described according to identify file type and file parameters complete DFM analyze step specifically comprise:
Identification need carry out the file type of DFM analysis;
If the file that need carry out DFM analysis is ODB++ file, then system correspondingly imports described file and completes the setup of attribute of same working lining according to described file parameters, carries out DFM analysis;
If the file that need carry out DFM analysis is Gerber file, then system correspondingly imports described file, completes the layer setup of attribute between the setup of attribute of same working lining and each working lining and carries out corresponding layer and move, carry out DFM analysis according to described file parameters;
If the item file that the file that need carry out DFM analysis interrupts before being system, then the item file directly opening described interruption proceeds DFM and analyzes.
Preferably, described generation DFM analysis report also comprise step after described DFM analysis report is sent to the step of user:
Current carry out the end of file of DFM analysis after, judge whether the file that need carry out DFM analysis is all analyzed complete; If not, then the DFM automatically starting next file analyzes.
Preferably, in the whole process that DFM analysis software runs, system monitors the progress that running status is also preserved in real time and display DFM analyzes that DFM analyzes in real time.
Present invention also offers the device that a kind of DFM is analysis automated, comprising:
Uploading administration module, for receiving file and the file parameters that need carry out DFM analysis, and uploading and preserving described file and file parameters according to the DFM script write;
DFM analysis module, for according to described file parameters, utilizes described DFM script to carry out DFM analysis to described file;
Report produces and sending module, for generating DFM analysis report and described DFM analysis report being sent to user.
Preferably, described DFM analysis module specifically comprises:
Running status judging unit, allows to carry out DFM analysis for judging whether according to the real-time status of current system;
DFM analyzes running unit, for allow in current state to carry out DFM analyze time, identify the file type that need carry out DFM analysis and complete DFM according to the file type of described identification and file parameters and analyze;
File storage unit, during for not allowing in current state to carry out DFM analysis, the file described need being carried out DFM analysis arranges according to preset mode and stores.
Preferably, described DFM analysis running unit specifically comprises:
File type recognin unit, for identifying the file type need carrying out DFM analysis;
ODB++ runs subelement, for when the file that need carry out DFM analysis is ODB++ file, correspondingly imports described file and completes the setup of attribute of same working lining according to described file parameters, carrying out DFM analysis;
Gerber runs subelement, for when the file that need carry out DFM analysis is Gerber file, correspondingly import described file, complete the layer setup of attribute between the setup of attribute of same working lining and each working lining according to described file parameters and carry out corresponding layer and move, carry out DFM analysis;
Interrupt running paper subelement, for interrupt before being system at the file that need carry out DFM analysis item file time, the item file directly opening described interruption proceeds DFM and analyzes.
Preferably, the device that described DFM is analysis automated also comprises:
Automatic operation monitoring module, for current carry out the end of file of DFM analysis after, judge whether the file that need carry out DFM analysis is all analyzed complete; If not, then the DFM automatically starting next file analyzes.
Preferably, in the whole process that DFM analysis software runs, system monitors the progress that running status is also preserved in real time and display DFM analyzes that DFM analyzes in real time.
The present invention is automatically imported by system need that user submits to and carries out the file of DFM analysis and file parameters, automatically completes setup of attribute and automatically carry out the method for DFM analysis according to the selection of user, achieves and within 24 hours, carries out efficient, the beneficial effect analyzed of DFM reliably incessantly.
Embodiment
Technical scheme of the present invention is further illustrated below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The analysis automated method first embodiment schematic flow sheet of DFM of the present invention with reference to Fig. 1, Fig. 1.As shown in Figure 1, the method that DFM of the present invention is analysis automated comprises:
Step S01, receive and need carry out file and the file parameters of DFM analysis, and upload and preserve described file and file parameters.
After system acceptance to the file that need carry out DFM analysis and file parameters, automatically described file and file parameters are uploaded onto the server, and be kept in server database.System automatically uploads described file and file parameters is realized by robotization DFM script.Described script uses a kind of specific descriptive language, and the executable file write according to certain form, also known as making grand or autoexec.Script is the program that a kind of plain text is preserved, and usual computer script program is the combination that a series of computer for controlling determined carry out arithmetic operation action, can realize certain logic branch etc. wherein.It is the written order of a rule that script is understood to, and these written orders can be opened with notepad, and user can carry out checking and editing.Script usually can be called by application program temporarily and perform.The execution of general script is only relevant with concrete executor, as long as so system has the interpretive routine of corresponding language just can accomplish cross-platform invoke script.User can select different scripts as required, and common script has Perl, Scala, JavaScript, VBScript, MAX Script, JavaFX etc.In a preferred embodiment, described DFM script adopts Perl language to write, but not and be limited to described Perl language, other language can not adopted to write yet.The grammer of script and structure are usually fairly simple, are therefore easy to study and use.Automatically performing that DFM analyzes realizes the analysis automated core of DFM and main body.The automated analysis of DFM script makes DFM analysis software can automatically perform DFM according to the step of setting on computers to analyze, and DFM is analyzed more simple and efficient, the reliability of DFM have also been obtained maximum guarantee simultaneously.In a preferred embodiment, described DFM analysis software is vSure software.
Step S02, according to described file parameters, DFM analysis is carried out to described file.
According to system pre-defined rule, the control program of system carries out DFM analysis according to described file parameters automatically to described file.In the whole service process of system, DFM script according to predetermined process always at automatic operating; Meanwhile, system monitors the running status also real-time progress of preserving DFM analysis that DFM analyzes in real time, and system also can need to suspend or continuation DFM analysis according to user.System takes full-automatic operation, and whole process does not occur artificial participation, and each user all has the separate records of self project corresponding in a database, user can and the record can only found corresponding to self project, avoid the leakage of data to greatest extent.
Step S03, generate DFM analysis report described DFM analysis report is sent to user.
When the DFM of the described file completing current operation analyzes, system reads DFM information, automatically generates DFM analysis report and described report is automatically sent in mailbox when user registers.If make mistakes in the process run at DFM script, system is also by by mail notification user and system manager and the position of reporting errors.
Meanwhile, the DFM analysis report that system generates automatically also can be used for carrying out alternately with EDA data.In a preferred embodiment, user can utilize corresponding program to inquire about and read DFM analysis report in eda tool.Particularly, user can create forms in eda tool, and the content in DFM analysis report is presented in forms.When user clicks the corresponding contents in described forms, may correspond to the corresponding problem in display DFM analysis report and highlighted and location is carried out to described problem, mark can be provided in PCB file simultaneously; User can judge the treatment state of produced problem in described DFM analysis report voluntarily according to mark corresponding in PCB file.In a preferred embodiment, user can adopt two kinds of different sortords to described DFM analysis report: according to type of error sequence or sort according to treatment state.
The present invention is automatically uploaded by system and preserves the file and file parameters that need carry out DFM analysis and carry out DFM analysis to described file, generate DFM analysis report simultaneously and described DFM analysis report sent to the method for user, the system that achieves is carried out efficiently for 24 hours incessantly, the beneficial effect of DFM analysis reliably, avoids the leakage of data and manually-operated error to greatest extent.
Carry out DFM according to file parameters to described file in the analysis automated method of DFM of the present invention to analyze an embodiment schematic flow sheet with reference to Fig. 2, Fig. 2.As shown in Figure 2, in the method that DFM of the present invention is analysis automated, the step that system carries out DFM analysis automatically according to the selection of user comprises:
Step S11, judge whether to allow to carry out DFM analysis according to the real-time status of current system; If so, then step S12 is performed; If not, then step S13 is performed;
Step S12, identify and need carry out the file type of DFM analysis, and complete DFM according to the file type of described identification and file parameters and analyze;
Step S13, the file described need being carried out DFM analysis arrange according to preset mode and store.
Before carrying out DFM analysis, first to judge whether to allow to carry out DFM analysis according to the real-time status of current system; The real-time status of described judgement current system carries out automatic decision by the correlation module of DFM script calling system.If the running status of current system allows to carry out DFM analysis, then system need carry out the file type of DFM analysis by calling the identification of DFM script; DFM script, according to the file type of described identification and file parameters corresponding to described file, automatically completes DFM and analyzes.In a preferred embodiment, the mode that described DFM analyzes comprises the different look-up table of analysis and ERF(Electrical Rule Function corresponding with it, electric rule power function) rule.If the running status of current system does not allow to carry out DFM analysis, then need the file carrying out DFM analysis to continue to wait for, and the file described need being carried out DFM analysis stores in a database, and described file is arranged according to preset mode.The time order and function that described preset mode arrangement can be submitted to according to user carries out arranging or arranging according to the requirement of keeper.
The present invention judges whether to allow to carry out DFM analysis by the running status current according to system, and complete the method for DFM analysis according to the file type of described identification and file parameters when system allows to carry out DFM analysis, achieve the beneficial effect improving DFM analysis efficiency.
Complete DFM according to the file type identified and file parameters in the analysis automated method of DFM of the present invention to analyze an embodiment schematic flow sheet with reference to Fig. 3, Fig. 3.As shown in Figure 3, in the method that DFM of the present invention is analysis automated, complete according to the file type of described identification and file parameters the step that DFM analyzes and specifically comprise:
Step S21, identify and need carry out the file type of DFM analysis; If described file type is ODB++ file, then perform step S22; If described file type is Gerber file, then perform step S23; If the item file that described file type is interrupted before being system, then perform step S24;
Step S22, system correspondingly import described file and complete the setup of attribute of same working lining according to described file parameters, carry out DFM analysis;
Step S23, system correspondingly import described file, complete the layer setup of attribute between the setup of attribute of same working lining and each working lining and carry out corresponding layer and move, carry out DFM analysis according to described file parameters;
Step S24, the item file directly opening described interruption proceed DFM and analyze.
In embodiments of the present invention, described ODB++(Open Data Base, public data storehouse) file can be regarded as: just be the file in order to data sharing has, be not independently file.Described ODB++ file uses when database manipulation, can only import database, can not directly open separately.The file of described ODB++ form can attach BOM(Bill of Material, Bill of Material (BOM)) file, also can not attach BOM file.Described BOM refers to and adopts area of computer aided enterprise production management, first computing machine will be enable to read product slate manufactured by enterprise and all materials that will relate to, for the ease of computer recognizing, the product structure of expressing by diagram must be changed into certain data layout, this file describing product structure is in data format exactly Bill of Material (BOM), i.e. BOM.BOM, in different fields, has different titles.In PCB design field, BOM can be regarded as parts list, is a kind of technological document, biases toward product information and gathers.Described Gerber file is the file that current all circuit design software can produce, and is also called masterplate file in Electronic Assemblies industry; Gerber files is also called in PCB manufacturing industry.Gerber file is that a kind of light of international standard paints formatted file, located various line code by the form of coordinate, and Gerber file is the medium graph data of design being converted to PCB manufacture.Gerber file comprises RS-274-D and RS-274-X two kinds of forms, is the most general file layout the most widely in Electronic Assemblies industry; In the present invention one preferred embodiment, described Gerber file representative Gerber274X form.
System cloud gray model DFM script, identifies the file type need carrying out DFM analysis, judges file layout, and correspondingly import described file.Particularly, if the file that need carry out DFM analysis is ODB++ file (with or without subsidiary BOM file), after then system correspondingly imports described ODB++ file, automatically the setup of attribute of the same working lining of described file is completed, as reference point, setting components and parts attribute, loading components and parts attribute etc. that setting DFM analyzes according to the file parameters of the ODB++ file of described correspondence; After completing the setup of attribute of described ODB++ file, automatically carry out DFM analysis.If the file that need carry out DFM analysis is Gerber file, after system correspondingly imports described Gerber file, the file parameters according to the Gerber file of described correspondence carries out setup of attribute automatically; The attribute of same working lining not only will be set the setup of attribute of Gerber file, as reference point, setting components and parts attribute, loading components and parts attribute etc. that setting DFM analyzes; Also to carry out a layer setup of attribute to all working layer that described Gerber file comprises, and carry out corresponding layer as required and move.This is because one piece of PCB includes different working linings, the quantity of consequent Gerber file is more than one, when carrying out DFM and analyzing, just need the Gerber file for the different operating layer correspondence of PCB to carry out a layer setup of attribute, and carry out corresponding layer according to demand and move.After system completes the setup of attribute of described Gerber file automatically, carry out DFM analysis.If the item file that the file that need carry out DFM analysis interrupts before being system, then directly open described interruption item file and proceed DFM analysis.This is because system is monitored running status that DFM analyzes in real time and is preserved in real time progress that DFM analyzes and possess the function suspended or continue DFM and analyze.
The analysis automated method of DFM of the present invention, by according to identifying the method that the file parameters that file type and user submit to and the DFM mode that user selects automatically complete DFM and analyze, reaching and improving the beneficial effect that DFM analyzes reliability and high efficiency.
The analysis automated method second embodiment schematic flow sheet of DFM of the present invention with reference to Fig. 4, Fig. 4.As shown in Figure 4, in the method that DFM of the present invention is analysis automated, described generation DFM analysis report also also comprises step after described DFM analysis report is sent to the step of user:
Step S04, current carry out the end of file of DFM analysis after, judge whether the file that need carry out DFM analysis is all analyzed complete; If not, then step S05 is performed; If so, then DFM analysis all terminates;
Step S05, automatically start next file DFM analyze.
System monitors its running status in real time in the whole process run, and after carrying out the end of file of DFM analysis if current, system judges whether the file that the DFM that need carry out analyzes all is analyzed complete; If so, then DFM analysis all terminates; If not, then system putting in order according to file each in database, automatic selecting file and start next file DFM analyze.
The analysis automated method of DFM of the present invention by the running status of real-time monitoring system and after the project of the current DFM of carrying out analysis terminates and the file that need carry out DFM analysis is not yet all analyzed complete time, automatically the method that the DFM starting next item analyzes, achieve the function that system runs without interruption for 24 hours, reach the beneficial effect improving software utilization factor and DFM analysis efficiency to greatest extent.
The analysis automated device first example structure schematic diagram of DFM of the present invention with reference to Fig. 5, Fig. 5.As shown in Figure 5, the device that DFM of the present invention is analysis automated comprises:
Uploading administration module 01, for receiving file and the file parameters that need carry out DFM analysis, and uploading and preserving described file and file parameters;
Upload after administration module 01 receives the file and file parameters that need carry out DFM analysis, automatically described file and file parameters are uploaded onto the server, and be kept in server database.Upload administration module 01 and automatically upload described file and file parameters is realized by robotization DFM script.In a preferred embodiment, described DFM script adopts Perl language to write, but not and be limited to described Perl language, other language can not adopted to write yet.Automatically performing that DFM analyzes realizes the analysis automated core of DFM and main body.The automated analysis of DFM script makes DFM analysis software can automatically perform DFM according to the step of setting on computers to analyze, and DFM is analyzed more simple and efficient, the reliability of DFM have also been obtained maximum guarantee simultaneously.In a preferred embodiment, described DFM analysis software is vSure software.
DFM analysis module 02, for carrying out DFM analysis according to described file parameters to described file;
According to system pre-defined rule, DFM analysis module 02 carries out DFM analysis according to described file parameters automatically to described file.In the whole service process of system, DFM script according to predetermined process always at automatic operating; Meanwhile, DFM analysis module 02 monitors the running status also real-time progress of preserving DFM analysis that DFM analyzes in real time, and DFM analysis module 02 also can need to suspend or continuation DFM analysis according to user.DFM analysis module 02 takes full-automatic operation, there is not artificial participation in whole process, and each user all has the separate records of self project corresponding in a database, user can and the record can only found corresponding to self project, avoid the leakage of data to greatest extent.
Report produces and sending module 03, for generating DFM analysis report and described DFM analysis report being sent to user.
When the DFM that DFM analysis module 02 completes current operation analyzes, report produces and sending module 03 reads DFM information, automatically generates DFM analysis report and described report is automatically sent in mailbox when user registers.If make mistakes in the process that DFM script runs, report produces and sending module 03 also will by mail notification user and system manager, the position of reporting errors simultaneously.
Meanwhile, the DFM analysis report that report produces and sending module 03 generates automatically also can be used for carrying out alternately with EDA data.In a preferred embodiment, user can utilize corresponding program to inquire about and read DFM analysis report in eda tool.Particularly, user can create forms in eda tool, and the content in DFM analysis report is presented in forms.When user clicks the corresponding contents in described forms, may correspond to the corresponding problem in display DFM analysis report and highlighted and location is carried out to described problem, mark can be provided in PCB file simultaneously; User can judge the treatment state of produced problem in described DFM analysis report voluntarily according to mark corresponding in PCB file.In a preferred embodiment, user can adopt two kinds of different sortords to described DFM analysis report: according to type of error sequence or sort according to treatment state.
The analysis automated device of DFM of the present invention is by automatically uploading and preserving the file and file parameters that need carry out DFM analysis and carry out DFM analysis to described file, generate DFM to report and the method described DFM analysis report being sent to user simultaneously, the system that achieves is carried out efficiently for 24 hours incessantly, the beneficial effect of DFM analysis reliably, avoids the leakage of data and manually-operated error to greatest extent.
DFM analysis module one example structure schematic diagram in the analysis automated device of DFM of the present invention with reference to Fig. 6, Fig. 6.As shown in Figure 6, in the device that DFM of the present invention is analysis automated, DFM analysis module 02 specifically comprises:
Running status judging unit 021, allows to carry out DFM analysis for judging whether according to the real-time status of current system;
DFM analyzes running unit 022, for allow in current state to carry out DFM analyze time, identify the file type that need carry out DFM analysis and complete DFM according to the file type of described identification and file parameters and analyze;
File storage unit 023, during for not allowing in current state to carry out DFM analysis, the file described need being carried out DFM analysis arranges according to preset mode and stores.
Before carrying out DFM analysis, first running status judging unit 021 will judge whether to allow to carry out DFM analysis according to the real-time status of current system; The real-time status of described judgement current system is called running status judging unit 021 by DFM script and is carried out automatic decision.If the running status of current system allows to carry out DFM analysis, then DFM analyzes running unit 022 and identifies the file type that need carry out DFM analysis and automatically complete DFM according to the file type of described identification and file parameters and analyze.In a preferred embodiment, the mode that described DFM analyzes comprises different look-up tables and ERF(Electrical Rule Function corresponding with it, electric rule power function) rule.If the running status of current system does not allow to carry out DFM analysis, then DFM analyzes running unit 022 continuation wait, and the file that described need are carried out DFM analysis by file storage unit 023 stores, and is arranged according to preset mode by described file.The described time order and function can submitted to according to user according to preset mode arrangement carries out arranging or arranging according to the requirement of keeper.
The analysis automated device of DFM of the present invention judges whether to allow to carry out DFM analysis by the running status current according to system, and complete the method for DFM analysis according to the file type of described identification and file parameters when system allows to carry out DFM analysis, achieve the beneficial effect improving DFM analysis efficiency.
That in the analysis automated device of DFM of the present invention, DFM analyzes running unit one example structure schematic diagram with reference to Fig. 7, Fig. 7.As shown in Figure 7, in the device that DFM of the present invention is analysis automated, DFM analyzes running unit 022 and specifically comprises:
File type recognin unit 221, for identifying the file type need carrying out DFM analysis;
ODB++ runs subelement 222, for when the file that need carry out DFM analysis is ODB++ file, correspondingly imports described file and completes the setup of attribute of same working lining according to described file parameters, carrying out DFM analysis;
Gerber runs subelement 223, for when the file that need carry out DFM analysis is Gerber file, correspondingly import described file, complete the layer setup of attribute between the setup of attribute of same working lining and each working lining according to described file parameters and carry out corresponding layer and move, carry out DFM analysis;
Interrupt running paper subelement 224, for interrupt before being system at the file that need carry out DFM analysis item file time, the item file directly opening described interruption continues to perform.
File type recognin unit 221 runs DFM script, identifies the file type need carrying out DFM analysis, judges file layout, and use corresponding module to be automatically imported described file.Particularly, if the file that need carry out DFM analysis is ODB++ file, the file of described ODB++ form can attach BOM file, also BOM file can not be attached, after then ODB++ operation subelement 222 is correspondingly automatically imported described ODB++ file (having or the subsidiary BOM file of nothing), the file parameters corresponding according to described ODB++ file completes the setup of attribute of the same working lining of described file automatically, as reference point, setting components and parts attribute, loading components and parts attribute etc. that setting DFM analyzes; Automatically, after completing the setup of attribute of described ODB++ file, ODB++ runs subelement 222 and automatically carries out DFM analysis.If the file that need carry out DFM analysis is Gerber file, after Gerber operation subelement 223 is correspondingly automatically imported described Gerber file, the file parameters corresponding according to described Gerber file carries out setup of attribute automatically; The attribute of same working lining not only will be set the setup of attribute of Gerber file, as reference point, setting components and parts attribute, loading components and parts attribute etc. that setting DFM analyzes; Also to carry out a layer setup of attribute to all working layer that described Gerber file comprises, and carry out corresponding layer as required and move.This is because one piece of PCB includes different working linings, the quantity of consequent Gerber file is more than one, when carrying out DFM and analyzing, just need the corresponding corresponding Gerber file of different operating layer for PCB to carry out a layer setup of attribute, and carry out corresponding layer according to demand and move.After Gerber operation subelement 223 completes the setup of attribute of described Gerber file automatically, Gerber runs subelement 223 and automatically carries out DFM analysis.If the item file that the file that need carry out DFM analysis interrupts before being system, then interrupt running paper subelement 224 and directly open described interruption item file continuation execution DFM analysis.This is because system is monitored running status that DFM analyzes in real time and is preserved in real time progress that DFM analyzes and possess the function suspended or continue DFM and analyze.
The analysis automated device of DFM of the present invention, by according to identifying the method that file type and file parameters corresponding to described file type automatically complete DFM and analyze, reaching and improving the beneficial effect that DFM analyzes reliability and high efficiency.
The analysis automated device second example structure schematic diagram of DFM of the present invention with reference to Fig. 8, Fig. 8.As shown in Figure 8, the device that DFM of the present invention is analysis automated also comprises:
Automatic operation monitoring module 04, for current carry out the end of file of DFM analysis after, judge whether the file that need carry out DFM analysis is all analyzed complete; If not, then the DFM automatically starting next file analyzes.
Automatic operation monitoring module 04 monitors its running status in real time in the whole process run, and after carrying out the end of file of DFM analysis if current, automatic operation monitoring module 04 judges whether the file that need carry out DFM analysis is all analyzed complete; If so, then DFM analytic process all terminates; If not, then automatic operation monitoring module 04 putting in order according to file each in database, automatic selecting file the DFM starting next file analyze.
The analysis automated device of DFM of the present invention by the running status of real-time monitoring system and after the project of the current DFM of carrying out analysis terminates and the file that need carry out DFM analysis is not yet all analyzed complete time, automatically the method that the DFM starting next item analyzes, achieve the function that system runs without interruption for 24 hours, reach the beneficial effect improving software utilization factor and DFM analysis efficiency to greatest extent.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; directly or indirectly be used in the technical field that other are relevant, be all in like manner included in scope of patent protection of the present invention.