CN109471960A - The method and device of intelligent recognition PCB data tool layer name - Google Patents

The method and device of intelligent recognition PCB data tool layer name Download PDF

Info

Publication number
CN109471960A
CN109471960A CN201811345806.9A CN201811345806A CN109471960A CN 109471960 A CN109471960 A CN 109471960A CN 201811345806 A CN201811345806 A CN 201811345806A CN 109471960 A CN109471960 A CN 109471960A
Authority
CN
China
Prior art keywords
name
arrays
standard
layer
keyword
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811345806.9A
Other languages
Chinese (zh)
Other versions
CN109471960B (en
Inventor
阳辉
张凯瑞
李建华
易智茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Kinwong Electronic Co Ltd
Original Assignee
Shenzhen Kinwong Electronic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Kinwong Electronic Co Ltd filed Critical Shenzhen Kinwong Electronic Co Ltd
Priority to CN201811345806.9A priority Critical patent/CN109471960B/en
Publication of CN109471960A publication Critical patent/CN109471960A/en
Application granted granted Critical
Publication of CN109471960B publication Critical patent/CN109471960B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Character Discrimination (AREA)

Abstract

The invention discloses a kind of method and devices of intelligent recognition PCB data tool layer name, wherein the method for intelligent recognition PCB data tool layer name includes: the PCB data packet to be identified for obtaining and uploading;The all elements that the original name of tool layers all in pcb board data packet is configured in the structure of arrays A, the structure of arrays A of perl are standard characters;All elements in structure of arrays A are matched with preset standard configuration file respectively, in successful match, the result typing transformation result of successful match is reported;The standard name of tool layer is corrected;Output display transformation result report is carried out in the form of editable interactive interface.Technical solution of the present invention can intelligent Matching implementation name, improve recognition efficiency and accuracy rate, the convenient management to PCB data tool layer.

Description

The method and device of intelligent recognition PCB data tool layer name
Technical field
The present invention relates to wiring board skill aided design techniques field more particularly to a kind of intelligent recognition PCB data tool layers The method, apparatus and computer equipment and computer readable storage medium of name.
Background technique
In assist side, the PCB tool name that different clients provide has very big difference.Company has one to tool name Set maturation, complete authority file, tool making personnel need to provide client the reference format that name is converted to company.It is existing Have in technology, complete this work and mostly handled manually entirely by production person, or take system matches add the mode of manual inspection into Row.
For the first using full production manually, heavy workload and efficiency is lower.
Specific customer data, the PCB data that this kind of client provides can only be also handled using system matches for second The name of specific layer has certain regularity, and identity is very strong.The implementation name that conversion client provides often enters from client codes Hand, the implementation name that same class client provides has the similitude of height, by observing, summarizing the client to the tool of different attribute Nomenclature rule, write matching formula targetedly to be converted.Target string takes last sub- word after over-segmentation The name of reference format can be obtained in symbol string.Such as certain client, definition rule is as follows: 1c, 2c, 3c, 4c ... are line layer, head and the tail Digital representation is gtl/gbl, and sandwich digit is internal layer l2, l3 ... and so on;Sb and st layers is expressed as solder mask, and " T " is indicated For the face TOP, " B " is expressed as the face BOT.
Above-mentioned conversion plan haves the shortcomings that two is big significant: 1, maintenance workload is big, needs independently to compile for every a kind of client A set of matched is write, the matched for the newly-increased client that cannot timely update;2, matching way is single, the implementation name rule provided such as client Rule has change, is easy error and efficiency is lower.3, each customer data is different, and the result of identification may be different, is unfavorable for client The management of data.
In view of this, it is necessary to which the identification technology of current PCB data tool is further improved in proposition.
Summary of the invention
To solve an above-mentioned at least technical problem, the main object of the present invention is to provide a kind of intelligent recognition PCB data work Has the method and device of layer name.
To achieve the above object, first technical solution that the present invention uses are as follows: a kind of intelligent recognition PCB data work is provided Have the method for layer name, comprising:
Obtain the PCB data packet to be identified uploaded;
The original name of tool layers all in pcb board data packet is configured to the structure of arrays A of perl, the structure of arrays All elements in A are standard characters;
All elements in structure of arrays A are matched with preset standard configuration file respectively, in successful match, general It is reported with successful result typing transformation result;
The standard name of tool layer is corrected;
Output display transformation result report is carried out in the form of editable interactive interface.
Wherein, all elements by structure of arrays A are matched with preset standard configuration file respectively, further includes:
When it fails to match, by the element segments in structure of arrays A at several substrings;
The all elements that all substrings are configured in the structure of arrays B, the structure of arrays B of perl are standard Character string;And
All elements in structure of arrays B are matched with preset systematic learning dictionary respectively, when the key of a certain element When word is included, then the layer attribute of corresponding element and standard name in the corresponding tool layer of the keyword are obtained;And in layer category Property and standard name it is unique when, will include successful result typing transformation result report, layer attribute and standard name it is not unique when, Taking standard to name corresponding data maximum is standard value, and result typing transformation result is reported.
Wherein, described when it fails to match, by the element segments in structure of arrays A at several substrings, specifically include:
When it fails to match, the element in structure of arrays A is divided into several substrings in the form of connector.
It is wherein, described that output display transformation result report is carried out in the form of editable interactive interface, further includes:
Obtain the keyword of manual modification in transformation result report;
By keyword record into systematic learning dictionary;And
Systematic learning dictionary is updated.
It is wherein, described to obtain the layer attribute of corresponding element and standard name in the corresponding tool layer of the keyword, further includes:
When the layer attribute of corresponding element and standard name are more than 3 in the corresponding tool layer of keyword, which is sentenced Break as junk data, and removes the keyword.
To achieve the above object, second technical solution that the present invention uses are as follows: a kind of intelligent recognition PCB data work is provided Have the device of layer name, comprising:
Module is obtained, for obtaining the PCB data packet to be identified uploaded;
Preprocessing module, for the original name of tool layers all in pcb board data packet to be configured to the array knot of perl All elements in structure A, the structure of arrays A are standard characters;
Matching module, for all elements in structure of arrays A to be matched with preset standard configuration file respectively, When with success, the result typing transformation result of successful match is reported;
Correction module is corrected for the standard name to tool layer;
Output module, for carrying out output display transformation result report in the form of editable interactive interface.
Wherein, the matching module includes cutting unit, construction unit and processing unit;
The cutting unit is used for when it fails to match, by the element segments in structure of arrays A at several substrings;
The construction unit, for being configured to all substrings in the structure of arrays B, the structure of arrays B of perl All elements be standard characters;And
The processing unit, for all elements in structure of arrays B to be matched with preset systematic learning dictionary respectively, When the keyword of a certain element is included, then the layer attribute and standard of corresponding element in the corresponding tool layer of the keyword are obtained Name;And in layer attribute and unique standard name, the report of successful result typing transformation result will be included, in layer attribute and mark When quasi- name is not unique, taking standard to name corresponding data maximum is standard value, and result typing transformation result is reported.
Wherein, the cutting unit, is specifically used for:
When it fails to match, the element in structure of arrays A is divided into several substrings in the form of connector.
Wherein, further include acquiring unit, be used for:
Obtain the keyword of manual modification in transformation result report;
By keyword record into systematic learning dictionary;And
Systematic learning dictionary is updated.
Wherein, further include keyword cleaning modul, be used for:
When the layer attribute of corresponding element and standard name are more than 3 in the corresponding tool layer of keyword, which is sentenced Break as junk data, and removes the keyword.
To achieve the above object, the third technical solution that the present invention uses are as follows: a kind of computer equipment is provided, including is deposited Reservoir, processor and storage on a memory and the computer program that can run on a processor, described in the processor execution The step of above method is realized when computer program.
To achieve the above object, the 4th technical solution that the present invention uses are as follows: a kind of computer-readable storage medium is provided The step of matter is stored thereon with computer program, and the above method is realized when the computer program is executed by processor.
Technical solution of the present invention mainly passes through the PCB data packet to be identified for first obtaining upload, then by pcb board data The original name of all tool layers is configured to the structure of arrays A of perl in packet, and all elements in structure of arrays A are distinguished It matches with preset standard configuration file, in successful match, the result typing transformation result of successful match is reported, it is then right The standard name of tool layer is corrected, and output display transformation result report is finally carried out in the form of editable interactive interface, In this way, the intelligent recognition to PCB data tool layer may be implemented, the recognition efficiency and accuracy rate of tool layer can be improved, it is convenient Management to PCB data tool layer.
Detailed description of the invention
Fig. 1 is the method flow diagram of one embodiment of method of intelligent recognition PCB data tool layer name of the present invention;
Fig. 2 is the flow chart of step S30 in Fig. 1;
Fig. 3 is the block diagram of one embodiment of device of intelligent recognition PCB data tool layer name of the present invention;
Fig. 4 is the block diagram of matching module of the present invention;
Fig. 5 is the internal structure chart of one embodiment of the invention computer equipment.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its His embodiment, shall fall within the protection scope of the present invention.
It is to be appreciated that the description of " first ", " second " involved in the present invention etc. is used for description purposes only, and should not be understood as Its relative importance of indication or suggestion or the quantity for implicitly indicating indicated technical characteristic.Define as a result, " first ", The feature of " second " can explicitly or implicitly include at least one of the features.In addition, the technical side between each embodiment Case can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when the combination of technical solution Conflicting or cannot achieve when occur will be understood that the combination of this technical solution is not present, also not the present invention claims guarantor Within the scope of shield.
For the more convenient understanding to this programme, layer attribute, keyword and key-value pair are explained below, specifically such as Under:
1, layer attribute: each tool layer has attribute, is subdivided into steel mesh sold_paste, character silk_screen, resistance Weld sold_mask, route signal;
2, keyword: a character string of system identification is used in original name, such as: keyword to be in stt0744e.art sst;
3, key-value pair: key-value pair is common a kind of data type in software development, Key Value (key-value pair), can be with It is stored in Key Value, Value just can be inquired by Key.
Fig. 1 is please referred to, Fig. 1 is the method flow of one embodiment of method of intelligent recognition PCB data tool layer name of the present invention Figure.In embodiments of the present invention, the method for intelligent recognition PCB data tool layer name, comprising:
Step S10, the PCB data packet to be identified uploaded is obtained;
Step S20, the original name of tool layers all in pcb board data packet is configured to the structure of arrays A of perl, it is described All elements in structure of arrays A are standard characters;
Step S30, all elements in structure of arrays A are matched with preset standard configuration file respectively, matching at When function, the result typing transformation result of successful match is reported;
Step S40, the standard name of tool layer is corrected;
Step S50, output display transformation result report is carried out in the form of editable interactive interface.
In the embodiment of the present invention, the method for intelligent recognition PCB data tool layer name is capable of handling program intelligently to know Not, system needs to preset matches criteria file, systematic learning dictionary and rubbish dictionary before recognition.The structure of arrays Element in A can be with the keyword match of matches criteria file, element in structure of arrays A, the member in structure of arrays B Element can be with the keyword match of systematic learning dictionary, which can include, to be constantly updated in systematic learning dictionary, It is generated during accumulation, for clearing up not applicable keyword.Preset each matches criteria file, systematic learning dictionary with And after rubbish dictionary, the PCB data packet to be identified of available upload includes multiple works to be identified in PCB data packet Has layer.Using processing routine read matches criteria file, by all elements in structure of arrays A respectively with matches criteria file Keywords matching reports the result typing transformation result of successful match in successful match, then orders the standard of tool layer Name is corrected.Above-mentioned matching way can only be converted from the angle of individual tool name, it is also necessary to enterprising in general levels Row analysis correction.Correction principle is to name ectonexine to comb, and is allowed to meet conventional naming rule.Finally with editable interaction The form at interface exports, and facilitates the recognition result of producer's check system, to there are the name manual modifications of error.
Wherein, above-mentioned matches criteria file is using original name as matching object, by the extremely strong original name of regularity Arranged and include in the form of regular expression (such as mask_top.pho, the form of regular expression is /mask [_ |- |] top/), data structure be key-value pair (Key herein corresponds to the regular expression form of original name, Value pairs Answer standard name and layer attribute), corresponding, unique standard name and layer category can be derived that according to the original name being matched to Property.Above-mentioned systematic learning dictionary is the setting that this system embodies its intelligence, when client mentions using keyword as matching object The original tool name of confession can not matching criteria matching text, illustrate the implementation name be system for the first time contact, need the person of production manual The name of typing standard, layer attribute, subsequent program parse implementation name, obtain keyword, together with standard name and layer combinations of attributes For the identical data structure of matches criteria file, when the implementation name occurs again, program is by the number of cumulative appearance, the data It is to discriminate between a keyword and corresponds to index in the case of the name of multiple standards.Above-mentioned processing routine can read matches criteria text Part, clearing system learn dictionary and rubbish dictionary, execute conversion logic and export transformation result report.
The present invention mainly passes through the PCB data packet to be identified for first obtaining upload, then by works all in pcb board data packet The original name of tool layer is configured to the structure of arrays A of perl, and by all elements in structure of arrays A respectively with preset mark Quasi- configuration file matching is reported the result typing transformation result of successful match, in successful match then to the mark of tool layer Quasi- name is corrected, and output display transformation result report is finally carried out in the form of editable interactive interface, in this way, can be real Now to the intelligent recognition of PCB data tool layer, the recognition efficiency and accuracy rate of tool layer can be improved, it is convenient to PCB data work Has the management of layer.
Referring to figure 2., Fig. 2 is the flow chart of step S30 in Fig. 1.In a specific embodiment, described by structure of arrays All elements in A are matched with preset standard configuration file respectively, further includes:
Step S31, when it fails to match, by the element segments in structure of arrays A at several substrings;
Step S32, all elements being configured to all substrings in the structure of arrays B, the structure of arrays B of perl It is standard characters;And
Step S33, all elements in structure of arrays B are matched with preset systematic learning dictionary respectively, when certain unitary When the keyword of element is included, then the layer attribute of corresponding element and standard name in the corresponding tool layer of the keyword are obtained;With And in layer attribute and unique standard name, the report of successful result typing transformation result will be included, is named in layer attribute and standard When not unique, taking standard to name corresponding data maximum is standard value, and result typing transformation result is reported.
In the present embodiment, when it fails to match, by the element in structure of arrays A with connector '-', ' _ ', ' ' form Segmentation, forms several substrings.If Ai be mask_top.pho, then Ai segmentation after formed substring be mask, top,pho.Wherein, Ai is the element in A.All substrings are then configured to the structure of arrays B of perl.Recycle array knot Structure B all elements Bj, judges whether keyword Bj is included into systematic learning dictionary, is such as included, and obtains layer corresponding to Bj All standard lives corresponding to certain elements A i in original tool layer can be obtained after B completes circulation in attribute and name quantity Name and layer attribute report result typing into transformation result if standard name, attribute are unique.Not such as standard name or layer attribute Uniquely, taking standard to name corresponding data maximum is standard value, and result typing is reported into transformation result.
It is described that output display transformation result report is carried out in the form of editable interactive interface in a specific embodiment It accuses, further includes:
Obtain the keyword of manual modification in transformation result report;
By keyword record into systematic learning dictionary;And
Systematic learning dictionary is updated.In the present embodiment, producer can be on editable interactive interface manually Transformation result report is modified, to improve the accuracy rate of identification to there are the names of error to carry out manual modification.
In a specific embodiment, it is described obtain in the corresponding tool layer of the keyword layer attribute of corresponding element and Standard name, further includes:
When the layer attribute of corresponding element and standard name are more than 3 in the corresponding tool layer of keyword, which is sentenced Break as junk data, and removes the keyword.Then will in quantity whether more than 3 in crucial corresponding layer attribute and name The keyword is judged as junk data, and the keyword can be removed by rubbish dictionary.
Referring to figure 3., Fig. 3 is the module box of one embodiment of device of intelligent recognition PCB data tool layer name of the present invention Figure.In the embodiment of the present invention, the device of intelligent recognition PCB data tool layer name, comprising:
Module 10 is obtained, for obtaining the PCB data packet to be identified uploaded;
Preprocessing module 20, for the original name of tool layers all in pcb board data packet to be configured to the array of perl All elements in structure A, the structure of arrays A are standard characters;
Matching module 30, for all elements in structure of arrays A to be matched with preset standard configuration file respectively, When successful match, the result typing transformation result of successful match is reported;
Correction module 40 is corrected for the standard name to tool layer;
Output module 50, for carrying out output display transformation result report in the form of editable interactive interface.
In the embodiment of the present invention, the device of intelligent recognition PCB data tool layer name is capable of handling program intelligently to know Not, the device needs to preset matches criteria file, systematic learning dictionary and rubbish dictionary before recognition.The array knot Element in structure A can be with the keyword match of matches criteria file, element in structure of arrays A, in structure of arrays B Element can be with the keyword match of systematic learning dictionary, which can include, with systematic learning dictionary constantly more Newly, it is generated during accumulating, for clearing up not applicable keyword.Presetting each matches criteria file, systematic learning word Behind library and rubbish dictionary, by obtaining module 10, the PCB data packet to be identified of upload is obtained, includes in PCB data packet Multiple tool layers to be identified, can be by the original name structure of tool layers all in pcb board data packet by preprocessing module 20 Build the structure of arrays A for perl.Matches criteria file is read using processing routine and passes through matching module 30, by structure of arrays A In all elements Keywords matching with matches criteria file respectively, in successful match, by the result typing of successful match Then transformation result report is corrected the standard name of tool layer by correction module 40.Above-mentioned matching way can only be from The angle of individual tool name is converted, it is also necessary to carry out analysis correction on general levels.Correction principle is to ectonexine Name combing, is allowed to meet conventional naming rule.It is exported in the form of editable interactive interface finally by output module 50, Facilitate the recognition result of producer's check system, to there are the name manual modifications of error.
Referring to figure 4., Fig. 4 is the block diagram of matching module 30 of the present invention.It is described in a specific embodiment Matching module 30 includes cutting unit, construction unit and processing unit;
The cutting unit 31 is used for when it fails to match, by the element segments in structure of arrays A at several sub- characters String;
The construction unit 32, for all substrings to be configured to the structure of arrays B, the structure of arrays B of perl In all elements be standard characters;And
The processing unit 33, for by all elements in structure of arrays B respectively with preset systematic learning dictionary Match, when the keyword of a certain element is included, then obtain in the corresponding tool layer of the keyword layer attribute of corresponding element and Standard name;And in layer attribute and unique standard name, the report of successful result typing transformation result will be included, in layer attribute And standard name it is not unique when, take standard to name corresponding data maximum for standard value, and by result typing transformation result report It accuses.
In the present embodiment, when it fails to match, cutting unit 31 divides the element in structure of arrays A in the form of connector It is cut into several substrings.Specifically, cutting unit 31 is by the element in structure of arrays A with connector when it fails to match The form segmentation of '-', ' _ ', ' ', forms several substrings.If Ai is mask_top.pho, then formed after Ai segmentation Substring is mask, top, pho.Wherein, Ai is the element in A.Then pass through construction unit 32 for all substring structures Build the structure of arrays B for perl.Structure of arrays B all elements Bj is recycled, and 33 whether judges keyword Bj through the processing unit It is included into systematic learning dictionary, is such as included, obtain layer attribute corresponding to Bj and name quantity, after B completes circulation, i.e., All standard names and layer attribute corresponding to certain elements A i in original tool layer can be obtained, if standard name, attribute are unique, Result typing is reported into transformation result.If standard name or layer attribute be not unique, standard is taken to name corresponding data maximum For standard value, result typing is reported into transformation result.
In a specific embodiment, further includes acquiring unit, is used for:
Obtain the keyword of manual modification in transformation result report;
By keyword record into systematic learning dictionary;And
Systematic learning dictionary is updated.
In the present embodiment, it can be repaired manually on editable interactive interface by obtaining the available producer of module 10 The keyword changed, to improve the accuracy rate of identification to there are the names of error to carry out manual modification.
In a specific embodiment, further includes keyword cleaning modul, is used for:
When the layer attribute of corresponding element and standard name are more than 3 in the corresponding tool layer of keyword, which is sentenced Break as junk data, and removes the keyword.
In the present embodiment, which can be in quantity in crucial corresponding layer attribute and name It is no more than 3, then the keyword is judged as junk data, and the keyword can be removed by rubbish dictionary.
Referring to figure 5., Fig. 5 is the internal structure chart of one embodiment of the invention computer equipment.In one embodiment, the meter Calculating machine equipment includes processor, memory and the network interface connected by system bus.Wherein, the processing of the computer equipment Device is for providing calculating and control ability.The memory of the computer equipment includes non-volatile memory medium, built-in storage.It should Non-volatile memory medium is stored with operating system, computer program and database.The built-in storage is non-volatile memories Jie The operation of operating system and computer program in matter provides environment.The network interface of the computer equipment is used for and external end End passes through network connection communication.To realize a kind of intelligent recognition PCB data tool layer when the computer program is executed by processor The method of name.
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor are realized when executing computer program in above each embodiment of the method The step of.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated The step in above each embodiment of the method is realized when machine program is executed by processor.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all at this Under the inventive concept of invention, using equivalent structure transformation made by description of the invention and accompanying drawing content, or directly/use indirectly It is included in other related technical areas in scope of patent protection of the invention.

Claims (10)

1. a kind of method of intelligent recognition PCB data tool layer name, which is characterized in that the intelligent recognition PCB data tool layer Name method include:
Obtain the PCB data packet to be identified uploaded;
The original name of tool layers all in pcb board data packet is configured in the structure of arrays A, the structure of arrays A of perl All elements be standard characters;
All elements in structure of arrays A are matched with preset standard configuration file respectively, in successful match, will matching at The result typing transformation result of function is reported;
The standard name of tool layer is corrected;
Output display transformation result report is carried out in the form of editable interactive interface.
2. the method for intelligent recognition PCB data tool layer name as described in claim 1, which is characterized in that described by array knot All elements in structure A are matched with preset standard configuration file respectively, further includes:
When it fails to match, by the element segments in structure of arrays A at several substrings;
The all elements that all substrings are configured in the structure of arrays B, the structure of arrays B of perl are standard character String;And
All elements in structure of arrays B are matched with preset systematic learning dictionary respectively, when the keyword quilt of a certain element When including, then the layer attribute of corresponding element and standard name in the corresponding tool layer of the keyword are obtained;And in layer attribute and When standard name is unique, the report of successful result typing transformation result will be included and take mark in layer attribute and not unique standard name It is standard value that standard, which names corresponding data maximum, and result typing transformation result is reported.
3. the method for intelligent recognition PCB data tool layer name as claimed in claim 2, which is characterized in that described to be lost in matching When losing, by the element segments in structure of arrays A at several substrings, specifically include:
When it fails to match, the element in structure of arrays A is divided into several substrings in the form of connector.
4. the method for intelligent recognition PCB data tool layer name as claimed in claim 3, which is characterized in that described with editable The form of interactive interface carries out output display transformation result report, further includes:
Obtain the keyword of manual modification in transformation result report;
By keyword record into systematic learning dictionary;And
Systematic learning dictionary is updated.
5. the method for intelligent recognition PCB data tool layer name as claimed in claim 4, which is characterized in that described acquisition pass The layer attribute of corresponding element and standard name in the corresponding tool layer of key word, further includes:
When the layer attribute of corresponding element and standard name are more than 3 in the corresponding tool layer of keyword, which is judged as Junk data, and remove the keyword.
6. a kind of device of intelligent recognition PCB data tool layer name, which is characterized in that the intelligent recognition PCB data tool layer Name device include:
Module is obtained, for obtaining the PCB data packet to be identified uploaded;
Preprocessing module, for the original name of tool layers all in pcb board data packet to be configured to the structure of arrays A of perl, All elements in the structure of arrays A are standard characters;
Matching module, for all elements in structure of arrays A to be matched with preset standard configuration file respectively, matching at When function, the result typing transformation result of successful match is reported;
Correction module is corrected for the standard name to tool layer;
Output module, for carrying out output display transformation result report in the form of editable interactive interface.
7. the device of intelligent recognition PCB data tool layer name as claimed in claim 6, which is characterized in that the matching module Including cutting unit, construction unit and processing unit;
The cutting unit is used for when it fails to match, by the element segments in structure of arrays A at several substrings;
The construction unit, the institute for being configured to all substrings in the structure of arrays B, the structure of arrays B of perl Having element is standard characters;And
The processing unit, for matching all elements in structure of arrays B with preset systematic learning dictionary respectively, when certain When the keyword of one element is included, then the layer attribute of corresponding element and standard life in the corresponding tool layer of the keyword are obtained Name;And in layer attribute and unique standard name, the report of successful result typing transformation result will be included, in layer attribute and standard When naming not unique, taking standard to name corresponding data maximum is standard value, and result typing transformation result is reported.
8. the device of intelligent recognition PCB data tool layer name as claimed in claim 7, which is characterized in that the cutting unit, It is specifically used for:
When it fails to match, the element in structure of arrays A is divided into several substrings in the form of connector.
9. the device of intelligent recognition PCB data tool layer name as claimed in claim 8, which is characterized in that further include obtaining list Member is used for:
Obtain the keyword of manual modification in transformation result report;
By keyword record into systematic learning dictionary;And
Systematic learning dictionary is updated.
10. the device of intelligent recognition PCB data tool layer name as claimed in claim 9, which is characterized in that further include keyword Cleaning modul is used for:
When the layer attribute of corresponding element and standard name are more than 3 in the corresponding tool layer of keyword, which is judged as Junk data, and remove the keyword.
CN201811345806.9A 2018-11-13 2018-11-13 Method and device for intelligently identifying tool layer names of PCB (printed circuit board) data Active CN109471960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811345806.9A CN109471960B (en) 2018-11-13 2018-11-13 Method and device for intelligently identifying tool layer names of PCB (printed circuit board) data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811345806.9A CN109471960B (en) 2018-11-13 2018-11-13 Method and device for intelligently identifying tool layer names of PCB (printed circuit board) data

Publications (2)

Publication Number Publication Date
CN109471960A true CN109471960A (en) 2019-03-15
CN109471960B CN109471960B (en) 2020-10-13

Family

ID=65672373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811345806.9A Active CN109471960B (en) 2018-11-13 2018-11-13 Method and device for intelligently identifying tool layer names of PCB (printed circuit board) data

Country Status (1)

Country Link
CN (1) CN109471960B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112668667A (en) * 2021-01-22 2021-04-16 上海华虹宏力半导体制造有限公司 Method for scanning layout file

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103558926A (en) * 2013-11-12 2014-02-05 金蝶软件(中国)有限公司 Geographical name entry method and geographical name entry device
CN105550353A (en) * 2015-12-28 2016-05-04 歌尔声学股份有限公司 Regular expression based form input method and system
CN106802898A (en) * 2015-11-26 2017-06-06 北大方正集团有限公司 Data entry method and device
CN108108373A (en) * 2016-11-25 2018-06-01 阿里巴巴集团控股有限公司 A kind of name-matches method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103558926A (en) * 2013-11-12 2014-02-05 金蝶软件(中国)有限公司 Geographical name entry method and geographical name entry device
CN106802898A (en) * 2015-11-26 2017-06-06 北大方正集团有限公司 Data entry method and device
CN105550353A (en) * 2015-12-28 2016-05-04 歌尔声学股份有限公司 Regular expression based form input method and system
CN108108373A (en) * 2016-11-25 2018-06-01 阿里巴巴集团控股有限公司 A kind of name-matches method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112668667A (en) * 2021-01-22 2021-04-16 上海华虹宏力半导体制造有限公司 Method for scanning layout file
CN112668667B (en) * 2021-01-22 2024-05-14 上海华虹宏力半导体制造有限公司 Layout file scanning method

Also Published As

Publication number Publication date
CN109471960B (en) 2020-10-13

Similar Documents

Publication Publication Date Title
CN109522746A (en) A kind of data processing method, electronic equipment and computer storage medium
CN110765770A (en) Automatic contract generation method and device
US20160252890A1 (en) Method for searching cross-regional power supply area based on cim model and system thereof
CN113870046B (en) Power equipment fault diagnosis method and equipment
US10261967B2 (en) Data extraction
CN111680634A (en) Document file processing method and device, computer equipment and storage medium
DE102014116369A1 (en) MANAGEMENT OF LANGUAGE MARKERS IN INTERNATIONAL DATA STORAGE
CN112232047A (en) Method, system, equipment and medium for multi-dimensional data acquisition and automatic summarization
CN105260300B (en) Service test method based on accounting standard universal classification standard application platform
CN114153980A (en) Knowledge graph construction method and device, inspection method and storage medium
CN106294128B (en) A kind of automated testing method and device exporting report data
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
CN111931471A (en) Form collection method and device, electronic equipment and storage medium
CN114547077A (en) Intelligent processing system and method for basic government affair form data
CN113568895A (en) Database data processing method and device and electronic equipment
CN109214725A (en) Insure question processing method and device
CN110737432B (en) Script aided design method and device based on root list
CN111061733A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN113505078B (en) Configuration file updating method, device, equipment and storage medium
CN109471960A (en) The method and device of intelligent recognition PCB data tool layer name
CN111125069A (en) Data cleaning and fusing system
CN109542890A (en) Data modification method, device, computer equipment and storage medium
CN108711074A (en) Business sorting technique, device, server and readable storage medium storing program for executing
CN110472125B (en) Multistage page cascading crawling method and equipment based on web crawler
CN110851446B (en) Data table generation method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant