Method, system and device for generating contour point location of single flexible board and medium
By extracting and processing two-dimensional relational data in product material number correlation drawings, calculating offsets and generating outline point data of a single flexible board, the problems of high workload, low efficiency and inability to automatically import in the prior art are solved, and efficient and automated data processing and import are achieved.
Patent Information
- Application Number
- CN202510242458.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-06-27
AI Technical Summary
The prior art has a large workload and low efficiency when generating single-sheet flexible plate contour point information, and cannot realize automated import.
By obtaining product material number correlation drawings, extracting two-dimensional relational data, performing data processing to update coordinate information as data with sequential marks, calculating the offset and generating outline point data of a single soft plate.
It realizes the automatic generation of contour point data of a single flexible board, which reduces manual operation time, improves data processing efficiency and stability, and supports subsequent automated imports.
Smart Images

Figure CN120216604A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of flexible printed circuit board manufacturing, and particularly to a method, system, device and medium for generating contour point positions of a single flexible printed circuit board. Background Art
[0002] In the field of manufacturing FPC flexible circuit boards, a product part number usually involves cutting and processing a raw material (such as a roll of copper foil) into multiple cutting forms, including the pcs level (i.e., the sheet level), the sub level (i.e., the sub-module level, composed of multiple pcs levels), the panel level (i.e., the unit board level, also known as a single flexible printed circuit board, composed of multiple sub levels), and the double level (i.e., the replication level, replicated from multiple panel levels).
[0003] To facilitate the production of flexible printed circuit boards, before actual production, the design department usually needs to use the heat map function module to visually display the contour point position information at each level in the form of a heat map. This requires the design department to pre-provide the associated drawings of each product part number, and the associated drawings include the contour point coordinate information files at each pcs level (specifically including data information such as the contour shape and physical position distribution of each pcs level). Among them, generating the contour point position information of a single flexible printed circuit board is crucial. Accurate contour point position information of a single flexible printed circuit board can provide accurate coordinates for cutting equipment, ensure that each pcs can be accurately cut from the single flexible printed circuit board, avoid product scrapping caused by cutting errors, and improve production efficiency and product yield. At the same time, in the subsequent assembly process, the contour point position information of the single flexible printed circuit board can be used for precise positioning to ensure the accurate docking and assembly of the FPC with other components, thereby ensuring the function and performance of the entire product.
[0004] Currently, the design department provides the contour point coordinate information file of a single flexible printed circuit board mainly by sequentially scanning each pcs of the single flexible printed circuit board at all sub levels through software and generating contour point positions (x, y) of the same order of magnitude for each pcs. This method of generating the contour point coordinate information file of a single flexible printed circuit board is very cumbersome and time-consuming (for example, the number of pcs under a sub of some product part numbers can reach thousands, and the workload of generating the contour point coordinate information of a single flexible printed circuit board is very large). In addition, in the contour point coordinate information file of a single flexible printed circuit board generated by this method, it is necessary to manually circle the numbers of each pcs, which is not conducive to subsequent automatic import. Summary of the Invention
[0005] In view of this, the present invention provides a method, system, device and medium for generating contour point positions of a single flexible printed circuit board to solve the problems of large workload, low efficiency and inability to be automatically imported in the existing technology for generating contour point positions of a single flexible printed circuit board.
[0006] The present invention provides a method for generating the contour points of a single flexible board, and the method includes:
[0007] Obtain the drawing associated with the product part number, perform data extraction on the drawing associated with the product part number to obtain two-dimensional relational data; wherein, the two-dimensional relational data includes the first coordinate information of each product part number of the single flexible board at the sub-level.
[0008] Perform data processing on the two-dimensional relational data so that all the first coordinate information is updated to second coordinate information with sequence marks, and obtain processed relational data.
[0009] In the processed relational data, extract a coordinate reference according to the sequence marks of all the second coordinate information, and based on the coordinate reference, calculate the offset of the processed relational data to obtain the offset corresponding to each second coordinate information.
[0010] Update the processed relational data according to the offsets of all the second coordinate information in the processed relational data to generate the contour point data of the single flexible board.
[0011] Optionally, the drawing associated with the product part number is stored in an SQL relational database.
[0012] The performing data extraction on the drawing associated with the product part number to obtain two-dimensional relational data includes:
[0013] In the SQL relational database, use SQL statements to perform data extraction on the drawing associated with the product part number to respectively obtain multiple product part numbers of the single flexible board and multiple first coordinate information under each product part number.
[0014] Store each product part number in a corresponding product part number field respectively.
[0015] Select any one of the product part numbers, and store all the first coordinate information under the selected product part number in corresponding coordinate fields respectively.
[0016] Traverse each product part number, and in the same way, store all the first coordinate information under each product part number in the corresponding coordinate fields respectively.
[0017] Generate the two-dimensional relational data of the flexible board according to all the product part number fields and all the coordinate fields.
[0018] Optionally, the performing data processing on the two-dimensional relational data so that the first coordinate information is updated to second coordinate information with sequence marks to obtain processed relational data includes:
[0019] Split the two-dimensional relational data;
[0020] Extract coordinates and sort the coordinates of the two-dimensional relational data after data splitting, so that all the first coordinate information is updated to the second coordinate information with sequence marks, and the processed relational data is obtained.
[0021] Optionally, the splitting of the two-dimensional relational data includes:
[0022] Predetermine a first delimiter in the two-dimensional relational data for separating adjacent coordinate fields;
[0023] Based on the first delimiter, perform a column splitting operation on all the coordinate fields in the two-dimensional relational data to obtain multiple independent column data arrays; wherein, each column data array consists of a corresponding sub serial number and the abscissa and ordinate under the corresponding sub serial number;
[0024] Predetermine a second delimiter in each column data array for separating the sub serial number, the abscissa and the ordinate;
[0025] Based on the second delimiter, perform a row splitting operation on all the column data arrays respectively to obtain multiple independent row data arrays, and complete the data splitting; wherein, each row data array includes an independent sub serial number and the abscissa and the ordinate under the corresponding sub serial number.
[0026] Optionally, after obtaining the multiple independent row data arrays, the method further includes:
[0027] Rename the sub serial number, the abscissa and the ordinate in all the row data arrays according to a preset renaming rule;
[0028] Remove null values from all the row data arrays after renaming.
[0029] Optionally, the sequence marks include an abscissa sequence mark value and an ordinate sequence mark value;
[0030] The extracting coordinates and sorting the coordinates of the two-dimensional relational data after data splitting, so that all the first coordinate information is updated to the second coordinate information with sequence marks, and the processed relational data is obtained, includes:
[0031] Among all the row data arrays of the two-dimensional relational data after data splitting, select the row data array with the smallest sub-sequence number as the data benchmark, and record the abscissa and ordinate in the data benchmark as the starting abscissa and starting ordinate respectively;
[0032] When the starting abscissa is the smallest abscissa among all the row data arrays, sort and sequentially assign all the ordinates in all the row data arrays in ascending order to obtain the ordinate sequence marker values corresponding to each ordinate; when the starting abscissa is the largest abscissa among all the row data arrays, sort and sequentially assign all the ordinates in all the row data arrays in descending order to obtain the ordinate sequence marker values corresponding to each ordinate;
[0033] When the starting ordinate is the smallest ordinate among all the row data arrays, sort and sequentially assign all the abscissas in all the row data arrays in ascending order to obtain the abscissa sequence marker values corresponding to each abscissa; when the starting abscissa is the largest abscissa among all the row data arrays, sort and sequentially assign all the abscissas in all the row data arrays in descending order to obtain the abscissa sequence marker values corresponding to each abscissa;
[0034] According to all the row data arrays in the two-dimensional relational data after data splitting, as well as the abscissa sequence marker values and ordinate sequence marker values of all the row data arrays, fill in the data for each first coordinate information in the two-dimensional relational data after data splitting, so that each first coordinate information is updated to the second coordinate information with sequence markers, and the processed relational data is obtained.
[0035] Optionally, in the processed relational data, extract the coordinate benchmark according to the sequence markers of all the second coordinate information, and based on the coordinate benchmark, calculate the offset of the processed relational data to obtain the offset corresponding to each second coordinate information, including:
[0036] Among all the second coordinate information in the processed relational data, determine the second coordinate information with the smallest sequence marker as the coordinate benchmark, and determine the offset corresponding to the coordinate benchmark as zero;
[0037] Among all the second coordinate information for processing relational data, mark them in the said order, perform a difference operation and an absolute value operation on each of the remaining second coordinate information respectively with the coordinate reference, to obtain the offset corresponding to each second coordinate information in the processed relational data except the coordinate reference;
[0038] Fill the offset corresponding to each second coordinate information into the processed relational data.
[0039] Optionally, updating the processed relational data according to the offsets of all the second coordinate information in the processed relational data to generate the contour point position data of a single flexible board includes:
[0040] Mark them in the said order, adjust each second coordinate information in the processed relational data according to the offset of each second coordinate information in the processed relational data, to obtain the third coordinate information corresponding to each second coordinate information one by one;
[0041] Obtain the contour point position data of a single flexible board according to all the third coordinate information.
[0042] In addition, the present invention also provides a system for generating the contour point position of a single flexible board, which is applied to the foregoing method for generating the contour point position of a single flexible board. The system includes:
[0043] A data extraction module, configured to obtain a drawing associated with a product part number, perform data extraction on the drawing associated with the product part number, and obtain two-dimensional relational data; wherein, the two-dimensional relational data includes the first coordinate information of each product part number of a single flexible board at the sub-level;
[0044] A data processing module, configured to perform data processing on the two-dimensional relational data, so that all the first coordinate information is updated to the second coordinate information with order marks, to obtain processed relational data;
[0045] An offset calculation module, configured to extract a coordinate reference according to the order marks of all the second coordinate information in the processed relational data, and based on the coordinate reference, perform offset calculation on the processed relational data, to obtain the offset corresponding to each second coordinate information;
[0046] A point position generation module, configured to update the processed relational data according to the offsets of all the second coordinate information in the processed relational data, and generate the contour point position data of a single flexible board.
[0047] In addition, the present invention also provides a device for generating contour points of a single flexible board, which includes a processor, a memory, and a computer program stored in the memory and operable on the processor. When the computer program runs, it implements the method steps in the aforementioned method for generating contour points of a single flexible board.
[0048] In addition, the present invention also provides a computer storage medium, which includes at least one instruction that, when executed, implements the method steps in the aforementioned method for generating contour points of a single flexible board.
[0049] The beneficial effects of the present invention are as follows: First, by reading data from the drawing associated with the product part number obtained, two-dimensional relational data can be easily obtained. This two-dimensional relational data includes the first coordinate information of each product part number of a single flexible board at the sub level (i.e., the coordinate data of all pcs at the sub level). Using these first coordinate information, on the one hand, it is convenient for subsequent data processing in units of product part numbers, and on the other hand, it is convenient for subsequent generation of contour point data of a single flexible board only using the coordinate data at one sub level; Then, by processing the two-dimensional relational data, splitting and sorting of the first coordinate information therein can be achieved, so that these first coordinate information have sequential markings, which is convenient for subsequent extraction of coordinate references and calculation of offset amounts based on the coordinate references in order; Since the contour points of a single flexible board are composed of contour points at multiple sub levels, and the contour points of all pcs at each sub level are the same, therefore, based on the extracted coordinate reference and offset amount, combined with the contour points of all pcs at one sub level, the contour points of all sub levels can be obtained, and then the contour point data at the panel level can be spliced according to the sequential markings based on the contour points of all sub levels, realizing the generation of contour points of a single flexible board.
[0050] The method, system, device and medium for generating the contour point positions of a single flexible plate according to the present invention only need to automatically splice and generate the contour point position data of a single flexible plate based on all the pcs contour point position data under a sub - level, without scanning the contour point position data of all sub - levels under a single flexible plate. Based on the sequential marking of the second coordinate information under the sub - level, no additional manual marking work is required, which facilitates subsequent automatic import, improves the traceability of data, and provides guarantee for the subsequent verification and audit of data; through the process of automatically extracting and processing data, the time and workload of manual operation when outputting the contour coordinate information of a single flexible plate are significantly reduced, the ability to quickly respond to and process a large amount of data is realized, the efficiency of generating the contour point position data of a single flexible plate is effectively improved, the error risk caused by manual operation is reduced, and the stability and reliability of data processing are improved; at the same time, it can provide a diversified data structure for subsequent analysis, enabling the data to adapt to different usage scenarios and requirements; through the dynamic offset calculation of coordinates, the visualization effect in the application scenario is improved, which helps users more intuitively understand the distribution and characteristics of data and promotes the in - depth development of data analysis in the flexible plate design process. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings. The drawings are schematic and should not be construed as imposing any limitation on the present invention. In the drawings:
[0052] Figure 1 FIG. shows the flowchart of a method for generating the contour point positions of a single flexible plate in Embodiment 1 of the present invention;
[0053] Figure 2 FIG. shows the complete flowchart of the method for generating the contour point positions of a single flexible plate in Embodiment 1 of the present invention;
[0054] Figure 3 FIG. shows the structural diagram of a system for generating the contour point positions of a single flexible plate in Embodiment 2 of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0055] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0056] Embodiment 1
[0057] This embodiment provides a method for generating the contour point positions of a single flexible plate, as Figure 1 shown, the method includes:
[0058] S1: Obtain the drawings associated with the product part number, perform data extraction on the drawings associated with the product part number to obtain two-dimensional relational data; wherein, the two-dimensional relational data includes the first coordinate information of each product part number of a single flexible board at the sub-level;
[0059] S2: Perform data processing on the two-dimensional relational data so that all the first coordinate information is updated to the second coordinate information with sequence marks to obtain processed relational data;
[0060] S3: In the processed relational data, extract the coordinate reference according to the sequence marks of all the second coordinate information, and based on the coordinate reference, calculate the offset of the processed relational data to obtain the offset corresponding to each second coordinate information;
[0061] S4: Update the processed relational data according to the offsets of all the second coordinate information in the processed relational data to generate the contour point position data of the flexible board on a single flexible board.
[0062] In this embodiment, first, by reading the data of the drawings associated with the product part number obtained, it is convenient to obtain two-dimensional relational data. The two-dimensional relational data includes the first coordinate information of each product part number of a single flexible board at the sub-level (i.e., the coordinate data of all pcs at the sub-level). Using these first coordinate information, on the one hand, it is convenient for subsequent data processing in units of product part numbers, and on the other hand, it is convenient for subsequent generation of the contour point position data of a single flexible board only using the coordinate data at one sub-level; then, by performing data processing on the two-dimensional relational data, the splitting and sorting of the first coordinate information therein can be realized, so that these first coordinate information have sequence marks, which is convenient for subsequent extraction of the coordinate reference and sequential offset calculation based on the coordinate reference; since the contour point positions of a single flexible board are composed of the contour point positions at multiple sub-levels, and the contour point positions of all pcs at each sub-level are the same, therefore, based on the extracted coordinate reference and offset, combined with the contour point positions of all pcs at one sub-level, the contour point positions of all sub-levels can be obtained, and then the contour point position data at the panel level can be spliced according to the sequence marks based on the contour point positions of all sub-levels, realizing the generation of the contour point positions of a single flexible board.
[0063] The method for generating the contour point positions of a single flexible board in this embodiment only needs to automatically splice and generate the contour point position data of a single flexible board based on all the pcs contour point position data under one sub - level, without scanning the contour point position data of all sub - levels under a single flexible board. Based on the sequential marking of the second coordinate information under the sub - level, no additional manual marking work is required, which facilitates subsequent automatic import, improves data traceability, and provides guarantee for the later verification and auditing of data. Through the process of automatically extracting and processing data, the time and workload of manual operation when outputting the contour coordinate information of a single flexible board are significantly reduced, the ability to quickly respond to and process a large amount of data is realized, the efficiency of generating the contour point position data of a single flexible board is effectively improved, the error risk caused by manual operation is reduced, and the stability and reliability of data processing are improved. At the same time, it can provide diverse data structures for subsequent analysis, enabling the data to adapt to different usage scenarios and requirements. Through the dynamic offset calculation of coordinates, the visualization effect in the application scenario is improved, which helps users more intuitively understand the distribution and characteristics of data, and promotes the in - depth development of data analysis in the flexible board design process.
[0064] The following will elaborate on each step of the method for generating the contour point positions of a single flexible board in this embodiment.
[0065] Specifically, the software operating environment of the method for generating the contour point positions of a single flexible board in this embodiment is as follows:
[0066] (1) Operating system: Linux / Windows;
[0067] (2) Processor: Intel or compatible CPU, with a main frequency of not less than 1.5 GHz;
[0068] (3) Memory: at least 4GB RAM;
[0069] (4) Storage space: at least 500MB of available hard disk space;
[0070] (5) Programming languages: Python, Sql;
[0071] (6) Necessary libraries:
[0072] Pandas: for data processing and analysis;
[0073] SQLAlchemy: for database connection;
[0074] Numpy: for numerical calculation;
[0075] (7) Database: a relational database that supports SQL (such as Oracle, PostgreSQL, etc.).
[0076] Preferably, in the present embodiment S1, the product part number associated drawings are stored in an SQL relational database;
[0077] Then in S1, data extraction is performed on the product part number associated drawings to obtain the two-dimensional relational data of the flexible board, including:
[0078] S11: In the SQL relational database, SQL statements are used to perform data extraction on the product part number associated drawings, respectively obtaining multiple product part numbers of a single flexible board and multiple first sub-coordinate information under each product part number;
[0079] S12: Each product part number is respectively stored in the corresponding product part number field;
[0080] S13: Select any one of the product part numbers, and store all the first coordinate information under the selected product part number in the corresponding coordinate field respectively;
[0081] S14: Traverse each product part number, and in the same way, store all the first coordinate information under each product part number in the corresponding coordinate field respectively;
[0082] S15: Generate the two-dimensional relational data according to all the product part number fields and all the coordinate fields.
[0083] During the data extraction process, using SQL statements to extract from the SQL relational database storing the product part number associated drawings can associate the data of different tables, achieve accurate screening of complete product part numbers and coordinate information according to different requirements, and has strong query capabilities; at the same time, it can initially sort the queried product part numbers and coordinate information, facilitating subsequent data processing.
[0084] When multiple product part numbers and all the first coordinate information under each product part number are queried, the product part numbers are respectively stored in the product part number fields, and all the first coordinate information under each product part number is respectively stored in the corresponding coordinate fields. The generated two-dimensional relational data, on the one hand, can facilitate directly identifying the product part number according to the product part number field, and then indexing to its corresponding first coordinate information for subsequent data processing and offset calculation, and further generating the contour point data of a single flexible board based on the coordinate information of only one sub-level of a single flexible board; on the other hand, it is convenient to perform operations such as storage, processing, analysis, and visualization of the flexible board design data based on the two-dimensional relational data.
[0085] In the present embodiment S11, the SQL relational database is specifically an Oracle database.
[0086] In the present embodiments S12 to S14, the product part number field is specifically the m_alternatename field; the first coordinate information is specifically the coordinate information under the sub level, and the corresponding coordinate information field is specifically the coordinates_info field.
[0087] In the present embodiment S15, the two-dimensional relational data is specifically DataFrame data, which includes two columns, namely m_alternatename and coordinates_info, that is, the product part number and the corresponding first coordinate information queried from the database earlier. Each row represents a product record, where one column stores the product part number and the other column stores the first coordinate information corresponding to the product.
[0088] Preferably, the present embodiment S2 includes:
[0089] S21: Split the two-dimensional relational data;
[0090] S22: Extract and sort the coordinates of the two-dimensional relational data after data splitting, so that all the first coordinate information is updated to the second coordinate information with sequence marks, and the processed relational data is obtained.
[0091] Since the product part number and the first coordinate information are stored separately in the two-dimensional relational data according to the product part number field and the coordinate information field, and the first coordinate information usually includes the abscissa and ordinate under the sub level, and for easy distinction, the abscissa and ordinate under the sub level are also assigned corresponding sub numbers during storage. Therefore, in this embodiment, by first splitting the two-dimensional relational data, the sub numbers under each product part number and the abscissa and ordinate under the sub number in the two-dimensional relational data can be split into an independent data structure in a unified format, which is convenient for subsequent data processing and analysis; at the same time, it can also be more conveniently stored in a database table, improving the data storage efficiency and constructing a more comprehensive data set. When the data splitting is completed, through coordinate extraction, the required coordinate information can be accurately obtained from the two-dimensional relational data after data splitting, focusing the analysis on the position characteristics, which is convenient for subsequent offset calculation and the generation of single flexible plate contour point data. Finally, through coordinate sorting, the change trend and pattern of the product coordinates can be observed more intuitively, and then the subsequent offset calculation can be realized based on the change trend and pattern of the coordinates, so as to generate single flexible plate contour point data with only the coordinate information of one sub level.
[0092] Preferably, the above step S21 includes:
[0093] S211: Predetermine the first delimiter for separating adjacent coordinate fields in the two-dimensional relational data;
[0094] S212: Based on the first delimiter, perform a column splitting operation on all the coordinate fields in the two-dimensional relational data to obtain multiple independent column data arrays; wherein, each column data array consists of a corresponding sub serial number and the abscissa and ordinate under the corresponding sub serial number.
[0095] S213: Predetermine a second delimiter for separating the sub serial number, the abscissa, and the ordinate in each column data array.
[0096] S214: Based on the second delimiter, perform a row splitting operation on all the column data arrays to obtain multiple independent row data arrays, completing the data splitting; wherein, each row data array includes an independent sub serial number and the abscissa and the ordinate under the corresponding sub serial number.
[0097] For two-dimensional relational data, the data in the coordinates_info column of the coordinate information field may consist of multiple sub-items. Therefore, in the data splitting process, first use the method described in the above steps S211 - S212. Based on the first delimiter, perform a column splitting operation on multiple coordinate fields, which can split the multiple sub-items in the coordinates_info column of the coordinate information field into multiple independent column data arrays; for each column data array (i.e., the split sub-item), it consists of a corresponding sub serial number and the abscissa and ordinate under the corresponding sub serial number. Therefore, then use the method described in the above steps S213 - S214. Based on the second delimiter, perform a row splitting operation on all the column data arrays to split these sub serial numbers, abscissas, and ordinates, and independent row data arrays can be formed. Each item in each row data array is also independent and respectively includes the split sub serial number, abscissa, and ordinate. Through the above data splitting steps in this embodiment, the sub serial numbers under each product part number in the two-dimensional relational data and the abscissa and ordinate under the sub serial number can be accurately and efficiently split according to a unified format to form an independent data structure, facilitating subsequent data processing and analysis.
[0098] Specifically, in this embodiment S211, the first delimiter between multiple sub-items (i.e., adjacent coordinate information fields) in the coordinates_info column of the coordinate information field is a semicolon ";". For example, in the format of "sub1,x1,y1;sub2,x2,y2;sub3,x3,y3", during the column splitting operation in S212, data splitting is performed based on the semicolon ";", forming individual column data arrays such as "sub1,x1,y1", "sub2,x2,y2", and "sub3,x3,y3". In the split column data arrays, the second delimiter between the sub serial number and the corresponding abscissa and ordinate under the sub serial number is a comma ",", so during the column splitting operation in S212, data splitting is performed based on the comma ",", forming individual row data such as "sub1", "x1", "y1", "sub2", "x2", "y2", "sub3", "x3", and "y3", where "sub1", "x1", "y1" form the first row data array, "sub2", "x2", "y2" form the second row data array, and "sub3", "x3", and "y3" form the third row data array.
[0099] After S214, the method further includes:
[0100] S215: Rename the sub serial number, the abscissa, and the ordinate in all the row data arrays according to a preset renaming rule;
[0101] S216: Remove null values from all the renamed row data arrays.
[0102] In this embodiment, after data splitting is performed according to steps S211 to S214, renaming the split sub serial number, abscissa, and ordinate can make the meaning of the data clearer and more explicit, facilitating subsequent data analysis and use. During the data splitting process, some null values (i.e., cells without actual data) may be generated, and these null values may affect subsequent data processing and analysis results. By removing null values, the integrity and accuracy of the data can be ensured, and the accuracy of subsequent data analysis can be improved.
[0103] Specifically, the preset renaming rule can be selected according to the actual situation. For example, in this embodiment S215, the split row data is renamed to sub_id,x,y.
[0104] In an alternative embodiment, there is a DataFrame data containing m_alternatename and coordinates_info, specifically:
[0105] {'m_alternatename': ['product1', 'product2']}
[0106] 'coordinates_info': ['sub1,10,20';'sub2,30,40';'sub3,50,60';'sub4,70,80']}
[0107] Among them, 'product1' and 'product2' respectively refer to the product part numbers. After the coordinates_info in the above data is split, renamed, and null values are removed, the obtained data is as follows:
[0108]
[0109] Furthermore, the DataFrame data is updated to:
[0110]
[0111] Preferably, the sequence markers include the horizontal coordinate sequence marker value and the vertical coordinate sequence marker value.
[0112] By generating the horizontal coordinate sequence marker value and the vertical coordinate sequence marker value respectively, they can be used to mark the sorting of the horizontal coordinates and the sorting of the vertical coordinates in the row data array respectively, and can intuitively reflect the relative position relationship of each pcs product in the x and y directions at the sub level, realizing the quick positioning of each pcs product. Furthermore, it is convenient to calculate the corresponding offset based on the sequence markers later, with higher accuracy and faster efficiency.
[0113] Preferably, the above step S22 includes:
[0114] S221: In all the row data arrays of the two-dimensional relational data after data splitting, select the row data array with the smallest sub serial number as the data benchmark, and record the horizontal coordinate and the vertical coordinate in the data benchmark as the starting horizontal coordinate and the starting vertical coordinate respectively;
[0115] S222: When the starting horizontal coordinate is the smallest horizontal coordinate in all the row data arrays, sort and assign sequence numbers to all the vertical coordinates in all the row data arrays in ascending order to obtain the vertical coordinate sequence marker value corresponding to each vertical coordinate; when the starting horizontal coordinate is the largest horizontal coordinate in all the row data arrays, sort and assign sequence numbers to all the vertical coordinates in all the row data arrays in descending order to obtain the vertical coordinate sequence marker value corresponding to each vertical coordinate;
[0116] S223: When the starting ordinate is the minimum ordinate in all the row data arrays, sort and sequentially assign all the abscissas in all the row data arrays in ascending order to obtain the abscissa sequence marker values corresponding to each abscissa one by one; when the starting abscissa is the maximum abscissa in all the row data arrays, sort and sequentially assign all the abscissas in all the row data arrays in descending order to obtain the abscissa sequence marker values corresponding to each abscissa one by one.
[0117] S224: According to all the row data arrays in the two-dimensional relational data after data splitting, as well as the abscissa sequence marker values and ordinate sequence marker values of all the row data arrays, fill in the data for each first coordinate information in the two-dimensional relational data after data splitting, so that each first coordinate information is updated to the second coordinate information with sequence markers, and the processed relational data is obtained.
[0118] During the generation of sequence markers, first, the row data array with the smallest sub serial number is used as the data benchmark, and the abscissa and ordinate therein are respectively determined as the starting abscissa and starting ordinate, which can facilitate subsequent comparison of the abscissas and ordinates in the remaining row data arrays with the starting abscissa and starting ordinate, and realize the assignment of abscissa sequence marker values and ordinate sequence marker values respectively through the comparison of coordinate values. Among them, during the assignment of abscissa sequence marker values, the assignment is made according to the comparison between the starting ordinate and other ordinates. If the starting ordinate is the minimum value, the abscissa sequence marker values are sorted and assigned in ascending order. If the starting ordinate is the maximum value, the abscissa sequence markers are sorted and assigned in descending order. The assignment rule of ordinate sequence marker values is similar to that of abscissa sequence marker values and will not be elaborated here.
[0119] In this embodiment, the coordinate extraction and coordinate sorting of the two-dimensional relational data after data splitting are realized according to the above method, which can orderly update the first coordinate information to the second coordinate information with sequence markers, conform to the real change trend and pattern of the product coordinates, and further accurately calculate the subsequent offset according to the change trend and pattern of the coordinates, so as to generate accurate single flexible plate contour point data.
[0120] Specifically, the coordinate data with sub_id of 1 is used as the data benchmark, that is, the abscissa and ordinate with sub_id of 1 are respectively used as the starting abscissa and starting ordinate, denoted as first_x and first_y respectively. The abscissa sequence marker values and ordinate sequence marker values are denoted as flag_x and flag_y respectively.
[0121] Among them, the assignment rule of flag_y is as follows:
[0122] When first_x is the minimum value of x: When first_x is the minimum value among the x values of all row data arrays, generate the flag_y column for all data of this part number, sort them in ascending order of the y value, and assign consecutive values starting from 1. For example, if there are 5 pieces of data, after sorting the y values in ascending order, the values of the flag_y column are 1, 2, 3, 4, 5 in sequence.
[0123] When first_x is the maximum value of x: When first_x is the maximum value among the x values of all row data arrays, generate the flag_y column for all data of this part number, sort them in descending order of the y value, and assign consecutive values starting from the maximum number of rows in this group of data. For example, if there are 5 pieces of data in this group, after sorting the y values in descending order, the values of the flag_y column are 5, 4, 3, 2, 1 in sequence.
[0124] Among them, the assignment rule of the flag_x column is as follows:
[0125] Similar to the flag_y column, only the judgment benchmark changes to the relationship between first_y and the maximum and minimum values of all y values under this part number. That is, when first_y is the minimum value of y, the flag_x column is assigned consecutive values starting from 1 in ascending order of x; when first_y is the maximum value of y, the flag_x column is assigned consecutive values starting from the maximum number of rows in this group of data in descending order of x.
[0126] In an alternative embodiment, assume that the two-dimensional relational data after data splitting is:
[0127] {'m_alternatename':['A','A','A','B','B','B'],
[0128] 'sub_id':[1,2,3,1,2,3],
[0129] 'x':[10,20,30,50,40,30],
[0130] 'y':[15,25,35,45,55,65]};
[0131] The processed relational data obtained after coordinate extraction and coordinate sorting is:
[0132] {'m_alternatename':['A','A','A','B','B','B'],
[0133] 'sub_id':[1,2,3,1,2,3],
[0134] 'x':[10,20,30,50,40,30],
[0135] 'y': [15, 25, 35, 45, 55, 65],
[0136] 'flag_x': [1, 2, 3, 1, 2, 3],
[0137] 'flag_y': [1, 2, 3, 1, 2, 3]}。
[0138] In the above processing of relational data, each second coordinate information has a sequence mark.
[0139] Preferably, this embodiment S3 includes:
[0140] S31: Among all the second coordinate information in the processing of the relational data, determine the second coordinate information with the smallest sequence mark as the coordinate reference, and determine the offset corresponding to the coordinate reference as zero;
[0141] S32: Among all the second coordinate information in the processing of the relational data, according to the sequence mark, perform a difference operation and an absolute value operation on each of the remaining second coordinate information and the coordinate reference respectively, to obtain the offset corresponding to each second coordinate information in the processing of the relational data except the coordinate reference;
[0142] S33: Fill the offset corresponding to each second coordinate information into the processing of the relational data.
[0143] In the processing of relational data, the relative logical positions of the products of each pcs are all identified by sequence marks. First, determining the second coordinate information with the smallest sequence mark as the coordinate reference can facilitate subsequent calculation of the offset based on the same reference to ensure the reliability of the offset; then, based on the sequence mark, performing a difference calculation on each of the remaining second coordinate information and the coordinate reference in turn can initially obtain the offset, and then performing an absolute value operation can ensure that the calculated offset is non - negative, which can better and intuitively reflect the distance from the coordinate reference, and further facilitate the subsequent generation of single - sheet flexible board contour point data.
[0144] Specifically, in this embodiment, the second coordinate information under sub_id = 1 is determined as the coordinate reference, and its corresponding abscissa and ordinate are denoted as x_sub1 and y_sub1 respectively. The offset includes an abscissa offset and an ordinate offset, denoted as offset_x and offset_y respectively; let the abscissa and ordinate under a certain sun_id be x_current and y_current respectively; then the calculated offsets include offset_x = |x_current - x_sub1| and offset_y = |y_current - y_sub1|.
[0145] Preferably, step S4 in this embodiment includes:
[0146] S41: According to the above-mentioned order marking, based on the offsets of each of the second coordinate information in the processed relational data, each of the second coordinate information in the processed relational data is adjusted to obtain third coordinate information corresponding to each of the second coordinate information one by one;
[0147] S42: Based on all the third coordinate information, the contour point position data of a single flexible plate is obtained.
[0148] After calculating the offsets corresponding to each second coordinate information, an update is performed based on the offsets, and then the coordinate information of each pcs product under the updated sub level, that is, the third coordinate information, can be obtained. These third coordinate information are then combined with the product part number (specifically, the data frame df_pcs_info_offset) to obtain the contour point position data of the flexible plate at the panel level. After output, the generation of the contour point position data of a single flexible plate is achieved.
[0149] Specifically, after adding the corresponding offsets (i.e., offset_x and offset_y) to the second coordinate information (i.e., the x coordinate and the y coordinate) under each sub_id respectively, the third coordinate information (i.e., the updated x coordinate and y coordinate) is obtained.
[0150] In an alternative embodiment, after filling the offsets corresponding to each second coordinate information into the processed relational data, the obtained data is:
[0151] {'m_alternatename': ['A', 'A', 'A', 'B', 'B', 'B'],
[0152] 'sub_id': [1, 2, 3, 1, 2, 3],
[0153] 'x': [10, 20, 30, 50, 40, 30],
[0154] 'y': [15, 25, 35, 45, 55, 65],
[0155] 'offset_x': [0, 10, 20, 0, 10, 20],
[0156] 'offset_y': [0, 10, 20, 0, 10, 20]}。
[0157] The calculation process of updating its second coordinate information to the third coordinate information is shown in Table 1 below.
[0158] Table 1 Calculation example table for updating the second coordinate information according to the offset
[0159] m_alternatename sub_id x y offset_x offset_y A 1 10+0=10 15+0=15 0 0 A 2 20+10=30 25+10=35 10 10 A 3 30+20=50 35+20=55 20 20 B 1 50+0=50 45+0=45 0 0 B 2 40+10=50 55+10=65 10 10 B 3 30+20=50 65+20=85 20 20
[0160] The complete flowchart of the method for generating the contour points of a single flexible plate in this embodiment is as Figure 2 shown, and the complete method for generating the contour points of a single flexible plate has the following beneficial effects:
[0161] 1. Improve data processing efficiency:
[0162] By automating the process of extracting and processing data, the time and workload of manual operations when outputting the contour point information of a single flexible plate are significantly reduced, realizing the ability to quickly respond to and process a large amount of data.
[0163] 2. Improve data availability and adaptability:
[0164] It can provide a diverse data structure for subsequent analysis, enabling the data to adapt to different usage scenarios and requirements.
[0165] 3. Optimize the visualization of coordinate information:
[0166] Through the dynamic offset calculation of coordinates, the visualization effect in the application scenario is improved, thus helping users to more intuitively understand the distribution and characteristics of the data and promoting the in-depth development of data analysis.
[0167] 4. Enhance data traceability:
[0168] By recording and identifying each data operation, the source and change process of the data can be easily traced, providing guarantee for the later verification and auditing of the data.
[0169] 5. Reduce human errors:
[0170] Through the automated processing process, the risk of errors caused by manual operations is reduced, and the stability and reliability of data processing are improved.
[0171] Embodiment 2
[0172] A single flexible board contour point generation system, which is applied to the single flexible board contour point generation method in Embodiment 1. As Figure 3 shown, it includes:
[0173] A data extraction module, which is used to obtain the drawing associated with the product part number, extract data from the drawing associated with the product part number, and obtain two-dimensional relational data; wherein, the two-dimensional relational data includes the first coordinate information of each product part number of the single flexible board at the sub-level;
[0174] A data processing module, which is used to process the two-dimensional relational data so that all the first coordinate information is updated to the second coordinate information with sequence marks, and obtain the processed relational data;
[0175] An offset calculation module, which is used to extract a coordinate reference according to the sequence marks of all the second coordinate information in the processed relational data, and based on the coordinate reference, calculate the offset of the processed relational data to obtain the offset corresponding to each second coordinate information;
[0176] A point position generation module, which is used to update the processed relational data according to the offsets of all the second coordinate information in the processed relational data, and generate the contour point position data of the single flexible board.
[0177] In the embodiment, first, the data acquisition module reads the drawing associated with the product part number obtained, so as to obtain two-dimensional relational data. The two-dimensional relational data includes the first coordinate information of each product part number of the single flexible board at the sub-level (that is, the coordinate data of all pcs at the sub-level). Using these first coordinate information, on the one hand, it is convenient for subsequent data processing in units of product part numbers, and on the other hand, it is convenient for subsequent generation of the contour point position data of the single flexible board only using the coordinate data at one sub-level; then, the data processing module processes the two-dimensional relational data, which can realize the splitting and sorting of the first coordinate information therein, so that these first coordinate information have sequence marks, which is convenient for subsequent extraction of the coordinate reference by the offset calculation module and calculation of the offset in order based on the coordinate reference; since the contour point positions of the single flexible board are composed of the contour point positions at multiple sub-levels, and the contour point positions of all pcs at each sub-level are the same, therefore, through the point position generation module, based on the extracted coordinate reference and offset, combined with the contour point positions of all pcs at one sub-level, the contour point positions of all sub-levels can be obtained, and then the contour point position data at the panel level can be spliced according to the sequence marks based on the contour point positions of all sub-levels, so as to realize the generation of the contour point positions of the single flexible board.
[0178] The single flexible board contour point generation system of this embodiment only needs to automatically splice and generate the contour point data of a single flexible board based on all the pcs contour point data under one sub - level, without scanning the contour point data of all sub - levels under a single flexible board. Based on the sequential marking of the second coordinate information under the sub - level, there is no need for additional manual marking work, which facilitates subsequent automatic import, improves data traceability, and provides guarantee for the subsequent verification and audit of data; through the process of automatically extracting and processing data, it significantly reduces the time and workload of manual operation when outputting the contour coordinate information of a single flexible board, realizes the ability to quickly respond to and process a large amount of data, effectively improves the efficiency of generating the contour point data of a single flexible board, reduces the risk of errors caused by manual operation, and improves the stability and reliability of data processing; at the same time, it can provide diverse data structures for subsequent analysis, enabling the data to adapt to different usage scenarios and requirements; through the dynamic offset calculation of coordinates, it improves the visualization effect in the application scenario, thus helping users to more intuitively understand the distribution and characteristics of data, and promoting the in - depth development of data analysis in the flexible board design process.
[0179] The functions of the modules in the single flexible board contour point generation system described in this embodiment are the same as the method steps of the single flexible board contour point generation method described in Embodiment 1. Therefore, for the details not described in this embodiment, please refer to the specific descriptions in Embodiment 1 and Figure 1 and Figure 2 are not elaborated here.
[0180] Embodiment 3
[0181] A single flexible board contour point generation device includes a processor, a memory, and a computer program stored in the memory and operable on the processor. When the computer program runs, it implements the method steps in the single flexible board contour point generation method of Embodiment 1.
[0182] By means of a computer program stored in a memory and running on a processor, it is only necessary to automatically splice and generate the contour point data of a single flexible board based on all the pcs contour point data under a sub-level, without scanning all the contour point data of all sub-levels under a single flexible board. Based on the sequential marking of the second coordinate information under the sub-level, no additional manual marking work is required, which facilitates subsequent automatic import, improves the traceability of data, and provides guarantee for the subsequent verification and auditing of data. Through the process of automatically extracting and processing data, the time and workload of manual operation when outputting the contour coordinate information of a single flexible board are significantly reduced, the ability to quickly respond to and process a large amount of data is realized, the efficiency of generating the contour point data of a single flexible board is effectively improved, the error risk caused by manual operation is reduced, and the stability and reliability of data processing are improved. At the same time, it can provide diverse data structures for subsequent analysis, enabling the data to adapt to different usage scenarios and requirements. Through the dynamic offset calculation of coordinates, the visualization effect in the application scenario is improved, thereby helping users to more intuitively understand the distribution and characteristics of data and promoting the in-depth development of data analysis in the flexible board design process.
[0183] The so-called processor may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The processor is the control center of the computer device and connects all parts of the entire computer device through various interfaces and lines.
[0184] The memory can be used to store computer programs and / or models. By running or executing the computer programs and / or models stored in the memory and invoking the data stored in the memory, the processor realizes various functions of the computer device. The memory mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, video data, etc.). In addition, the memory can include high-speed random access memory, and can also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a SmartMedia Card (SMC), a Secure Digital (SD) card, a Flash Card, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0185] It should be understood that each process and / or block in the flowchart and / or block diagram can be implemented by a computer program, as well as the combination of processes and / or blocks in the flowchart and / or block diagram. These computer programs can be provided to the processor of a general computer, a special computer, an embedded processor or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for realizing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0186] These computer programs can also be stored in a computer-readable memory that can guide the computer or other programmable data processing devices to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including an instruction device, and the instruction device realizes the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0187] These computer programs can also be loaded onto the computer or other programmable data processing devices, so that a series of operation steps are executed on the computer or other programmable devices to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable devices provide steps for realizing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0188] This embodiment also provides a computer storage medium, which includes: at least one instruction, and when the instruction is executed, it realizes the method steps in the method for generating the contour points of a single flexible board in Embodiment 1.
[0189] By executing a computer storage medium containing at least one instruction, it is only necessary to automatically splice and generate the contour point data of a single flexible board based on all the pcs contour point data under one sub-level, without scanning all the contour point data of the sub-levels under a single flexible board. Based on the sequential marking of the second coordinate information under the sub-level, no additional manual marking work is required, which facilitates subsequent automatic import, improves the traceability of data, and provides guarantee for the later verification and auditing of data; through the process of automatically extracting and processing data, the time and workload of manual operation when outputting the contour coordinate information of a single flexible board are significantly reduced, the ability to quickly respond to and process a large amount of data is realized, the efficiency of generating the contour point data of a single flexible board is effectively improved, the error risk caused by manual operation is reduced, and the stability and reliability of data processing are improved; at the same time, it can provide a variety of data structures for subsequent analysis, enabling the data to adapt to different usage scenarios and requirements; through the dynamic offset calculation of coordinates, the visualization effect in the application scenario is improved, which helps users more intuitively understand the distribution and characteristics of data and promotes the in-depth development of data analysis in the flexible board design process.
[0190] Similarly, for the details not described in this embodiment, please refer to the specific descriptions of Embodiment 1, Embodiment 2 and Figures 1 to 3 which will not be elaborated here.
[0191] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A method for generating contour points of a single flexible plate, characterized in that: The method comprises: Obtaining a product material number-related drawing, extracting data from the product material number-related drawing, and obtaining two-dimensional relational data; wherein the two-dimensional relational data includes the first coordinate information of each product material number of a single flexible board at the sub level; Processing the two-dimensional relational data so that all the first coordinate information is updated to second coordinate information with sequence marks to obtain processed relational data; In the processing relational data, a coordinate reference is extracted according to the sequence marks of all the second coordinate information, and based on the coordinate reference, an offset calculation is performed on the processing relational data to obtain an offset corresponding to each second coordinate information; The processing relational data is updated according to the offset of all the second coordinate information in the processing relational data to generate contour point data of a single flexible plate.
2. The method according to claim 1, characterized in that The product material number associated drawings are stored in a SQL relational database; The data extraction of the product material number associated drawings is performed to obtain two-dimensional relational data, including: In the SQL relational database, using SQL statements to extract data from the product material number-related drawings, and obtaining multiple product material numbers of a single flexible board and multiple first coordinate information under each product material number; Storing each of the product material numbers in a corresponding product material number field; Select any one of the product material numbers, and store all the first coordinate information under the selected product material number in the corresponding coordinate fields respectively; Traversing each of the product material numbers, and using the same method, storing all of the first coordinate information under each of the product material numbers in the corresponding coordinate fields; The two-dimensional relational data is generated according to all the product number fields and all the coordinate fields.
3. The method according to claim 2, characterized in that The performing data processing on the two-dimensional relational data so that the first coordinate information is updated to second coordinate information with a sequence mark to obtain processed relational data includes: Performing data splitting on the two-dimensional relational data; Coordinate extraction and coordinate sorting are performed on the two-dimensional relational data after data splitting, so that all the first coordinate information is updated to the second coordinate information with sequence marks, and the processed relational data is obtained.
4. The method according to claim 3, characterized in that The step of splitting the two-dimensional relational data includes: Predetermining a first separator in the two-dimensional relational data for separating adjacent coordinate fields; Based on the first separator, all the coordinate fields in the two-dimensional relational data are respectively subjected to column splitting operations to obtain a plurality of independent column data arrays; wherein each of the column data arrays is composed of a corresponding sub sequence number and a horizontal coordinate and a vertical coordinate under the corresponding sub sequence number; Predetermine in each of the column data arrays a second separator for separating the sub sequence number, the horizontal coordinate and the vertical coordinate; Based on the second separator, all the column data arrays are respectively divided into rows to obtain multiple independent row data arrays, thereby completing data splitting; wherein each of the row data arrays includes an independent sub serial number and the horizontal coordinate and the vertical coordinate under the corresponding sub serial number.
5. The method according to claim 4, characterized in that After obtaining the plurality of independent row data arrays, the method further comprises: According to a preset renaming rule, rename the sub sequence number, the horizontal coordinate and the vertical coordinate in all the row data arrays; Remove null values from all the row data arrays after renaming.
6. The method according to claim 4, characterized in that The sequence mark includes a horizontal axis sequence mark value and a vertical axis sequence mark value; The extracting and sorting coordinates of the two-dimensional relational data after the data splitting so that all the first coordinate information are updated to the second coordinate information with sequence marks to obtain the processed relational data includes: Among all the row data arrays of the two-dimensional relational data after data splitting, the row data array with the smallest sub sequence number is selected as the data reference, and the abscissa and the ordinate in the data reference are recorded as the starting abscissa and the starting ordinate, respectively; When the starting horizontal coordinate is the minimum horizontal coordinate in all the row data arrays, all the vertical coordinates in all the row data arrays are sorted and sequentially assigned values in ascending order to obtain the vertical coordinate sequence marking value corresponding to each vertical coordinate; when the starting horizontal coordinate is the maximum horizontal coordinate in all the row data arrays, all the vertical coordinates in all the row data arrays are sorted and sequentially assigned values in descending order to obtain the vertical coordinate sequence marking value corresponding to each vertical coordinate; When the starting ordinate is the minimum ordinate in all the row data arrays, all the abscissas in all the row data arrays are sorted and sequentially assigned values in ascending order to obtain the abscissa sequence labeling value corresponding to each abscissa; when the starting abscissa is the maximum abscissa in all the row data arrays, all the abscissas in all the row data arrays are sorted and sequentially assigned values in descending order to obtain the abscissa sequence labeling value corresponding to each abscissa; According to all the row data arrays in the two-dimensional relational data after data splitting and the horizontal coordinate sequence mark values and the vertical coordinate sequence mark values of all the row data arrays, data is filled for each first coordinate information in the two-dimensional relational data after data splitting, so that each first coordinate information is updated to the second coordinate information with a sequence mark, and the processed relational data is obtained.
7. The method according to claim 1, characterized in that In the processing relational data, extracting a coordinate reference according to the sequence marks of all the second coordinate information, and performing offset calculation on the processing relational data based on the coordinate reference to obtain the offset corresponding to each second coordinate information, including: Among all the second coordinate information in the processing relational data, determining the second coordinate information with the smallest sequence mark as the coordinate reference, and determining the offset corresponding to the coordinate reference as zero; Among all the second coordinate information of the processing relational data, mark them in the order, perform difference operation and absolute value operation on each of the remaining second coordinate information and the coordinate reference, and obtain the offset corresponding to each of the second coordinate information except the coordinate reference in the processing relational data; The offset corresponding to each piece of the second coordinate information is filled into the processing relational data.
8. The method according to any one of claims 1 to 7, characterized in that: The updating of the processing relational data according to the offset of all the second coordinate information in the processing relational data to generate contour point data of a single flexible plate includes: According to the sequence marking, each second coordinate information in the processing relational data is adjusted according to the offset of each second coordinate information in the processing relational data to obtain third coordinate information corresponding to each second coordinate information; The contour point data of a single flexible plate is obtained according to all the third coordinate information.
9. A single flexible plate contour point generation system, characterized in that: Applied to the method for generating contour points of a single flexible plate as claimed in any one of claims 1 to 8, the system comprises: A data extraction module is used to obtain drawings associated with product material numbers, extract data from the drawings associated with product material numbers, and obtain two-dimensional relational data; wherein the two-dimensional relational data includes the first coordinate information of each product material number of a single flexible board at the sub level; A data processing module, used for performing data processing on the two-dimensional relational data, so that all the first coordinate information are updated to second coordinate information with sequence marks, and obtaining processed relational data; an offset calculation module, configured to extract a coordinate reference from the processed relational data according to the sequence marks of all the second coordinate information, and perform offset calculation on the processed relational data based on the coordinate reference to obtain an offset corresponding to each second coordinate information; The point generation module is used to update the processing relational data according to the offset of all the second coordinate information in the processing relational data to generate contour point data of a single flexible plate.
10. A device for generating contour points of a single flexible plate, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the computer program implements the method steps in the method for generating contour points of a single flexible plate as claimed in any one of claims 1 to 8 when the computer program is executed.
11. A computer storage medium, characterized in that: The computer storage medium comprises: at least one instruction, which, when executed by a computer, implements the method steps in the method for generating contour points of a single flexible plate according to any one of claims 1 to 8.