CN109471960B - Method and device for intelligently identifying tool layer names of PCB (printed circuit board) data - Google Patents

Method and device for intelligently identifying tool layer names of PCB (printed circuit board) data Download PDF

Info

Publication number
CN109471960B
CN109471960B CN201811345806.9A CN201811345806A CN109471960B CN 109471960 B CN109471960 B CN 109471960B CN 201811345806 A CN201811345806 A CN 201811345806A CN 109471960 B CN109471960 B CN 109471960B
Authority
CN
China
Prior art keywords
array structure
standard
elements
tool
matching
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.)
Active
Application number
CN201811345806.9A
Other languages
Chinese (zh)
Other versions
CN109471960A (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

Images

Landscapes

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

Abstract

The invention discloses a method and a device for intelligently identifying names of tool layers of PCB data, wherein the method for intelligently identifying the names of the tool layers of the PCB data comprises the following steps: acquiring the uploaded PCB data packet to be identified; constructing original names of all tool layers in a PCB data package into an array structure A of perl, wherein all elements in the array structure A are standard character strings; respectively matching all elements in the array structure A with a preset standard configuration file, and inputting a successfully matched result into a conversion result report when the matching is successful; correcting the standard naming of the tool layer; and outputting and displaying the conversion result report in a form of an editable interactive interface. The technical scheme of the invention can intelligently match the tool name, improve the recognition efficiency and accuracy and facilitate the management of the PCB data tool layer.

Description

Method and device for intelligently identifying tool layer names of PCB (printed circuit board) data
Technical Field
The invention relates to the technical field of circuit board technology aided design, in particular to a method and a device for intelligently identifying the name of a tool layer of PCB data, computer equipment and a computer readable storage medium.
Background
In the circuit board, the naming of PCB tools provided by different customers varies greatly. The company has a full set of specifications for the tool name and the tool maker needs to convert the client-provided name into the company's standard format. In the prior art, the completion of the work is mostly processed by a manufacturer manually or is carried out by adopting a mode of system matching and manual inspection.
Aiming at the first method, full-manual manufacturing is adopted, so that the workload is large and the efficiency is lower.
Aiming at the second method, the system matching is adopted, and only specific customer data can be processed, and the naming of specific layers of PCB data provided by customers has certain regularity and strong identification. The tool names provided by the conversion clients are usually started from client codes, the tool names provided by the clients of the same class have high similarity, and the conversion is carried out by specifically writing a matching formula by observing and summarizing the naming rules of the clients for tools with different attributes. After the target character string is segmented, the last sub-character string is taken to obtain the name in the standard format. If a client defines the rules as follows, 1c, 2c, 3c and 4c … are line layers, head and tail numbers are represented as gtl/gbl, middle numbers are inner layers l2, l3 … and the like; sb and st layers are denoted as solder resists, "T" is denoted as TOP surface, "B" is denoted as BOT surface.
The above-described conversion scheme suffers from two significant drawbacks: 1. the maintenance workload is large, a set of matching formulas needs to be independently compiled for each type of clients, and the matching formulas of the newly added clients cannot be updated in time; 2. the matching mode is single, and if the rule of the tool name provided by the client is changed, the error is easy to make and the efficiency is low. 3. The identification result may be different for each client material, which is not favorable for the management of the client material.
In view of the above, there is a need to provide further improvements to the identification technology of the present PCB tool.
Disclosure of Invention
To solve at least one of the above technical problems, the present invention provides a method and an apparatus for intelligently identifying names of tool layers of PCB data.
In order to achieve the above purpose, the first technical solution adopted by the present invention is: the method for intelligently identifying the name of the tool layer of the PCB data comprises the following steps:
acquiring the uploaded PCB data packet to be identified;
constructing original names of all tool layers in a PCB data package into an array structure A of perl, wherein all elements in the array structure A are standard character strings;
respectively matching all elements in the array structure A with a preset standard configuration file, and inputting a successfully matched result into a conversion result report when the matching is successful;
correcting the standard naming of the tool layer;
and outputting and displaying the conversion result report in a form of an editable interactive interface.
Wherein, the matching of all elements in the array structure a with the preset standard configuration file respectively further comprises:
when the matching fails, dividing elements in the array structure A into a plurality of substrings;
constructing all the substrings into an array structure B of perl, wherein all elements in the array structure B are standard strings; and
matching all elements in the array structure B with a preset system learning word stock respectively, and acquiring layer attributes and standard names of corresponding elements in a tool layer corresponding to a keyword when the keyword of the certain element is recorded; and when the layer attribute and the standard name are unique, recording the successfully recorded result into a conversion result report, and when the layer attribute and the standard name are not unique, taking the maximum data corresponding to the standard name as a standard value and recording the result into the conversion result report.
When the matching fails, the element in the array structure a is divided into a plurality of substrings, which specifically includes:
when the matching fails, the elements in the array structure A are divided into a plurality of substrings in the form of connectors.
Wherein, the outputting and displaying the conversion result report in the form of the editable interactive interface further comprises:
acquiring manually modified keywords in a conversion result report;
recording the keywords into a system learning word bank; and
and updating the system learning word bank.
Wherein, the obtaining of the layer attribute and the standard name of the corresponding element in the tool layer corresponding to the keyword further includes:
and when the layer attribute and the standard name of the corresponding element in the tool layer corresponding to the keyword exceed 3, judging the keyword as junk data, and clearing the keyword.
In order to achieve the purpose, the second technical scheme adopted by the invention is as follows: the utility model provides a device of intelligence discernment PCB data tool layer name, includes:
the acquisition module is used for acquiring the uploaded PCB data packet to be identified;
the system comprises a preprocessing module, a data processing module and a data processing module, wherein the preprocessing module is used for constructing original names of all tool layers in a PCB (printed circuit board) data packet into an array structure A of perl, and all elements in the array structure A are standard character strings;
the matching module is used for respectively matching all elements in the array structure A with a preset standard configuration file, and when the matching is successful, inputting the successfully matched result into a conversion result report;
the correcting module is used for correcting the standard name of the tool layer;
and the output module is used for outputting and displaying the conversion result report in the form of an editable interactive interface.
The matching module comprises a segmentation unit, a construction unit and a processing unit;
the dividing unit is used for dividing the elements in the array structure A into a plurality of substrings when the matching fails;
the building unit is used for building all the substrings into an array structure B of perl, and all elements in the array structure B are standard character strings; and
the processing unit is used for respectively matching all elements in the array structure B with a preset system learning word stock, and acquiring the layer attribute and standard name of the corresponding element in the tool layer corresponding to a keyword when the keyword of the certain element is included; and when the layer attribute and the standard name are unique, recording the successfully recorded result into a conversion result report, and when the layer attribute and the standard name are not unique, taking the maximum data corresponding to the standard name as a standard value and recording the result into the conversion result report.
Wherein the segmentation unit is specifically configured to:
when the matching fails, the elements in the array structure A are divided into a plurality of substrings in the form of connectors.
Wherein, still include the acquisition unit, be used for:
acquiring manually modified keywords in a conversion result report;
recording the keywords into a system learning word bank; and
and updating the system learning word bank.
Wherein, still include keyword clearance module for:
and when the layer attribute and the standard name of the corresponding element in the tool layer corresponding to the keyword exceed 3, judging the keyword as junk data, and clearing the keyword.
In order to achieve the above object, the third technical solution adopted by the present invention is: there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
In order to achieve the above object, the fourth technical solution adopted by the present invention is: a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
The technical scheme of the invention mainly comprises the steps of obtaining an uploaded PCB data packet to be identified, constructing the original names of all tool layers in the PCB data packet into perl array structure A, matching all elements in the array structure A with a preset standard configuration file respectively, inputting the successfully matched result into a conversion result report when the matching is successful, correcting the standard names of the tool layers, and outputting and displaying the conversion result report in an editable interactive interface mode.
Drawings
FIG. 1 is a flowchart illustrating an embodiment of a method for intelligently identifying tool layer names of PCB data according to the present invention;
FIG. 2 is a flowchart of step S30 in FIG. 1;
FIG. 3 is a block diagram of an embodiment of an apparatus for intelligently identifying names of tool layers of PCB data according to the present invention;
FIG. 4 is a block diagram of a matching module of the present invention;
fig. 5 is an internal structural diagram of a computer device according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the description of the invention relating to "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying any relative importance or implicit indication of the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
To facilitate understanding of the present solution, the following explains the layer attributes, keywords, and key-value pairs, specifically as follows:
1. layer properties: each tool layer has attributes and is subdivided into a steel mesh field _ past, a character silk _ screen, a resistance welding field _ mask and a line signal;
2. key words: a string used for system identification in the original naming, such as: the keyword in stt0744e.art is sst;
3. key-value pair: the Key Value pair is a data type commonly used in software development, and can be stored in Key Value, and the Value can be queried through the Key.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for intelligently identifying a tool layer name of PCB data according to an embodiment of the present invention. In an embodiment of the present invention, the method for intelligently identifying the names of tool layers of PCB data includes:
step S10, obtaining the uploaded PCB data packet to be identified;
s20, constructing original names of all tool layers in a PCB data package into an array structure A of perl, wherein all elements in the array structure A are standard character strings;
step S30, matching all elements in the array structure A with a preset standard configuration file respectively, and when the matching is successful, inputting the result of the successful matching into a conversion result report;
step S40, correcting the standard naming of the tool layer;
and step S50, outputting and displaying the conversion result report in the form of an editable interactive interface.
In the embodiment of the invention, the method for intelligently identifying the tool layer names of the PCB data can process programs to realize intelligent identification, and a system needs to preset a standard matching file, a system learning word bank and a garbage word bank before identification. The elements in the array structure A can be matched with keywords of a standard matching file, the elements in the array structure A, the elements in the array structure B can be matched with keywords of a system learning word stock, and the garbage word stock can be recorded so as to be generated in the process of continuously updating and accumulating the system learning word stock and be used for clearing inapplicable keywords. After the matching files, the system learning word stock and the garbage word stock of each standard are preset, the uploaded PCB data packet to be identified can be obtained, and the PCB data packet comprises a plurality of tool layers to be identified. And reading the standard matching file by using a processing program, respectively matching all elements in the array structure A with the keywords of the standard matching file, inputting the successfully matched result into a conversion result report when the matching is successful, and then correcting the standard name of the tool layer. The above matching method can only be converted from the perspective of a single tool name, and needs to be analyzed and corrected at an overall level. The correction principle is that the inner layer and the outer layer are named and combed to conform to the conventional naming rule. And finally, outputting the result in the form of an editable interactive interface, so that a maker can conveniently check the identification result of the system, and manually modifying the name with the error.
The standard matching file takes original naming as a matching object, the original naming with strong regularity is sorted and recorded in a regular expression form (for example, mask _ top. pho, the regular expression form is/mask [ _ i- | ] top /), the data structure is a Key Value pair (in this text, Key corresponds to the original named regular expression form, and Value corresponds to standard naming and layer attribute), and the corresponding and unique standard naming and layer attribute can be obtained according to the matched original naming. The system learning word stock takes keywords as matching objects, the intelligent setting of the system is embodied by the system, when an original tool name provided by a client cannot match a standard matching text, the tool name is indicated as the first contact of the system, a manufacturer needs to manually input standard naming and layer attributes, then a program analyzes the tool name to obtain the keywords, the keywords are combined with the standard naming and the layer attributes to form a data structure with the same standard matching file, when the tool name appears again, the program accumulates the occurrence times, and the data is an index for distinguishing one keyword corresponding to a plurality of standard naming conditions. The processing program can read the standard matching file, arrange the system learning word stock and the garbage word stock, execute the conversion logic and output a conversion result report.
The method mainly comprises the steps of obtaining an uploaded PCB data packet to be identified, constructing the original names of all tool layers in the PCB data packet into perl array structure A, matching all elements in the array structure A with a preset standard configuration file respectively, inputting the successfully matched result into a conversion result report when the matching is successful, correcting the standard names of the tool layers, and finally outputting and displaying the conversion result report in an editable interactive interface mode.
Referring to fig. 2, fig. 2 is a flowchart of step S30 in fig. 1. In a specific embodiment, the matching all the elements in the array structure a with the preset standard configuration file respectively further includes:
step S31, when the matching fails, dividing the elements in the array structure A into a plurality of substrings;
step S32, constructing all sub character strings into an array structure B of perl, wherein all elements in the array structure B are standard character strings; and
step S33, respectively matching all elements in the array structure B with a preset system learning word stock, and acquiring the layer attribute and standard name of the corresponding element in the tool layer corresponding to a keyword when the keyword of the certain element is included; and when the layer attribute and the standard name are unique, recording the successfully recorded result into a conversion result report, and when the layer attribute and the standard name are not unique, taking the maximum data corresponding to the standard name as a standard value and recording the result into the conversion result report.
In this embodiment, when matching fails, the elements in the array structure a are divided into sub character strings in the form of connectors ' - ', and', to form sub character strings. If Ai is mask _ top, then the substring formed after Ai segmentation is mask, top, pho. Wherein Ai is an element in A. All substrings are then constructed as array structure B of perl. And circulating all elements Bj of the array structure B, judging whether the keywords Bj are recorded in a system learning word bank or not, if so, acquiring the layer attribute and the naming number corresponding to the Bj, and after B finishes circulation, acquiring all standard names and layer attributes corresponding to some elements Ai in the original tool layer, if so, the standard names and the attributes are unique, and inputting the result into a conversion result report. If the standard naming or the layer attribute is not unique, the maximum data corresponding to the standard naming is taken as a standard value, and the result is recorded into a conversion result report.
In a specific embodiment, the outputting and displaying the conversion result report in the form of an editable interactive interface further includes:
acquiring manually modified keywords in a conversion result report;
recording the keywords into a system learning word bank; and
and updating the system learning word bank. In this embodiment, a maker may manually modify the conversion result report on the editable interactive interface to manually modify the name with the error, thereby improving the accuracy of the identification.
In a specific embodiment, the obtaining the layer attribute and the standard name of the corresponding element in the tool layer corresponding to the keyword further includes:
and when the layer attribute and the standard name of the corresponding element in the tool layer corresponding to the keyword exceed 3, judging the keyword as junk data, and clearing the keyword. And if the number of the layer attributes and the names corresponding to the key times exceeds 3, judging the key words as junk data, and clearing the key words through a junk word bank.
Referring to fig. 3, fig. 3 is a block diagram illustrating an embodiment of an apparatus for intelligently identifying names of tool layers of PCB data according to the present invention. In an embodiment of the present invention, the apparatus for intelligently identifying names of tool layers of PCB data comprises:
the acquisition module 10 is used for acquiring the uploaded PCB data packets to be identified;
the preprocessing module 20 is configured to construct original names of all tool layers in a PCB data package into an array structure a of perl, where all elements in the array structure a are standard character strings;
the matching module 30 is used for respectively matching all elements in the array structure A with a preset standard configuration file, and when the matching is successful, inputting the successfully matched result into a conversion result report;
a correction module 40 for correcting the standard nomenclature of the tool layer;
and the output module 50 is used for outputting and displaying the conversion result report in the form of an editable interactive interface.
In the embodiment of the invention, the device for intelligently identifying the tool layer names of the PCB data can process programs to realize intelligent identification, and standard matching files, system learning word banks and garbage word banks need to be preset in the device before identification. The elements in the array structure A can be matched with keywords of a standard matching file, the elements in the array structure A, the elements in the array structure B can be matched with keywords of a system learning word stock, and the garbage word stock can be recorded so as to be generated in the process of continuously updating and accumulating the system learning word stock and be used for clearing inapplicable keywords. After the matching files, the system learning word stock and the garbage word stock of each standard are preset, the uploaded PCB data packet to be identified is obtained through the obtaining module 10, the PCB data packet comprises a plurality of tool layers to be identified, and the original names of all the tool layers in the PCB data packet can be constructed into the array structure A of perl through the preprocessing module 20. The processing program is used for reading the standard matching file, all elements in the array structure A are matched with the keywords of the standard matching file through the matching module 30, when the matching is successful, the successfully matched result is input into a conversion result report, and then the standard name of the tool layer is corrected through the correcting module 40. The above matching method can only be converted from the perspective of a single tool name, and needs to be analyzed and corrected at an overall level. The correction principle is that the inner layer and the outer layer are named and combed to conform to the conventional naming rule. And finally, the system is output in an editable interactive interface mode through the output module 50, so that a maker can conveniently check the identification result of the system, and the name with the error can be manually modified.
Referring to fig. 4, fig. 4 is a block diagram of the matching module 30 according to the present invention. In a specific embodiment, the matching module 30 includes a segmentation unit, a construction unit, and a processing unit;
the dividing unit 31 is configured to divide the elements in the array structure a into a plurality of substrings when matching fails;
the constructing unit 32 is configured to construct all sub character strings into an array structure B of perl, where all elements in the array structure B are standard character strings; and
the processing unit 33 is configured to match all elements in the array structure B with a preset system learning lexicon, and when a keyword of a certain element is included, obtain a layer attribute and a standard name of the corresponding element in the tool layer corresponding to the keyword; and when the layer attribute and the standard name are unique, recording the successfully recorded result into a conversion result report, and when the layer attribute and the standard name are not unique, taking the maximum data corresponding to the standard name as a standard value and recording the result into the conversion result report.
In this embodiment, when the matching fails, the dividing unit 31 divides the elements in the array structure a into several substrings in the form of connectors. Specifically, when the matching fails, the dividing unit 31 divides the elements in the array structure a into sub character strings in the form of connectors ' - ', and', respectively. If Ai is mask _ top, then the substring formed after Ai segmentation is mask, top, pho. Wherein Ai is an element in A. All substrings are then constructed into array structure B of perl by the construction unit 32. And circulating all elements Bj of the array structure B, judging whether the keyword Bj is included in a system learning word bank through the processing unit 33, if so, acquiring layer attributes and naming numbers corresponding to Bj, after B completes circulation, acquiring all standard names and layer attributes corresponding to some elements Ai in the original tool layer, if standard names and attributes are unique, and inputting the result into a conversion result report. If the standard naming or the layer attribute is not unique, the maximum data corresponding to the standard naming is taken as a standard value, and the result is recorded into a conversion result report.
In a specific embodiment, the system further includes an obtaining unit, configured to:
acquiring manually modified keywords in a conversion result report;
recording the keywords into a system learning word bank; and
and updating the system learning word bank.
In this embodiment, the obtaining module 10 may obtain the keywords that may be manually modified on the editable interactive interface by the manufacturer, so as to manually modify the names with errors, thereby improving the accuracy of identification.
In a specific embodiment, the system further includes a keyword cleaning module, configured to:
and when the layer attribute and the standard name of the corresponding element in the tool layer corresponding to the keyword exceed 3, judging the keyword as junk data, and clearing the keyword.
In this embodiment, the keyword cleaning module may determine that the keyword is junk data if the number of the layer attributes and the names corresponding to the keyword exceeds 3, and may clean the keyword through a junk word bank.
Referring to fig. 5, fig. 5 is an internal structure diagram of a computer device according to an embodiment of the invention. In one embodiment, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for intelligently identifying tool layer names of PCB data.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method embodiments when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above respective method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (6)

1. A method for intelligently identifying names of tool layers of PCB data is characterized by comprising the following steps:
acquiring the uploaded PCB data packet to be identified;
constructing original names of all tool layers in a PCB data package into an array structure A of perl, wherein all elements in the array structure A are standard character strings;
respectively matching all elements in the array structure A with a preset standard configuration file, and inputting a successfully matched result into a conversion result report when the matching is successful;
correcting the standard naming of the tool layer;
outputting and displaying a conversion result report in a form of an editable interactive interface;
the step of respectively matching all elements in the array structure A with a preset standard configuration file further comprises:
when the matching fails, dividing elements in the array structure A into a plurality of substrings;
constructing all the substrings into an array structure B of perl, wherein all elements in the array structure B are standard strings; and
matching all elements in the array structure B with a preset system learning word stock respectively, and acquiring layer attributes and standard names of corresponding elements in a tool layer corresponding to a keyword when the keyword of the certain element is recorded; when the layer attribute and the standard name are unique, recording the successfully recorded result into a conversion result report, and when the layer attribute and the standard name are not unique, taking the maximum data corresponding to the standard name as a standard value and recording the result into the conversion result report;
the outputting and displaying of the conversion result report in the form of an editable interactive interface further comprises:
acquiring manually modified keywords in a conversion result report;
recording the keywords into a system learning word bank; and
and updating the system learning word bank.
2. The method for intelligently identifying tool layer names of PCB data as claimed in claim 1, wherein the dividing the elements in the array structure A into a plurality of substrings when the matching fails specifically comprises:
when the matching fails, the elements in the array structure A are divided into a plurality of substrings in the form of connectors.
3. The method as claimed in claim 2, wherein the obtaining of the layer attribute and standard name of the corresponding element in the tool layer corresponding to the keyword further comprises:
and when the layer attribute and the standard name of the corresponding element in the tool layer corresponding to the keyword exceed 3, judging the keyword as junk data, and clearing the keyword.
4. The utility model provides an intelligence discernment PCB data tool layer name's device which characterized in that, intelligence discernment PCB data tool layer name's device includes:
the acquisition module is used for acquiring the uploaded PCB data packet to be identified;
the system comprises a preprocessing module, a data processing module and a data processing module, wherein the preprocessing module is used for constructing original names of all tool layers in a PCB (printed circuit board) data packet into an array structure A of perl, and all elements in the array structure A are standard character strings;
the matching module is used for respectively matching all elements in the array structure A with a preset standard configuration file, and when the matching is successful, inputting the successfully matched result into a conversion result report;
the correcting module is used for correcting the standard name of the tool layer;
the output module is used for outputting and displaying the conversion result report in the form of an editable interactive interface;
the matching module comprises a segmentation unit, a construction unit and a processing unit;
the dividing unit is used for dividing the elements in the array structure A into a plurality of substrings when the matching fails;
the building unit is used for building all the substrings into an array structure B of perl, and all elements in the array structure B are standard character strings; and
the processing unit is used for respectively matching all elements in the array structure B with a preset system learning word stock, and acquiring the layer attribute and standard name of the corresponding element in the tool layer corresponding to a keyword when the keyword of the certain element is included; when the layer attribute and the standard name are unique, recording the successfully recorded result into a conversion result report, and when the layer attribute and the standard name are not unique, taking the maximum data corresponding to the standard name as a standard value and recording the result into the conversion result report;
further comprising an acquisition unit for:
acquiring manually modified keywords in a conversion result report;
recording the keywords into a system learning word bank; and
and updating the system learning word bank.
5. The apparatus for intelligently identifying tool layer names of PCBs as recited in claim 4, wherein the splitting unit is specifically configured to:
when the matching fails, the elements in the array structure A are divided into a plurality of substrings in the form of connectors.
6. The apparatus for intelligently identifying tool layer names of PCB material as recited in claim 5, further comprising a keyword cleaning module for:
and when the layer attribute and the standard name of the corresponding element in the tool layer corresponding to the keyword exceed 3, judging the keyword as junk data, and clearing 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 CN109471960A (en) 2019-03-15
CN109471960B true 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)

