CN116881206A - Method, device and equipment for processing residual material data of trepanning - Google Patents

Method, device and equipment for processing residual material data of trepanning Download PDF

Info

Publication number
CN116881206A
CN116881206A CN202310790632.1A CN202310790632A CN116881206A CN 116881206 A CN116881206 A CN 116881206A CN 202310790632 A CN202310790632 A CN 202310790632A CN 116881206 A CN116881206 A CN 116881206A
Authority
CN
China
Prior art keywords
remainder
trepanning
data
file
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310790632.1A
Other languages
Chinese (zh)
Inventor
官羽
卫伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuchang Shipbuilding Industry Group Co Ltd
Original Assignee
Wuchang Shipbuilding Industry Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuchang Shipbuilding Industry Group Co Ltd filed Critical Wuchang Shipbuilding Industry Group Co Ltd
Priority to CN202310790632.1A priority Critical patent/CN116881206A/en
Publication of CN116881206A publication Critical patent/CN116881206A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Human Resources & Organizations (AREA)
  • Artificial Intelligence (AREA)
  • Library & Information Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Human Computer Interaction (AREA)
  • Economics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a method, a device and equipment for processing excess material data of a jacket material, belonging to the technical field of shipbuilding, wherein the method comprises the following steps: based on dll files of the trepanning design platform, acquiring residual material data text of trepanning software in the current trepanning, wherein the trepanning design platform provides trepanning functions for the trepanning software; calling a jar file of the trepanning data management system through the dll file and the batch processing file, wherein the jar file is used for controlling instruction execution of the trepanning data management system; analyzing the text of the residue data through the jar file, and updating the residue data in the jacket material data management system according to the analysis result; and writing the updated remainder data in the trepanning data management system into a database. The application solves the technical problems of low utilization rate and low management efficiency of materials.

Description

