Parameter processing method, system and computer readable storage medium
1. A method for processing parameters, comprising:
acquiring text information of a target parameter;
identifying item information and parameter information in the text information;
generating a target parameter table according to the project information and the parameter information;
and generating and storing an editing instruction sheet according to the target parameter table.
2. The parameter processing method according to claim 1, wherein the generating an edit instruction sheet according to the target parameter table specifically includes:
determining an instruction sheet template according to the project information;
determining a parameter name and a parameter value corresponding to the parameter name according to the parameter information;
and generating the editing instruction sheet according to the parameter name, the parameter numerical value and the instruction sheet template.
3. The parameter processing method according to claim 1, further comprising, after generating the edit instruction sheet according to the target parameter table:
identifying format information of the edit instruction sheet;
comparing the format information with a preset format template;
and sending first prompt information based on the condition that the format information does not meet the preset format template.
4. The parameter processing method according to claim 3, further comprising:
displaying the editing instruction sheet;
and modifying the editing instruction list according to the change information in the change instruction based on the condition of receiving the change instruction.
5. The parameter processing method according to claim 1, further comprising:
acquiring editing information corresponding to the editing instruction sheet;
carrying out simulation processing on the editing information to obtain simulation data;
comparing the simulation data with the parameter information;
and sending out second prompt information based on the condition that the simulation data exceeds the parameter information.
6. The parameter processing method according to claim 5, further comprising, after generating and storing an edit instruction sheet according to the target parameter table:
and sending a third prompt message based on the condition that the editing information is not obtained within the preset time length.
7. The parameter processing method according to any one of claims 1 to 6, wherein the acquiring text information of the target parameter specifically includes:
acquiring voice information of the target parameter;
carrying out dialect classification on the voice information;
generating a corresponding dialect text according to the voice information;
and translating the dialect text according to the dialect classification result to obtain the text information.
8. The parameter processing method according to any one of claims 1 to 6, wherein the acquiring text information of the target parameter specifically includes:
acquiring image information of the target parameter;
and performing character recognition processing on the image information to obtain the text information.
9. A parameter processing system, comprising: a memory storing a computer program and a processor executing the computer program to perform the steps of the parameter processing method according to any one of claims 1 to 8.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the parameter processing method according to any one of claims 1 to 8.
Background
In the production and Manufacturing process of a Printed Circuit Board (PCB), after a CAM (computer Aided Manufacturing) editor of an engineering design part receives a CAM editing Instruction, original PCB data designed by a customer is edited according to requirements in the Instruction so as to meet the Manufacturing requirements of the PCB, the traditional CAM editing Instruction sheet is to record the requirements of the CAM editing Instruction into an office software or MI design software system by a Manufacturing Instruction (MI person) designer, and then print the CAM editing Instruction sheet into a paper document to be delivered to a CAM editor for operation. The traditional information docking mode has the defects of poor data synchronization timeliness, difficult data entry, difficult information sharing, difficult document content searching, difficult entered information checking, easy error and the like, can seriously influence the efficiency and quality of engineering design, and can not meet the requirement of informatization. In addition, the CAM of the paper file indicates that a large amount of paper is consumed, which causes resource waste and is not in line with the current environmental protection concept of green production.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art or the related art.
To this end, a first aspect of the present invention provides a parameter processing method.
A second aspect of the present invention is to provide a parameter processing system.
A third aspect of the invention is directed to a computer-readable storage medium.
In view of the above, according to a first aspect of the present invention, a parameter processing method is provided, including: acquiring text information of a target parameter; identifying item information and parameter information in the text information; generating a target parameter table according to the project information and the parameter information; and generating and storing an editing instruction sheet according to the target parameter table.
The parameter processing method provided by the invention describes the editing requirement as a whole segment of text information, identifies the project information and the parameter information in the text information, generates the target parameter table according to the project information and the parameter information, thereby embodying the content described by the CAM editing indication text in the form of attribute name and attribute value, after the editing requirement is converted into the target parameter table, correspondingly inputs the content in the parameter table through the data interaction interface of the system to obtain the editing indication list, and uploads the editing indication list to the database for storage, an engineering designer can acquire the editing indication list from the system at any time to check or edit and design according to the requirement of the editing indication list, thereby realizing the standardization of data input, the storage and the transmission of data, avoiding the manual input of the editing requirement, ensuring the input accuracy, effectively avoiding data errors and improving the design efficiency, the defects and resource waste caused by the traditional paper editing instruction sheet are overcome.
Specifically, in order to further improve the data entry accuracy, the item information and the parameter information may be identified multiple times, and the data with the highest repetition rate is taken as the basis of the target parameter table.
In addition, according to the parameter processing method in the above technical solution provided by the present invention, the following additional technical features may also be provided:
in the above technical solution, further, generating an edit instruction sheet according to the target parameter table specifically includes: determining an instruction sheet template according to the project information; determining parameter names and parameter values corresponding to the parameter names according to the parameter information; and generating an editing instruction sheet according to the parameter name, the parameter value and the instruction sheet template.
According to the technical scheme, a prestored instruction list template is called according to project information in a target parameter table, parameter names and parameter values corresponding to the parameter names are determined according to the parameter information in the target parameter table, and the corresponding parameter values are input into the instruction list template according to the parameter names to form an editing instruction list, so that the intelligent generation of the editing instruction list is realized, the manual input editing requirements are avoided, the data input errors are prevented, the design efficiency is improved, and the defects and the waste of resources caused by the traditional paper editing instruction list are overcome.
In any of the above technical solutions, further, after generating the edit instruction sheet according to the target parameter table, the method further includes: identifying format information of an editing instruction sheet; comparing the format information with a preset format template; and sending first prompt information based on the condition that the format information does not meet the preset format template.
In the technical scheme, format information of an editing instruction sheet is identified, the format information is compared with a preset format template, if the editing instruction sheet format information does not accord with the preset format template, parameter data entry errors are explained, at the moment, first prompt information is sent out to prompt a user to modify, for example, a numerical value of 50-60 mil corresponding to one item of the diameter of a pad is 80mil, or characters are entered, data filling errors are explained, the user is prompted to modify, and if the editing instruction sheet format information accords with the preset format template, the information is directly stored in a database. Therefore, the inspection of the editing instruction list is realized, the accuracy of the editing instruction list is improved, and the design efficiency is improved.
In any of the above technical solutions, further, the method further includes: displaying an editing instruction sheet; and modifying the editing instruction list according to the change information in the change instruction based on the condition of receiving the change instruction.
In the technical scheme, the generated editing instruction list is displayed through the display so that a user can check or manually review the editing instruction list, and if a change instruction is received, the editing instruction list is modified according to change information in the change instruction, so that the editing instruction list is checked, the accuracy of the editing instruction list is improved, and the design efficiency is improved.
Specifically, before the edit instruction sheet is modified, the identity information of the user is acquired, the authority information corresponding to the identity information is determined, and if the user does not have the modification authority, the modification operation is not executed.
In any of the above technical solutions, further, the method further includes: acquiring editing information corresponding to the editing instruction sheet; carrying out simulation processing on the editing information to obtain simulation data; comparing the simulation data with the parameter information; and sending out second prompt information based on the condition that the simulation data exceeds the parameter information.
In the technical scheme, when an engineering designer edits a corresponding design according to an editing instruction sheet, the system automatically carries out simulation processing on editing information to obtain a plurality of groups of simulation data, the simulation data and the parameter information are compared to judge whether the editing result of the engineering designer meets the editing requirement, if the simulation data exceeds the parameter information, the editing result is in a problem and the editing requirement cannot be realized, and at the moment, second prompt information is sent to prompt the engineering designer to improve the design again. Therefore, problems can be found in advance and solved, the design working efficiency and the economic benefit are improved, and the user experience is improved.
In any of the above technical solutions, further, after generating and storing the edit instruction sheet according to the target parameter table, the method further includes: and sending a third prompt message based on the condition that the editing information is not obtained within the preset time length.
In the technical scheme, after the editing instruction sheet is generated, if the editing information uploaded by the engineering designer is not received within the preset time, the instruction is not processed by the engineering designer in time, and at the moment, the third prompt information is sent to urge the engineering designer to process the instruction sheet, so that the execution condition of the editing requirement is controlled in a foolproof manner, the conditions of design omission and wrong design are avoided, and the design working efficiency is improved.
In any of the above technical solutions, further, the obtaining of the text information of the target parameter specifically includes: acquiring voice information of a target parameter; carrying out dialect classification on the voice information; generating a corresponding dialect text according to the voice information; and translating the dialect text according to the dialect classification result to obtain text information.
In the technical scheme, a voice recognition function is added, a user can input an editing requirement through voice, after the system obtains voice information of a target parameter, dialect classification and voice recognition are carried out on the voice information according to various local dialects to obtain a corresponding dialect text, the dialect text is translated according to the dialect classification result to obtain text information of a mandarin version, so that accurate project information and parameter information can be obtained, the editing requirement is prevented from being manually input, the input accuracy is guaranteed, data errors are effectively avoided, and the design efficiency is improved.
In any of the above technical solutions, further, the obtaining of the text information of the target parameter specifically includes: acquiring image information of a target parameter; and performing character recognition processing on the image information to obtain text information.
According to the technical scheme, the image recognition function is added, a user can input the editing requirement through an image, the system performs character recognition processing on the image information after acquiring the image information of the target parameter to obtain the text information, so that the manual input and editing requirement is avoided, the input accuracy is ensured, the data error is effectively avoided, and the design efficiency is improved.
According to a second aspect of the present invention, a parameter processing system is provided, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform any one of the parameter processing methods described above. Therefore, the parameter processing system has all the advantages of any one of the parameter processing methods.
According to a third aspect of the present invention, a computer-readable storage medium is proposed, on which a computer program is stored, which computer program, when being executed by a processor, performs the steps of the parameter processing method of any of the above. Therefore, the computer readable storage medium has all the advantages of any one of the parameter processing methods.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow diagram illustrating a parameter processing method according to an embodiment of the invention;
FIG. 2 is a flow chart illustrating a parameter processing method according to another embodiment of the invention;
FIG. 3 is a flow chart illustrating a parameter processing method according to another embodiment of the invention;
FIG. 4 is a flow chart illustrating a parameter processing method according to another embodiment of the invention;
FIG. 5 is a flow chart illustrating a parameter processing method according to another embodiment of the invention;
FIG. 6 is a flow diagram illustrating a parameter processing method according to an embodiment of the invention;
FIG. 7 is a schematic diagram illustrating an edit instruction sheet in accordance with one embodiment of the present invention;
FIG. 8 shows a schematic block diagram of a parameter processing system of one embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments of the present invention and features of the embodiments may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
A parameter processing method, a parameter processing system 800, and a computer-readable storage medium according to some embodiments of the present invention are described below with reference to fig. 1 to 8.
Example one
As shown in fig. 1, according to an embodiment of the first aspect of the present invention, a parameter processing method is provided, which includes:
102, acquiring text information of a target parameter;
step 104, identifying item information and parameter information in the text information;
step 106, generating a target parameter table according to the project information and the parameter information;
and step 108, generating and storing an editing instruction sheet according to the target parameter table.
In this embodiment, the editing request is described as a whole piece of text information, item information and parameter information in the text information are identified, generating a target parameter table according to the project information and the parameter information, so as to embody the content described by the CAM editing instruction characters in the form of attribute names and attribute values, converting the editing requirement into the target parameter table, correspondingly inputting the contents in the parameter table through a data interactive interface of the system to obtain an editing instruction sheet, and uploading to a database for storage, so that engineering designers can acquire an editing instruction sheet from the system at any time to check or edit and design according to the requirements of the editing instruction sheet, and then realized data entry standardization, data's storage and transmission, avoided artifical manual entry editing requirement, guarantee to type the degree of accuracy, effectively avoid the data error and improve design efficiency, solved the shortcoming and the waste of resource that traditional paper edit instruction list brought.
Specifically, in order to further improve the data entry accuracy, the item information and the parameter information may be identified multiple times, and the data with the highest repetition rate is taken as the basis of the target parameter table.
Taking the "dummy pad add" requirement in the outer CAM edit instruction as an example, the target parameters are pad diameter 50mil, pad center-to-center distance 80mil, and pad center-to-center distance pattern 108 mil. The textual description is converted to a target parameter table to facilitate data entry standardization, storage and transmission of data, as shown in table 1.
TABLE 1
Example two
As shown in fig. 2, according to an embodiment of the present invention, a parameter processing method is provided, which includes:
step 202, acquiring image information of a target parameter;
step 204, performing character recognition processing on the image information to obtain text information;
step 206, identifying item information and parameter information in the text information;
step 208, generating a target parameter table according to the project information and the parameter information;
step 210, determining an instruction sheet template according to the project information;
step 212, determining parameter names and parameter values corresponding to the parameter names according to the parameter information;
and 214, generating an editing instruction sheet according to the parameter name, the parameter value and the instruction sheet template.
In the embodiment, the pre-stored instruction list template is called according to the project information in the target parameter table, the parameter name and the parameter value corresponding to the parameter name are determined according to the parameter information in the target parameter table, and the corresponding parameter value is input into the instruction list template according to the parameter name to form the editing instruction list, so that the intelligent generation of the editing instruction list is realized, the manual input editing requirement is avoided, the data input error is prevented, the design efficiency is improved, and the defects and the waste of resources caused by the traditional paper editing instruction list are overcome.
EXAMPLE III
As shown in fig. 3, according to an embodiment of the present invention, a parameter processing method is provided, which includes:
step 302, acquiring text information of a target parameter;
step 304, identifying item information and parameter information in the text information;
step 306, generating a target parameter table according to the project information and the parameter information;
step 308, generating an editing instruction sheet according to the target parameter table;
step 310, identifying format information of an editing instruction sheet;
step 312, determining whether the format information meets a preset format template, if so, entering step 314, and if not, entering step 316;
step 314, storing the edit instruction list, and entering step 318;
step 316, sending out a first prompt message;
step 318, displaying an editing instruction sheet;
and step 320, modifying the editing instruction list according to the change information in the change instruction based on the condition that the change instruction is received.
In the embodiment, format information of the editing instruction sheet is identified, the format information is compared with a preset format template, if the editing instruction sheet format information does not conform to the preset format template, parameter data entry errors are explained, at this time, first prompt information is sent out to prompt a user to modify, for example, a numerical value corresponding to one item of the pad diameter is 50mil-60mil, but the entered numerical value is 80mil, or characters are entered, and data filling errors are explained, the user is prompted to modify, and if the editing instruction sheet format information conforms to the preset format template, the format information is directly stored in a database. And the generated editing instruction list is displayed through the display so that a user can check or manually review the editing instruction list, and if a change instruction is received, the editing instruction list is modified according to change information in the change instruction, so that the editing instruction list is checked, the accuracy of the editing instruction list is improved, and the design efficiency is improved.
Example four
As shown in fig. 4, according to an embodiment of the present invention, a parameter processing method is provided, which includes:
step 402, acquiring voice information of a target parameter;
step 404, dialect classification is carried out on the voice information;
step 406, generating a corresponding dialect text according to the voice information;
step 408, translating the dialect text according to the dialect classification result to obtain text information;
step 410, identifying item information and parameter information in the text information;
step 412, generating a target parameter table according to the item information and the parameter information;
step 414, generating and storing an editing instruction sheet according to the target parameter table;
step 416, acquiring editing information corresponding to the editing instruction sheet;
418, performing simulation processing on the editing information to obtain simulation data;
step 420, comparing the simulation data with the parameter information;
step 422, based on the condition that the simulation data exceeds the parameter information, sending out a second prompt message.
In the embodiment, when the engineering designer edits the corresponding design according to the editing instruction sheet, the system automatically performs simulation processing on the editing information to obtain multiple groups of simulation data, compares the simulation data with the parameter information to judge whether the editing result of the engineering designer meets the editing requirement, if the simulation data exceeds the parameter information, the editing result is problematic and cannot meet the editing requirement, and sends out second prompt information to prompt the engineering designer to improve again, so that the problem can be found in advance and help to solve the problem, the design working efficiency and the economic benefit are improved, and the user experience is improved.
EXAMPLE five
As shown in fig. 5, according to an embodiment of the present invention, a parameter processing method is provided, which includes:
502, acquiring text information of a target parameter;
step 504, identifying item information and parameter information in the text information;
step 506, generating a target parameter table according to the project information and the parameter information;
step 508, generating and storing an editing instruction sheet according to the target parameter table;
step 510, judging whether the editing information corresponding to the editing instruction sheet is received within a preset time length, if so, entering step 512, and if not, entering step 520;
step 512, acquiring editing information corresponding to the editing instruction sheet;
step 514, performing simulation processing on the editing information to obtain simulation data;
step 516, comparing the simulation data with the parameter information;
step 518, sending out second prompt information based on the condition that the simulation data exceeds the parameter information;
and step 520, sending out third prompt information.
In this embodiment, after the edit instruction sheet is generated, if the edit information corresponding to the edit instruction sheet is not received within the preset duration, it is indicated that the engineering designer does not process the instruction in time, at this time, a third prompt message is sent to prompt the engineering designer to process the instruction sheet, if the corresponding design is edited according to the edit instruction sheet, the system automatically performs simulation processing on the edit information to obtain multiple sets of simulation data, and compares the simulation data with the parameter information to determine whether the edit result of the engineering designer meets the edit requirement, if the simulation data exceeds the parameter information, it is indicated that the edit result has a problem and cannot meet the edit requirement, at this time, a second prompt message is sent to prompt the engineering designer to improve again. Therefore, fool-proof management and control are carried out on the execution condition of the editing requirement, the conditions of design omission and design mistake are avoided, and the design working efficiency is improved.
EXAMPLE six
As shown in fig. 6, according to an embodiment of the present invention, a parameter processing method is provided, which includes:
step 602, the CAM edits the instruction content and converts the instruction content into a parameter table;
step 604, the MI system establishes a standardized CAM editing instruction entry module;
step 606, uploading the CAM editing instruction content to an intermediate database;
in step 608, the CAM system automatically loads and displays the CAM edit instruction contents of the database.
In the embodiment, it is considered that the content in the traditional CAM editing instruction list describes the editing requirement as a whole segment of characters, a paper document is used as an information transmission medium, the difficulty of information identification and the difficulty of automatic parameter loading are high, and manual operation easily causes data entry errors and burial quality hidden dangers.
For this purpose, the following steps are employed:
the first step is as follows: the CAM edits and indicates the content to convert into the parameter table;
the CAM editing indication content is converted into a parameter table, namely, the content described by characters is embodied in the form of attribute names and attribute values, so that data entry standardization, data storage and data transmission are facilitated.
The second step is that: the MI system establishes a standardized CAM editing indication input module;
after the CAM editing instruction content is converted into a parameter table, a data interaction interface is developed in an MI design software system, and a standardized CAM editing instruction entry module is established and corresponds to the content in the parameter table.
The third step: uploading the CAM editing instruction content to an intermediate database;
data fields corresponding to the names of the columns in the parameter table are established in the intermediate database, attributes of the fields are defined, as shown in fig. 7, a data uploading program is developed in a CAM editing instruction entry module, an outer layer instruction is generated by clicking, and the checked CAM editing instruction content is uploaded to the intermediate database, and the intermediate database stores the uploaded content in the CAM editing instruction list.
The fourth step: the CAM system automatically loads and displays the CAM editing instruction list content of the database;
the CAM system automation program can automatically load parameters from the database, avoid manual entry by engineering designers, prevent data entry errors and improve design efficiency, develop a user interaction interface in the CAM system to automatically load and display contents in a CAM editing instruction list in a middle database, manage and control the execution condition of the instruction requirement, and avoid design omission and design errors. And finally, the electronic CAM editing instruction sheet is realized, and the traditional paper CAM editing instruction sheet is replaced.
In the embodiment, a method for managing database data is utilized, contents in a paper CAM editing instruction list are arranged into key value pairs which can be effectively identified by an automation program, an interactive interface is developed in an MI design software system to standardize the CAM editing instruction entry mode, then a middle data table corresponding to the CAM editing instruction entry mode is established in a database, the CAM editing instruction contents uploaded after entry are stored, and finally a program is developed in CAM software to automatically load the CAM editing instruction contents from the database and display the CAM editing instruction contents in a computer screen, so that the electronic CAM editing instruction list is realized, the defects and the waste of resources brought by the traditional paper CAM editing instruction list are overcome, the efficiency and the quality of PCB manufacturing enterprise engineering design are improved, and the engineering design cost is saved.
EXAMPLE seven
As shown in fig. 8, according to an embodiment of the second aspect of the present invention, a parameter processing system 800 is provided, which includes a memory 802 and a processor 804, where the memory 802 stores a computer program, and the processor 804 implements the parameter processing method of any of the above embodiments when executing the computer program. Therefore, the parameter processing system 800 has all the advantages of the parameter processing method of any of the above embodiments.
Example eight
According to an embodiment of the third aspect of the present invention, a computer-readable storage medium is proposed, on which a computer program is stored, which, when being executed by a processor, performs the steps of the parameter processing method according to any of the embodiments described above. Therefore, the computer readable storage medium has all the advantages of the parameter processing method of any of the above embodiments.
In the description herein, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance unless explicitly stated or limited otherwise; the terms "connected," "mounted," "secured," and the like are to be construed broadly and include, for example, fixed connections, removable connections, or integral connections; may be directly connected or indirectly connected through an intermediate. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the description herein, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:工艺检测方法及系统、设备、存储介质