Family Cites Families (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
CN106802898B (en) * 2015-11-26 2020-09-04 北大方正集团有限公司 Data entry method and device
CN105550353A (en) * 2015-12-28 2016-05-04 歌尔声学股份有限公司 Regular expression based form input method and system
CN108108373B (en) * 2016-11-25 2020-09-25 阿里巴巴集团控股有限公司 Name matching method and device

Also Published As

Publication number Publication date
CN109471960A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN110888849B (en) Online log analysis method and system and electronic terminal equipment thereof
CN108256074B (en) Verification processing method and device, electronic equipment and storage medium
CN107025362B (en) Method for checking consistency of schematic diagram and PCB production data
CN108959271B (en) Description text generation method and device, computer equipment and readable storage medium
US20140101124A1 (en) System and method for recursively traversing the internet and other sources to identify, gather, curate, adjudicate, and qualify business identity and related data
CN112036144B (en) Data analysis method, device, computer equipment and readable storage medium
CN111092894A (en) Webshell detection method based on incremental learning, terminal device and storage medium
CN113110866A (en) Method and device for evaluating database change script
CN110046155B (en) Method, device and equipment for updating feature database and determining data features
CN112286934A (en) Database table importing method, device, equipment and medium
CN111444352A (en) Knowledge graph construction method and device based on knowledge node membership
CN106294128B (en) A kind of automated testing method and device exporting report data
CN111144100A (en) Question text recognition method and device, electronic equipment and storage medium
CN112988595A (en) Dynamic synchronization test method, device, equipment and storage medium
CN113961768B (en) Sensitive word detection method and device, computer equipment and storage medium
CN108595437B (en) Text query error correction method and device, computer equipment and storage medium
JP2018092361A (en) Test script correction apparatus and test script correction program
CN109471960B (en) Method and device for intelligently identifying tool layer names of PCB (printed circuit board) data
US10782942B1 (en) Rapid onboarding of data from diverse data sources into standardized objects with parser and unit test generation
CN112579781A (en) Text classification method and device, electronic equipment and medium
CN114579834B (en) Webpage login entity identification method and device, electronic equipment and storage medium
CN112559817A (en) Report content checking method, system, computer equipment and storage medium
CN113806647A (en) Method for identifying development framework and related equipment
CN111191430A (en) Automatic table building method and device, computer equipment and storage medium
CN109324963A (en) The method and terminal device of automatic test profitable result

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