Method, device and equipment for processing residual material data of trepanning
Technical Field
The application belongs to the technical field of shipbuilding, and particularly relates to a method, a device and equipment for processing residue data of a jacket material.
Background
The trepanning function of the WSNEST software is custom developed based on Object ARX, and is mainly used for trepanning plates to generate trepanning albums and cutting instructions. However, the software does not have the function of centralized management of the trepanning data, when the software is applied to carry out the trepanning of the ship body, the plates used in the trepanning process and the produced clout data are still managed in a mode of manually filling in the record book, and when the clout data are subsequently utilized, the clout data in the record book are still manually turned over. The method is unfavorable for real-time statistics of trepanning data, fast searching and efficient utilization of residual material data, and full utilization and centralized management of company materials. Therefore, the low utilization rate of materials and low management efficiency are technical problems to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a method, a device and equipment for processing excess material data of a sleeve material, which solve the technical problems of low material utilization rate and low management efficiency.
In a first aspect, an embodiment of the present application provides a method for processing residue data of a jacket material, including: based on dll files of a trepanning design platform, acquiring a residual material data text of trepanning software in the current trepanning, wherein the trepanning design platform provides a trepanning function for the trepanning software; calling a jar file of a trepanning data management system through the dll file and the batch processing file, wherein the jar file is used for controlling instruction execution of the trepanning data management system; analyzing the residue data text through the jar file, and updating the residue data in the jacket material data management system according to the analysis result; and writing the updated residual material data in the trepanning data management system into a database.
With reference to the first aspect of the present application, in some implementations, the obtaining, based on the dll file of the trepanning design platform, a remainder data text of the trepanning software in a current trepanning includes: global searching is carried out on the trepanning album based on the dll file so as to obtain M remainder numbers and M remainder information, wherein M is an integer larger than 1; obtaining M complete remainder information blocks based on the M remainder numbers and the M remainder information, wherein each complete remainder information block comprises a remainder number of one remainder and remainder information corresponding to the remainder number; and obtaining the remainder data text based on the M complete remainder information blocks.
With reference to the first aspect of the present application, in some embodiments, the obtaining M complete remainder information blocks based on the M remainder numbers and the M remainder information includes: acquiring N plate numbers based on the dll file; obtaining M remainder information blocks based on the M remainder numbers and the M remainder information, wherein each remainder information block comprises a remainder number of one remainder and remainder information corresponding to the remainder number; and respectively determining the plate number of each of the M pieces of residue information blocks according to first relative position data so as to obtain M pieces of complete residue information blocks, wherein each complete residue information block comprises a residue number of one residue, residue information corresponding to the residue number and the plate number, and the first relative position data represents the position relationship between the plate number and the residue information block.
With reference to the first aspect of the present application, in some embodiments, the obtaining M residue information blocks based on the M residue numbers and the M residue information includes: and according to second relative position data, the M remainder numbers and the M remainder information are in one-to-one correspondence to obtain M remainder information blocks, and the second relative position data represents the position relationship between the remainder numbers and the remainder information.
With reference to the first aspect of the present application, in some implementations, the step of corresponding the M remainder numbers to the M remainder information one by one according to the second relative position data to obtain the M remainder information blocks includes: respectively selecting the M remainder numbers as target remainder numbers, and calculating the relative distances between the target remainder numbers and the M remainder information; and forming one of the M remainder information blocks according to the target remainder number and the remainder information with the minimum relative distance with the target remainder number.
With reference to the first aspect of the present application, in some implementations, the determining, according to the first relative position data, a board number of each of the M remainder information blocks to obtain the M complete remainder information blocks includes: respectively selecting the M pieces of residue information blocks as target residue information blocks, and calculating the relative distances between the target residue information blocks and the N plate numbers; and forming one complete remainder information block in the M complete remainder information blocks according to the target remainder information block and the plate number with the minimum relative distance with the target remainder information block.
With reference to the first aspect of the present application, in some implementations, the obtaining the remainder data text based on the M complete remainder information blocks includes: and writing the M complete remainder information blocks into blank texts to obtain the remainder data texts.
With reference to the first aspect of the present application, in some embodiments, the calling, by the dll file and the batch file, the jar file of the trepanning data management system includes: calling the batch file through the dll file; the batch file which is called calls the jar file.
In a second aspect, an embodiment of the present application provides a device for processing residue data of a jacket material, including: the system comprises a residual material acquisition unit, a residual material design platform and a processing unit, wherein the residual material acquisition unit is used for acquiring residual material data text of the trepanning software in the current trepanning based on a dll file of the trepanning design platform, and the trepanning design platform provides a trepanning function for the trepanning software; the calling unit is used for calling a jar file of the trepanning data management system through the dll file and the batch processing file, and the jar file is used for controlling instruction execution of the trepanning data management system; the updating unit is used for analyzing the residual material data text through the jar file and updating the residual material data in the trepanning data management system according to the analysis result; and the writing unit is used for writing the updated remainder data in the trepanning data management system into a database.
In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any one of the first aspects when the computer program is executed.
The one or more technical solutions provided by the embodiments of the present application at least achieve the following technical effects or advantages:
according to the embodiment of the application, through a dll file based on the trepanning design platform, the residual material data text of trepanning software in the current trepanning is obtained, and the trepanning design platform provides a trepanning function for the trepanning software; calling a jar file of the trepanning data management system through the dll file and the batch processing file, wherein the jar file is used for controlling instruction execution of the trepanning data management system; analyzing the text of the residue data through the jar file, and updating the residue data in the jacket material data management system according to the analysis result; and writing the updated remainder data in the trepanning data management system into a database. And updating the excess material data in the excess material data management system through the calling of the excess material data text and the file so as to integrate the excess material software and the excess material data management system, thereby avoiding an inefficient manual recording mode of the excess material data and improving the utilization rate and the management efficiency of materials.
Meanwhile, the method can start the trepanning data management system in trepanning software. The working efficiency of nesting and the utilization rate of plates are improved, and the consumption of raw materials is reduced. And an information technology support is provided for the clear warehouse, so that the informatization construction level is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for processing the remainder data of the jacket material in an embodiment of the application;
FIG. 2 is a schematic diagram of the integration of the trepanning data management system and trepanning software implemented in FIG. 1;
FIG. 3 is a schematic diagram of the database of FIG. 1;
FIG. 4 is a schematic diagram showing functional interactions between a trepanning data management system and trepanning software in an embodiment of the present application;
FIG. 5 is a functional schematic of a trepanning data management system in accordance with an embodiment of the present application;
FIG. 6 is a schematic diagram of a first program interface of a trepanning data management system in accordance with an embodiment of the present application;
FIG. 7 is a schematic diagram of a second program interface of the trepanning data management system in accordance with an embodiment of the present application;
FIG. 8 is a diagram illustrating a third program interface of the trepanning data management system in accordance with an embodiment of the present application;
FIG. 9 is a diagram illustrating a fourth program interface of the trepanning data management system in accordance with an embodiment of the present application;
FIG. 10 is a schematic diagram of a fifth program interface of the trepanning data management system in accordance with an embodiment of the present application;
FIG. 11 is a diagram illustrating a sixth interface of a batch data management system according to an embodiment of the present application;
FIG. 12 is a functional block diagram of a trim data processing apparatus for trim according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The description as it relates to "first", "second", etc. in the present application is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present application.
The embodiment of the application provides a method for processing the residual material data of a jacket material, which is shown by referring to FIG. 1, and comprises the following steps S101 to S104:
s101: and acquiring a remainder data text of the trepanning software in the current trepanning based on a dll file of the trepanning design platform, wherein the trepanning design platform provides a trepanning function for the trepanning software.
It should be noted that the trepanning design platform may be Object ARX, and the trepanning software may be wsnet software. The trepanning function of WSNEST software is custom developed based on Object ARX. Object ARX is a C++ based Object-oriented development environment and application program interface, and the application program is a dynamic link library, namely dll file.
It should be noted that, the content of the remainder data text may include distinguishing information of all the remainders of the current jacket, and the distinguishing information of each remainders may include a remainder number of one remainders, remainder information, and a board number to which the remainders belong.
It can be understood that, based on the dll file of the trepanning design platform, the method for obtaining the remainder data text of the trepanning software in the current trepanning includes steps S1011 to S1013:
s1011: global searching is carried out on the trepanning album based on the dll file so as to obtain M remainder numbers and M remainder information, wherein M is an integer larger than 1.
It should be noted that, each piece of the remainder information may include a work number, a material, a batch number, a thickness, and a size of the remainder.
S1012: based on M remainder numbers and M remainder information, M complete remainder information blocks are obtained, and each complete remainder information block comprises a remainder number of one remainder and remainder information corresponding to the remainder number.
It can be understood that the method for obtaining M complete remainder information blocks based on M remainder numbers and M remainder information includes steps 1 to 3:
step 1: n plate numbers are obtained based on the dll file.
Step 2: based on the M remainder numbers and the M remainder information, M remainder information blocks are obtained, and each remainder information block comprises a remainder number of one remainder and remainder information corresponding to the remainder number.
It can be understood that, based on the M remainder numbers and the M remainder information, the method for obtaining the M remainder information blocks may be: and according to the second relative position data, the M remainder numbers and the M remainder information are in one-to-one correspondence to obtain M remainder information blocks, and the second relative position data represents the position relationship between the remainder numbers and the remainder information.
Specifically, according to the second relative position data, the method for obtaining M pieces of residue information blocks by corresponding M pieces of residue numbers and M pieces of residue information one by one comprises the following steps:
step A: and respectively selecting M remainder numbers as target remainder numbers, and calculating the relative distances between the target remainder numbers and M remainder information.
And (B) step (B): and forming one of M remainder information blocks according to the target remainder number and the remainder information with the minimum relative distance with the target remainder number.
Step 3: and respectively determining the plate number of each of the M pieces of the remainder information blocks according to the first relative position data so as to obtain M pieces of complete remainder information blocks, wherein each complete remainder information block comprises a remainder number of one remainder, remainder information corresponding to the remainder number and the plate number, and the first relative position data represents the position relationship between the plate number and the remainder information block.
It should be noted that, since one plate may have one or more remainders, one plate number may correspond to one remainders information block or a plurality of remainders information blocks.
Specifically, according to the first relative position data, the plate number of each of the M remainder information blocks is determined respectively, so as to obtain M complete remainder information blocks, and the method comprises steps C to D:
step C: and respectively selecting M pieces of residue information blocks as target residue information blocks, and calculating the relative distances between the target residue information blocks and N plate numbers.
Step D: and forming one complete remainder information block in the M complete remainder information blocks according to the target remainder information block and the plate number with the minimum relative distance with the target remainder information block.
S1013: and obtaining the remainder data text based on the M complete remainder information blocks.
It can be understood that, based on M complete remainder information blocks, the method for obtaining the remainder data text may be: and writing M complete remainder information blocks into blank texts to obtain remainder data texts.
It should be noted that, in a jacket design including a plurality of plates in a jacket album, when the remaining area on each plate reaches a certain value, a residue is generated, and in general, one plate may have one or more residues. The text information is extracted from the jacket album, and then the text information is filtered according to keywords such as the number, the material, the plate thickness, the size and the like of the residual materials, and although all the residual material information in the jacket file can be extracted, the workload is large, and the problem of residual material serial number is easy to occur. Therefore, the nesting atlas needs to be analyzed to find out the organization structure relation of each remainder. It can be understood that the problem of the serial number of the residual materials is solved through the steps S1011-S1013, and the automatic extraction and storage of the residual material data of the current trepanning of the trepanning software are realized, so that the residual material extraction efficiency is effectively improved, the integrity and the correctness of the residual material data are ensured, and the extraction time is within 1 second.
S102: and calling a jar file of the trepanning data management system through the dll file and the batch processing file, wherein the jar file is used for controlling instruction execution of the trepanning data management system.
It can be understood that the method for calling the jar file of the trepanning data management system through the dll file and the batch file includes the following steps S1021 to S1022:
s1021: the batch file is called through the dll file.
S1022: the tuned batch file calls the jar file.
It should be noted that, the trepanning data management system is developed based on JAVA language, and the program code thereof may be packaged into an executable jar file. The trepanning function of trepanning software was developed based on c++. Because of different development languages, the trepanning data management system and trepanning software are independent. To integrate the trepanning data management system and trepanning software, the information transfer problem must be solved. Therefore, the batch file is used as an intermediate file to realize the call of the trepanning software to the trepanning data management system. Referring to FIG. 2, in a batch file, a command is formulated to launch an executable jar file and an associated Excel template. In the customized dll file, automatic generation of the remainder data text and calling of the batch file are realized. The batch file is called through the dll file, and then the jar file is called through the batch file, so that the aim of starting the trepanning data management system in the trepanning software is fulfilled, and the aim of integrating the trepanning data management system and the trepanning software is fulfilled.
S103: and analyzing the text of the residue data through the jar file, and updating the residue data in the jacket material data management system according to the analysis result.
S104: and writing the updated remainder data in the trepanning data management system into a database.
The database may be an ORACLE database. The database design is a core part of the software design, and the design quality directly influences the development difficulty and the operation efficiency of the system. The core of the database design is a data relation table, and the data table design reflects system analysis, function design and algorithm design and is the basis for realizing the system business logic. The data table structure and the relation thereof of the system are shown by referring to fig. 3, and when the arrow at the lower left of the figure represents the comparison of the plate MATERIAL consumption and the order list, the comparison is carried out by using the combination of MATERIAL and SPEC as the main external key. Other arrows represent references and referenced relationships, representing one-to-many relationships in the database. For example, PROJECTCODE is a primary key in the PROJECT table and foreign keys in the other tables. In the right table, the yuliao_id is the primary key of yuliao_tbl and the foreign key of used_yuliao_tbl, and is USED for remainder statistics.
The steps S101 to S104 are also applicable to the extraction of the sheet material data and the storage of the database.
It should be noted that the trepanning data management system comprises a plate management module, a clout management module and a safety control module.
Referring to fig. 4 and 5, the set material data management system is started in response to a start operation by a user to perform data management of the set material data management system. Specifically, the method for starting the trepanning data management system to perform data management of the trepanning data management system comprises the following steps: plate warehousing, plate inquiry for personal use, plate ordering management and report generation and export. The plate amount is compared with the order bill to provide support for secondary replenishment order.
Referring to fig. 4 and 5, in particular, the method for starting the trepanning data management system to perform data management of the trepanning data management system further includes: the method comprises the steps of storing the residual materials, inquiring the residual materials, receiving and discarding the residual materials, inquiring the personal residual materials and generating a residual material report. In the residue management, the user writes the residue information after the material is sleeved into the database, inquires the required residue in the residue database and carries out the material sleeved again, so that the utilization rate of the plate is improved. The system provides the function of selecting the clout, and when the clout is selected, the clout cannot be used any more unless the user discards the clout, so that one piece of clout data can only be used by one user, and the correctness and the effectiveness of the clout data are ensured. The functions of the security control module include user login, role management and authority control.
It should be noted that, the embodiment of the application changes the original manual inquiry mode of the ship body trepanning data, and realizes that the time required for updating and inquiring the ship body trepanning data is controlled within 2 seconds. The embodiment of the application realizes that the trepanning data management system can be started in WSNEST software, and improves the friendly operation of the software. The trepanning data management system provides functions of inquiring data according to needs or in a fuzzy manner, displaying data states according to different colors, importing or exporting reports and the like, and improves program friendly operation while realizing centralized management of various data.
The method and the device are applied to ship body trepanning data management of multiple ship products, are popularized to other professions such as outfitting, shorten trepanning period and improve trepanning quality. Taking 50 segments of each ship product as an example, the system can save at least 1.5 working days for each person in the aspects of plate and residue searching and statistics and the like. Taking 60 hull users as an example, the design period can be shortened to 90 days by applying the system. For a ship product, the obtained direct economic benefits are as follows: 90 days x 8 hours/day x 50 yuan/hour
=3.6 ten thousand yuan. The method carries out the interplanting work calculation of 10 ship products in one year, and the annual direct economic benefit is as follows: 3.6 ten thousand yuan x10=36 ten thousand yuan.
The following illustrates system deployment and configuration that enables integration of trepanning software and trepanning data management systems, including:
step 1: and (5) installing a database.
Specifically, oracle9i and above versions may be installed, database instances created and related database tables created.
Step 2: JDK1.6 was installed.
Specifically, JDK1.6 and above versions are installed locally at the user and system environment variables are configured.
Step 3: the program is deployed.
Specifically, in the first step, the ACADNET folder is copied to the path d \\program files\\. Second, open AutoCAD 2000, click "tool" — "load application", in pop-up interface, will d: the "ACADNEST. Arx" and "Wyu. Arx" Files in \program files\ACADNEST\are loaded, and if the arx Files exist in the interface 'Loaded Applications', the Files are deleted and added first. Third, click on "tools" - "custom Menu (Menu Customization)", in pop-up interface, first see if "NESTLJJ" exists in Menu Groups, if so, delete this, then reselect d: the "iconnest mnc" file in \\program files\ACADNEST\is loaded. After the above steps are completed, the "spare" word tool button appears in the shortcut toolbar of AutoCAD 2000. In addition, the program interfaces of the trepanning data management system may be partially described with reference to fig. 6, 7, 8, 9, 10, and 11.
According to the embodiment of the application, through a dll file based on the trepanning design platform, the residual material data text of trepanning software in the current trepanning is obtained, and the trepanning design platform provides a trepanning function for the trepanning software; calling a jar file of the trepanning data management system through the dll file and the batch processing file, wherein the jar file is used for controlling instruction execution of the trepanning data management system; analyzing the text of the residue data through the jar file, and updating the residue data in the jacket material data management system according to the analysis result; and writing the updated remainder data in the trepanning data management system into a database. And updating the excess material data in the excess material data management system through the calling of the excess material data text and the file so as to integrate the excess material software and the excess material data management system, thereby avoiding an inefficient manual recording mode of the excess material data and improving the utilization rate and the management efficiency of materials. Meanwhile, the method can start the trepanning data management system in trepanning software. The working efficiency of nesting and the utilization rate of plates are improved, and the consumption of raw materials is reduced. And an information technology support is provided for the clear warehouse, so that the informatization construction level is improved.
Based on the same inventive concept, referring to fig. 12, an embodiment of the present application provides a remainder data processing apparatus 10 for a set material, including: the remainder obtaining unit 110 is configured to obtain a remainder data text of the trepanning software at the current trepanning based on the dll file of the trepanning design platform, where the trepanning design platform provides a trepanning function for the trepanning software. The calling unit 120 is configured to call, through the dll file and the batch file, a jar file of the batch data management system, where the jar file is used to control instruction execution of the batch data management system. And the updating unit 130 is used for analyzing the text of the clout data through the jar file and updating the clout data in the clout data management system according to the analysis result. And the writing unit 140 is used for writing the updated remainder data in the trepanning data management system into the database.
It can be understood that the remainder obtaining unit 110 includes: a basic information obtaining subunit 1110, configured to perform global search on the jacket album based on the dll file, so as to obtain M remainder numbers and M remainder information, where M is an integer greater than 1; a complete information obtaining subunit 1120, configured to obtain M complete remainder information blocks based on M remainder numbers and M remainder information, where each complete remainder information block includes a remainder number of a remainder and remainder information corresponding to the remainder number; the text obtaining subunit 1130 is configured to obtain a remainder data text based on the M complete remainder information blocks.
It is understood that the complete information acquisition subunit 1120 includes: the board acquisition module 11210 is configured to acquire N board numbers based on the dll file; a basic information block generating module 11220, configured to obtain M residue information blocks based on M residue numbers and M residue information, where each residue information block includes a residue number of a residue and residue information corresponding to the residue number; the complete information block generating module 11230 is configured to determine a plate number of each of the M residue information blocks according to first relative position data, so as to obtain M complete residue information blocks, where each complete residue information block includes a residue number of a residue, and residue information and a plate number corresponding to the residue number, and the first relative position data represents a positional relationship between the plate number and the residue information block.
It may be appreciated that the basic information block generating module 11220 is specifically configured to: and according to the second relative position data, the M remainder numbers and the M remainder information are in one-to-one correspondence to obtain M remainder information blocks, and the second relative position data represents the position relationship between the remainder numbers and the remainder information. Specifically, according to the second relative position data, the M remainder numbers and the M remainder information are in one-to-one correspondence, so as to obtain M remainder information blocks, including: respectively selecting M remainder numbers as target remainder numbers, and calculating the relative distances between the target remainder numbers and M remainder information; and forming one of M remainder information blocks according to the target remainder number and the remainder information with the minimum relative distance with the target remainder number.
It may be appreciated that the complete information block generating module 11230 is specifically configured to: respectively selecting M pieces of residue information blocks as target residue information blocks, and calculating the relative distances between the target residue information blocks and N plate numbers; and forming one complete remainder information block in the M complete remainder information blocks according to the target remainder information block and the plate number with the minimum relative distance with the target remainder information block.
It is understood that the text acquisition subunit 1130 is specifically configured to: and writing M complete remainder information blocks into blank texts to obtain remainder data texts.
It may be appreciated that the calling unit 120 is specifically configured to: calling batch files through dll files; the tuned batch file calls the jar file.
It should be understood that, in the embodiment of the present application, further details of implementation of the device 10 for processing the remainder data of the batch are described with reference to the method for processing the remainder data of the batch, which is not described herein for brevity.
Based on the same inventive concept, the embodiment of the present application further provides an electronic device, as shown in fig. 13, including a memory 1304, a processor 1302, and a computer program stored in the memory 1304 and capable of running on the processor 1302, where the processor 1302 executes the steps described in any implementation manner of the embodiment of the method for processing the residue data of the jacket material.
Where in FIG. 13 a bus architecture (represented by bus 1300), the bus 1300 may include any number of interconnected buses and bridges, with the bus 1300 linking together various circuits, including one or more processors, represented by the processor 1302, and memory, represented by the memory 1304. The bus 1300 may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface 1305 provides an interface between the bus 1300 and the receiver 1301 and the transmitter 1303. The receiver 1301 and the transmitter 1303 may be the same element, i.e. a transceiver, providing a unit for communicating with various other apparatuses over a transmission medium. The processor 1302 is responsible for managing the bus 1300 and general processing, while the memory 1304 may be used to store data used by the processor 1302 in performing operations.
According to the embodiment of the application, through a dll file based on the trepanning design platform, the residual material data text of trepanning software in the current trepanning is obtained, and the trepanning design platform provides a trepanning function for the trepanning software; calling a jar file of the trepanning data management system through the dll file and the batch processing file, wherein the jar file is used for controlling instruction execution of the trepanning data management system; analyzing the text of the residue data through the jar file, and updating the residue data in the jacket material data management system according to the analysis result; and writing the updated remainder data in the trepanning data management system into a database. And updating the excess material data in the excess material data management system through the calling of the excess material data text and the file so as to integrate the excess material software and the excess material data management system, thereby avoiding an inefficient manual recording mode of the excess material data and improving the utilization rate and the management efficiency of materials. Meanwhile, the method can start the trepanning data management system in trepanning software. The working efficiency of nesting and the utilization rate of plates are improved, and the consumption of raw materials is reduced. And an information technology support is provided for the clear warehouse, so that the informatization construction level is improved.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software that is executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated in one processing unit, each unit may exist alone physically, or two or more units may be integrated in one unit.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate components may or may not be physically separate, and components as control devices may or may not be physical units, may be located in one place, or may be distributed over a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. The method for processing the residue data of the jacket material is characterized by comprising the following steps of:
based on dll files of a trepanning design platform, acquiring a residual material data text of trepanning software in the current trepanning, wherein the trepanning design platform provides a trepanning function for the trepanning software;
calling a jar file of a trepanning data management system through the dll file and the batch processing file, wherein the jar file is used for controlling instruction execution of the trepanning data management system;
analyzing the residue data text through the jar file, and updating the residue data in the jacket material data management system according to the analysis result;
and writing the updated residual material data in the trepanning data management system into a database.
2. The method for processing the remainder data of the trepanning according to claim 1, wherein the obtaining the remainder data text of the trepanning software in the current trepanning based on the dll file of the trepanning design platform comprises:
global searching is carried out on the trepanning album based on the dll file so as to obtain M remainder numbers and M remainder information, wherein M is an integer larger than 1;
obtaining M complete remainder information blocks based on the M remainder numbers and the M remainder information, wherein each complete remainder information block comprises a remainder number of one remainder and remainder information corresponding to the remainder number;
and obtaining the remainder data text based on the M complete remainder information blocks.
3. The method for processing the remainder data of the jacket material according to claim 2, wherein obtaining M complete remainder information blocks based on the M remainder numbers and the M remainder information includes:
acquiring N plate numbers based on the dll file;
obtaining M remainder information blocks based on the M remainder numbers and the M remainder information, wherein each remainder information block comprises a remainder number of one remainder and remainder information corresponding to the remainder number;
and respectively determining the plate number of each of the M pieces of residue information blocks according to first relative position data so as to obtain M pieces of complete residue information blocks, wherein each complete residue information block comprises a residue number of one residue, residue information corresponding to the residue number and the plate number, and the first relative position data represents the position relationship between the plate number and the residue information block.
4. The method for processing the remainder data of the jacket material according to claim 3, wherein obtaining M remainder information blocks based on the M remainder numbers and the M remainder information includes:
and according to second relative position data, the M remainder numbers and the M remainder information are in one-to-one correspondence to obtain M remainder information blocks, and the second relative position data represents the position relationship between the remainder numbers and the remainder information.
5. The method for processing the remainder data of the jacket material according to claim 4, wherein the step of obtaining the M remainder information blocks by one-to-one correspondence between the M remainder numbers and the M remainder information according to the second relative position data includes:
respectively selecting the M remainder numbers as target remainder numbers, and calculating the relative distances between the target remainder numbers and the M remainder information;
and forming one of the M remainder information blocks according to the target remainder number and the remainder information with the minimum relative distance with the target remainder number.
6. The method for processing the remainder data of the jacket material according to claim 3, wherein the determining the plate number of each of the M remainder information blocks according to the first relative position data to obtain the M complete remainder information blocks includes:
respectively selecting the M pieces of residue information blocks as target residue information blocks, and calculating the relative distances between the target residue information blocks and the N plate numbers;
and forming one complete remainder information block in the M complete remainder information blocks according to the target remainder information block and the plate number with the minimum relative distance with the target remainder information block.
7. The method for processing the remainder data of the jacket material according to claim 2, wherein the obtaining the remainder data text based on the M complete remainder information blocks includes:
and writing the M complete remainder information blocks into blank texts to obtain the remainder data texts.
8. The method for processing the remainder data of the trepanning according to claim 1, wherein the calling the jar file of the trepanning data management system through the dll file and the batch file comprises:
calling the batch file through the dll file;
the batch file which is called calls the jar file.
9. A trim data processing apparatus for a trim, comprising:
the system comprises a residual material acquisition unit, a residual material design platform and a processing unit, wherein the residual material acquisition unit is used for acquiring residual material data text of the trepanning software in the current trepanning based on a dll file of the trepanning design platform, and the trepanning design platform provides a trepanning function for the trepanning software;
the calling unit is used for calling a jar file of the trepanning data management system through the dll file and the batch processing file, and the jar file is used for controlling instruction execution of the trepanning data management system;
the updating unit is used for analyzing the residual material data text through the jar file and updating the residual material data in the trepanning data management system according to the analysis result;
and the writing unit is used for writing the updated remainder data in the trepanning data management system into a database.
10. An electronic device, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any of claims 1-8 when the computer program is executed.
CN202310790632.1A 2023-06-29 2023-06-29 Method, device and equipment for processing residual material data of trepanning Pending CN116881206A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310790632.1A CN116881206A (en) 2023-06-29 2023-06-29 Method, device and equipment for processing residual material data of trepanning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310790632.1A CN116881206A (en) 2023-06-29 2023-06-29 Method, device and equipment for processing residual material data of trepanning

Publications (1)

Publication Number Publication Date
CN116881206A true CN116881206A (en) 2023-10-13

Family

ID=88267273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310790632.1A Pending CN116881206A (en) 2023-06-29 2023-06-29 Method, device and equipment for processing residual material data of trepanning

Country Status (1)

Country Link
CN (1) CN116881206A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117620462A (en) * 2023-12-25 2024-03-01 中钰匠鑫机械制造有限公司 Automatic laser trepanning system of trepanning

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117620462A (en) * 2023-12-25 2024-03-01 中钰匠鑫机械制造有限公司 Automatic laser trepanning system of trepanning

Similar Documents

Publication Publication Date Title
US10289286B2 (en) Thing modeler for internet of things
CN110162512B (en) Log retrieval method, device and storage medium
US20150142735A1 (en) Memory searching system and method, real-time searching system and method, and computer storage medium
CN102117306A (en) Method and system for monitoring ETL (extract-transform-load) data processing process
CN116881206A (en) Method, device and equipment for processing residual material data of trepanning
CN109344374B (en) Report generation method and device based on big data, electronic equipment and storage medium
CN103593449A (en) Method and system for recycling database resources
CN101763258A (en) Software multiplexing method and system
CN101876969B (en) Report form developing method and device
CN102171696A (en) Producing method and device for ordered material
CN112597123A (en) Data multi-version dynamic switching method and device
CN111221817B (en) Service information data storage method, device, computer equipment and storage medium
CN113434585A (en) Resource saving method and equipment
CN113591447A (en) Data table creating method, device, equipment and storage medium
JPH11250092A (en) Shared database, shared databse system, method for extracting data from shared database and medium recording data extraction program from shared databse
CN114185619B (en) Breakpoint compensation method, device, equipment and medium based on distributed operation
CN114443652B (en) Breakpoint SQL operation method, system and device
CN114723396A (en) Salary statistical method, system, computer equipment and readable storage medium
CN118394756A (en) Distributed database index table mechanism implementation method and related device
CN113868150A (en) Data synchronization method and device and electronic equipment
CN114443650A (en) Method and device for sorting and tabulating according to time
CN117034882A (en) Method, device, server and machine-readable storage medium for processing combined report
CN116974526A (en) Data development method, device, terminal equipment and storage medium
CN117743443A (en) Data acquisition method and device, electronic equipment and storage medium
CN117114603A (en) Single-rail management method, single-rail management device, storage medium and single-rail management equipment for electronic drawing

Legal Events

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