A Model-Defined Cross-Regional Collaborative Design Method and System for Firearms Manufacturing
By defining firearm manufacturing information as a 3D model structure file and parsing and editing it at the factory level, the problem of data heterogeneity between the research institute and the factory was solved, enabling efficient cross-regional collaborative design of processes and improving data consistency and the quality of collaborative design of processes.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- WEAPON EQUIP RES INST OF CHINA NAT WEAPON EQUIP GRP
- Filing Date
- 2024-09-30
- Publication Date
- 2026-06-02
Smart Images

Figure CN119514049B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of firearms design technology, and in particular relates to a cross-regional collaborative design method and system for firearms manufacturing based on model definition. Background Technology
[0002] Process design refers to the technology and engineering involved in transforming product design drawings into actual products. The core content of process design is to formulate the production process of the workshop, describe the production process flow, the specifications and quantities of major production equipment and auxiliary equipment; calculate the demand for raw materials and semi-finished products in the factory, clarify the production tasks of each workshop and the cooperation between them, formulate production and operation plans, product quality inspection, product supply and sales ordering systems, and formulate labor and production organization and work systems, etc.
[0003] A typical model for product research and development in my country involves collaboration between research institutes and factories located in two or more places. The research institute is responsible for product design, and after completing the design, it packages the complete set of design drawings and sends them to the factory. The factory then handles the subsequent manufacturing based on these drawings. Since research institutes and factories are different entities, they may use different product design software. Research institutes focus on R&D and design, and have some trial production and verification capabilities; factories focus on manufacturing, but also have some design capabilities. Therefore, research institute process software is often designed for rapid process design, while factory process software must also handle receiving upstream design data, exporting process BOM data to downstream workshop APS / MES systems, and outputting 2D process cards, leaning more towards manufacturing management systems. Consequently, the process software often differs, frequently leading to data heterogeneity issues between the two entities.
[0004] In the small arms industry, when research institutes develop new firearms products, collaborating factories also participate, engaging in joint design to create 3D models. During manufacturing, research institutes visit factories to monitor production and resolve technical issues encountered. New firearm development involves trial production and verification, often introducing new processes. Specifically, in research institutes, after designing 3D models of product components, 3D process design software is used to develop trial or new processes, leading to prototype manufacturing and product testing. After various professional tests, design engineers optimize the design model based on the results. When the product enters the manufacturing stage, the research institute stores the 3D model and process documents as two separate files and transmits them to the factory. The factory saves the 3D design model in its manufacturing management system and then uses this system to design process specifications. The research institute sends the 3D model and other design data to the factory after finalizing the product design; this is a fundamental design-manufacturing process between the institute and factory, already supported by network transmission and management capabilities. Sending process documents and ensuring their consistency with the product's 3D model in terms of both linking and version compatibility increases the requirements and difficulty of data transmission. The weak correlation between the two types of data makes transmission prone to data disorder or loss. After the production unit saves the 3D model to its local system, data incompatibility issues often arise due to differences between the process design software and the research institute's data. This necessitates manual input of trial / new process information into the process software, weakening the effectiveness of process collaboration, reducing the quality of collaborative process design, increasing the workload of production unit process personnel, and raising both time and labor costs. Summary of the Invention
[0005] To address the aforementioned technical problems, this invention proposes a cross-regional collaborative design method and system for firearms manufacturing based on model definition.
[0006] The first aspect of this invention discloses a cross-regional collaborative design method for firearms manufacturing based on model definition, the method comprising:
[0007] S1 defines the product process information as a three-dimensional model structure file; the three-dimensional model structure file includes a top-level structure, primary components, and secondary components; the top-level structure is a part model or assembly model, the primary components are trial production process models containing process information, and the secondary components are trial production process models containing process step information.
[0008] S2, based on the data collaboration and distribution strategy between factories, transmits the 3D model structure files across regions to the factory end;
[0009] S3 reads the 3D model structure file at the factory end, parses the process content and steps in the 3D model structure file, and edits and modifies the parsing results according to the production site conditions, thereby realizing cross-regional collaborative design of firearms manufacturing processes.
[0010] In step S1, the construction of the trial production process model includes:
[0011] S11, Based on the process type, convert the trial production process content into a trial production process array;
[0012] S12, create the same number of trial production process model files based on the number of trial production process arrays, and store the contents of the trial production process arrays into the attributes of the corresponding trial production process model files to complete the construction of the trial production process model.
[0013] In step S12, the process type includes assembly process, machining process or heat treatment process.
[0014] In step S1, the construction of the trial production model includes:
[0015] S13, convert the trial production step content into a trial production step array;
[0016] S14. Create the same number of trial production step model files based on the number of trial production step arrays, and store the contents of the trial production step arrays into the attributes of the corresponding trial production step model files to complete the construction of the trial production step model.
[0017] In step S1, defining the product process information as a 3D model structure file includes:
[0018] S15, in the part model or assembly model, arrange the completed prototype process models in a tree structure;
[0019] S16. In the sorted trial production process model, arrange the completed trial production process models in a tree structure.
[0020] Step S1 also includes:
[0021] S17, convert the modified trial production process content into a modified trial production process array, and compare the modified trial production process array with the number and attribute values of the trial production process models; if the number of modified trial production process arrays increases or decreases, the trial production process models are also increased or decreased accordingly; if the content of the modified trial production process arrays changes, the corresponding attributes of the trial production process models are changed.
[0022] S18: Convert the modified trial production step content into a modified trial production step array, and compare the modified trial production step array with the number and attribute values of the trial production step models; if the number of modified trial production step arrays increases or decreases, the trial production step models are also increased or decreased accordingly; if the content of the modified trial production step arrays changes, the corresponding attributes of the trial production step models are changed.
[0023] Step S3 specifically includes:
[0024] S31. Obtain the process content from the parsed 3D model structure file, modify it, convert it into a process array for batch production, and store the contents of the process array for batch production into the attributes of the process model for batch production.
[0025] S32, after obtaining and modifying the process steps in the parsed 3D model structure file, convert it into a process step array for batch production, and store the contents of the process step array for batch production into the attributes of the process step model for batch production.
[0026] S33, in the process model of batch production process, the completed process step models of each batch production process are arranged in a tree structure to obtain a two-dimensional process model.
[0027] S34. Package the two-dimensional process model into an XML file according to the structural hierarchy of the process steps and send it to the production system.
[0028] A second aspect of this invention discloses a model-defined cross-regional collaborative design system for firearms manufacturing, the system comprising:
[0029] The first processing module is configured to define product process information as a three-dimensional model structure file; wherein the three-dimensional model structure file includes a top-level structure, a first-level component, and a second-level component; the top-level structure is a part model or an assembly model, the first-level component is a trial production process model containing process information, and the second-level component is a trial production process model containing process step information.
[0030] The second processing module is configured to transmit the 3D model structure file across regions to the factory based on the data collaboration and distribution strategy between the factories.
[0031] The third processing module is configured to read the 3D model structure file at the factory end, parse the process content and steps in the 3D model structure file, and edit and modify the parsing results according to the production site conditions, thereby realizing cross-regional collaborative design of firearms manufacturing processes.
[0032] A third aspect of this invention discloses an electronic device. The electronic device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the steps of the model-defined cross-regional collaborative design method for firearms manufacturing, as described in any of the first aspects of this disclosure.
[0033] A fourth aspect of this invention discloses a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a model-defined cross-regional collaborative design method for firearms manufacturing, as described in any of the first aspects of this disclosure.
[0034] In summary, the solution proposed in this invention has the following technical effects:
[0035] 1. By using a model to define the firearm manufacturing process, when designing processes in different locations, it is not necessary to transmit two separate files: the 3D design model and the process specification. Instead, the 3D model containing the process information is sent to the manufacturer in the same way as before. The association between the process data and the 3D design model ensures data consistency.
[0036] 2. The product process information is organized and managed in a three-dimensional model structure file format. The top-level structure is the part or assembly model, the first-level component is the model containing process information, and the second-level part is the model containing process step information. Compared with two-dimensional process cards, the process structure is clear.
[0037] 3. The manufacturer's process engineers save the assembly model, which includes the 3D model and the process, into the production and manufacturing management system. They can view the model and process in the system and reuse the prototype process / new process using the firearm 2D process design software of the manufacturing management system. This allows for the rapid design of the production process and the output of the process according to the factory's original 2D process card template, which improves work efficiency and saves labor costs.
[0038] 4. 3D design software is an essential basic software for the research and development and production of products in the institute. The institute's process design software (intelligent rapid design software for typical firearm processes) is a secondary development based on this software. The underlying data and UI style are consistent, and the process file definition format is unified with the 3D model. Whether viewing and editing the 3D design model or performing various typical process designs, it feels familiar, the operation is simple and convenient, and the work efficiency is improved. Attached Figure Description
[0039] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0040] Figure 1 This is a flowchart illustrating a cross-regional collaborative design method for firearms manufacturing based on model definition, according to an embodiment of the present invention.
[0041] Figure 2This is a flowchart illustrating the processing at the factory level after the process is transferred across regions according to an embodiment of the present invention.
[0042] Figure 3 This is a system architecture diagram of a cross-regional collaborative design system for firearms manufacturing according to an embodiment of the present invention;
[0043] Figure 4 This is a structural diagram of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0045] It is understood that the terms "first," "second," etc., used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of this application, a first image may be referred to as a second image, and similarly, a second image may be referred to as a first image. Both the first image and the second image are images, but they are not the same image.
[0046] Please see Figure 1 According to an embodiment of the present invention, in a first aspect, a cross-regional collaborative design method for firearms manufacturing based on model definition is disclosed, the method comprising:
[0047] S1 defines the product process information as a three-dimensional model structure file; the three-dimensional model structure file includes a top-level structure, primary components, and secondary components; the top-level structure is a part model or assembly model, the primary components are trial production process models containing process information, and the secondary components are trial production process models containing process step information.
[0048] In step S1, the construction of the trial production process model includes:
[0049] S11, convert the trial production process content into a trial production process array, and determine the content of the trial production process array according to the process type;
[0050] S12, create the same number of trial production process model files based on the number of trial production process arrays, and store the contents of the trial production process arrays into the attributes of the trial production process model files to complete the construction of the trial production process model.
[0051] Specifically, in NX software, the compilation and storage of trial production process content is defined as an array, GX = {gx1, gx2, ..., gxi, ..., gxn}, where gxi is defined as an attribute of set GX, and the value corresponding to gxi is defined as a feature value. The array content is determined according to the process type, which includes assembly process, machining process, heat treatment process, etc. For example, if the process type is machining process, GX = {component number | process number | process name | critical process | process type | remarks}, taking component number as JTT_proc_01, process number as 1, process name as blanking, critical process as critical process, process type as material requisition process, and remarks as empty. In the part model, the process models are arranged in a tree structure, with the part model containing 3D design data as the parent item, and the process model containing 3D process data and process attribute information as the child item.
[0052] In step S1, the construction of the trial production model includes:
[0053] S13, convert the trial production step content into a trial production step array;
[0054] S14. Create the same number of trial production step model files based on the number of trial production step arrays, and store the contents of the trial production step arrays into the attributes of the trial production step model files to complete the construction of the trial production step model.
[0055] Specifically, the compilation and storage of trial production process content involves converting the trial production process content written in the design phase into an array, GB = {gb1, gb2, ..., gbi, ..., gbn}, where gbi is defined as an attribute of the set GB, and the value corresponding to gbi is defined as a feature value. For example, GB = {Component Number | Step Number | Step Name | Technical Requirements | Tool | Gauge | Depth of Cut | Feed | Rotation Speed | Inspection Frequency | Working Hours}, taking component number as JTT_proc_02_proc_03, step number as 3, step name as rough milling helical surface, technical requirements as ensuring sufficient allowance, tool as end mill, gauge as empty, depth of cut as 2, feed as 0.1, rotation speed as 3000, inspection frequency as empty, and working hour as 1; creating the same number of trial production step models based on the number of arrays, storing the contents of the trial production step array into the attributes of the trial production step model; in the trial production process model, the trial production step models are arranged in a tree structure, with the trial production process model as the parent item and all trial production step models as child items.
[0056] Step S1 also includes:
[0057] S17, convert the modified trial production process content into a modified trial production process array, and compare the modified trial production process array with the number and attribute values of the trial production process models; if the number of modified trial production process arrays increases or decreases, the trial production process models are also increased or decreased accordingly; if the content of the modified trial production process arrays changes, the corresponding attributes of the trial production process models are changed.
[0058] S18: Convert the modified trial production step content into a modified trial production step array, and compare the modified trial production step array with the number and attribute values of the trial production step models; if the number of modified trial production step arrays increases or decreases, the trial production step models are also increased or decreased accordingly; if the content of the modified trial production step arrays changes, the corresponding attributes of the trial production step models are changed.
[0059] In this step, the attribute function of the 3D design model is used to organize, store and manage process specification information, realize the definition of process specification data based on the 3D model, and organize and manage product process information in the form of 3D model structure file. The top-level structure is the part or assembly model, the first-level component is the model containing process information, and the second-level component is the model containing process step information. Compared with the two-dimensional process card, the process structure is clear.
[0060] S2, based on the data collaboration and distribution strategy between factories, transmits the 3D model structure files across regions to the factory end;
[0061] In this step, the existing product design data remote distribution function of the factory is fully utilized for cross-regional process collaboration. The process specification information attached to the 3D model data can be sent at the same time as the 3D model data. When designing processes in different locations, it is not necessary to transmit two separate files, the 3D design model and the process specification. The 3D model containing the process information is sent to the manufacturer in the same way as the previous 3D model. The association between the process data and the 3D design model ensures data consistency.
[0062] S3 reads the 3D model structure file at the factory end, parses the process content and steps in the 3D model structure file, and edits and modifies the parsing results according to the production site conditions, thereby realizing cross-regional collaborative design of firearms manufacturing processes.
[0063] Step S3 specifically includes:
[0064] S31. Obtain the process content from the parsed 3D model structure file, modify it, convert it into a process array for batch production, and store the contents of the process array for batch production into the attributes of the process model for batch production.
[0065] S32, after obtaining and modifying the process steps in the parsed 3D model structure file, convert it into a process step array for batch production, and store the contents of the process step array for batch production into the attributes of the process step model for batch production.
[0066] S33, in the process model of batch production process, the completed process step models of each batch production process are arranged in a tree structure to obtain a two-dimensional process model.
[0067] S34. Package the two-dimensional process model into an XML file according to the structural hierarchy of the process steps and send it to the production system.
[0068] Specifically, please see Figure 2 Manufacturer process collaborative editing and storage.
[0069] Editing the production process content: The manufacturer views or edits the trial production process sent by the design unit, modifies the trial production process content into the production process content, converts the production process content into an array (same as step S11), and compares it with the number and attribute values of the tree structure process model. If the number of arrays increases or decreases, the tree structure process model is also increased or decreased accordingly; if the content of the array changes, the corresponding attributes of the tree structure process model are changed.
[0070] Editing the production process content involves modifying the trial production process content into the production process content, converting the modified production process content into an array (same as S13 in step 1), and comparing it with the number and attribute values of the tree structure process model. If the number of process arrays increases or decreases, the process model in the tree structure is also increased or decreased accordingly; if the content of the array changes, the corresponding attributes of the process model in the tree structure are changed.
[0071] TeamCenter stores production processes in the manufacturing system (manufacturers reuse processes). The production process details and steps outside the computer's manufacturing system are converted into arrays and saved to an XML file named after the model. The array format is as follows: ZJ = {zj1, zj2, ..., zji, ..., zjn}, where zji is defined as an attribute of set ZJ, and the value corresponding to zji is defined as a feature value; ZJ = {component number | process number | process name | critical process | process type | remarks | component number | step number | step name | technical requirements | tool | gauge | depth of cut | feed | revolutions | inspection frequency | time}. In the integrated environment of NX design software and the TeamCenter manufacturing system, the arrays in the XML file named after the model are read. Based on the number of arrays, the same number of process models are created in the manufacturing system. The type of process model object in the manufacturing system is determined according to the process type (e.g., blanking, machining, heat treatment, etc.). The array content is generated and stored in the attribute parameter information of the process model in the manufacturing system.
[0072] In this step, leveraging the data integration capabilities of the factory's process design software and manufacturing management system, the manufacturer only needs to save the 3D model containing process specification information to the manufacturing management system to reuse heterogeneous processes. The manufacturer's process engineers save the assembly model containing the 3D model and the process to the manufacturing management system. By viewing the model and process within the system and utilizing the firearms 2D process design software in the manufacturing management system to reuse prototype / new processes, production processes can be quickly designed. Furthermore, processes can be output according to the factory's existing 2D process card templates, improving work efficiency and saving labor costs.
[0073] A second aspect of this invention discloses a model-defined cross-regional collaborative design system for firearms manufacturing, the system comprising:
[0074] The first processing module is configured to define product process information as a three-dimensional model structure file; wherein the three-dimensional model structure file includes a top-level structure, a first-level component, and a second-level component; the top-level structure is a part model or an assembly model, the first-level component is a trial production process model containing process information, and the second-level component is a trial production process model containing process step information.
[0075] The second processing module is configured to transmit the 3D model structure file across regions to the factory based on data collaborative distribution between the factories;
[0076] The third processing module is configured to read the 3D model structure file at the factory end, parse the process content and steps in the 3D model structure file, and edit and modify the parsing results according to the production site conditions, thereby realizing cross-regional collaborative design of firearms manufacturing processes.
[0077] Specifically, for the cross-regional collaborative design system architecture of the firearms manufacturing process, please refer to [link to relevant documentation]. Figure 3The research institute's process design software (intelligent rapid design software for typical firearm processes) was newly developed on Siemens NX CAD software. It features example-based firearm process route planning, process compilation, step-by-step process compilation, process parameter reasoning, process simulation and optimization, and can design typical processes such as firearm machining, heat treatment, and assembly, defining the generated process specifications into the corresponding 3D model. The factory process design software (2D firearm process design software) was developed based on the Siemens Teamcenter production management system in earlier years. It features process route planning, process information compilation, step-by-step information compilation, process information entry, selection of basic process resources, and formatted generation of 2D process cards. The data collaboration and distribution function between the institute and the factory is implemented based on two PDM (Product Data Management) systems. Based on the above technical conditions, this invention creates methods for model-based process data definition, 3D process data parsing and integration, and develops integration interface functions, thereby providing a model-defined cross-regional collaborative design method and means for firearm processes. After the research institute's trial production process / new process is distributed to the factory along with the 3D model, a new process is created in the factory's 2D process software for firearms. Then, the 3D process that needs to be referenced is imported, and a 2D process specification is generated through process specification parsing. This specification is then edited and modified according to the production site conditions, thereby enabling the reuse of the trial production process / new process.
[0078] A third aspect of this invention discloses an electronic device. The electronic device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the steps of the model-defined cross-regional collaborative design method for firearms manufacturing, as described in any of the first aspects of this disclosure.
[0079] Figure 4 This is a structural diagram of an electronic device according to an embodiment of the present invention, such as... Figure 4 As shown, the electronic device includes a processor, memory, communication interface, display screen, and input device connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, Near Field Communication (NFC), or other technologies. The display screen can be an LCD screen or an e-ink screen. The input device can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the device's casing, or an external keyboard, touchpad, or mouse.
[0080] Those skilled in the art will understand that Figure 4 The structure shown is merely a structural diagram of the part related to the technical solution of this disclosure and does not constitute a limitation on the electronic device to which the solution of this application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0081] A fourth aspect of this invention discloses a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a model-defined cross-regional collaborative design method for firearms manufacturing, as described in any of the first aspects of this disclosure.
[0082] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein, and such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A cross-regional collaborative design method for firearms manufacturing based on model definition, characterized in that, The method, applicable to scenarios where research institutes and factories are located in different places and use different process software, includes: S1 defines the product process information as a 3D model structure file; The 3D model structure file includes a top-level structure, primary components, and secondary components. The top-level structure is a part model or assembly model, the primary components are trial production process models containing process information, and the secondary components are trial production process models containing process step information. The construction of the trial production process model includes: converting the trial production process content into a trial production process array according to the process type, creating the same number of trial production process model files according to the number of trial production process arrays, and storing the content of the trial production process arrays into the attributes of the corresponding trial production process model files; The construction of the trial production step model includes: converting the trial production step content into a trial production step array, creating the same number of trial production step model files according to the number of trial production step arrays, and storing the content of the trial production step arrays into the attributes of the corresponding trial production step model files; S2, based on the data collaborative distribution strategy between institutes and factories, the 3D model structure file is transmitted across regions to the factory; the transmission of the 3D model structure file containing process information across regions to the factory specifically includes: By utilizing the existing remote distribution channel for product design data between the research institute and the factory, the three-dimensional model structure file can be transmitted as a single file, eliminating the need to transmit separate process specification files. S3 reads the 3D model structure file at the factory end, parses the process content and process steps in the 3D model structure file, converts the parsing results into an array, compares it with the number of models and attributes, automatically adds, deletes and modifies models according to the comparison results, and edits and modifies the parsing results according to the production site conditions, generates batch production process and outputs structured data, thereby realizing cross-regional collaborative design of firearms process; Step S3 specifically includes: S31, at the factory end, obtain the trial production process content from the parsed 3D model structure file, modify it according to the production site conditions, convert it into a batch production process process array, and store the batch production process process array content into the attributes of the batch production process process model to realize the conversion from trial production process to batch production process. S32, obtain the trial production steps from the parsed 3D model structure file, modify them according to the production site conditions, convert them into a batch production process step array, and store the batch production process step array content into the attributes of the batch production process step model; S33, In the process model of batch production process, the completed process step models of each batch production process are arranged in a tree structure to obtain a two-dimensional process model. S34. The two-dimensional process model is packaged into an XML file according to the structural hierarchy of the process steps and sent to the production system for the APS / MES system to call.
2. The method according to claim 1, characterized in that, Process types include assembly processes, machining processes, or heat treatment processes.
3. The method according to claim 1, characterized in that, Step S1, defining the product process information as a 3D model structure file, also includes: In the part model or assembly model, the completed prototype process models are arranged in a tree structure; In the completed trial production process model, the completed trial production process models are arranged in a tree structure.
4. The method according to claim 3, characterized in that, Step S1 also includes: The modified trial production process content is converted into a modified trial production process array, and the modified trial production process array is compared with the number and attribute values of the trial production process models. If the number of trial production process arrays is increased or deleted, the trial production process models are also increased or deleted accordingly. If the content of the modified trial production process arrays is changed, the corresponding attributes of the trial production process models are changed. The modified trial production steps are converted into a modified trial production step array, and the modified trial production step array is compared with the number and attribute values of the trial production step models. If the number of modified trial production step arrays is increased or deleted, the trial production step models are also increased or deleted accordingly. If the content of the modified trial production step arrays is changed, the corresponding attributes of the trial production step models are changed.
5. A model-defined cross-regional collaborative design system for firearms manufacturing, characterized in that, The system, applicable to scenarios where research institutes and factories are located in different places and use different process software, includes: The first processing module is configured to define product process information as a three-dimensional model structure file; wherein the three-dimensional model structure file includes a top-level structure, a first-level component, and a second-level component; the top-level structure is a part model or an assembly model, the first-level component is a trial production process model containing process information, and the second-level component is a trial production process model containing process step information. The construction of the trial production process model includes: converting the trial production process content into a trial production process array according to the process type, creating the same number of trial production process model files according to the number of trial production process arrays, and storing the content of the trial production process arrays into the attributes of the corresponding trial production process model files; The construction of the trial production step model includes: converting the trial production step content into a trial production step array, creating the same number of trial production step model files according to the number of trial production step arrays, and storing the content of the trial production step arrays into the attributes of the corresponding trial production step model files; The second processing module is configured to transmit the 3D model structure file across regions to the factory end based on the data collaborative distribution strategy between the institute and the factory; the transmission of the 3D model structure file containing process information across regions to the factory end based on the data collaborative distribution strategy between the institute and the factory specifically includes: By utilizing the existing remote distribution channel for product design data between the research institute and the factory, the three-dimensional model structure file can be transmitted as a single file, eliminating the need to transmit separate process specification files. The third processing module is configured to read the 3D model structure file at the factory end, parse the process content and process steps in the 3D model structure file, convert the parsing results into an array, compare it with the number of models and attributes, automatically add, delete and modify models according to the comparison results, and edit and modify the parsing results according to the production site conditions, generate batch production process and output structured data, thereby realizing cross-regional collaborative design of firearms process; The third processing module is specifically configured as follows: At the factory level, the trial production process content is obtained from the parsed 3D model structure file, modified according to the production site conditions, converted into a batch production process process array, and the batch production process process array content is stored in the attributes of the batch production process process model, thus realizing the conversion from trial production process to batch production process. Obtain the trial production steps from the parsed 3D model structure file, modify them according to the production site conditions, convert them into a batch production process step array, and store the batch production process step array content into the attributes of the batch production process step model. In the process model of batch production, the completed process step models of each batch production process are arranged in a tree structure to obtain a two-dimensional process model. The two-dimensional process model is packaged into an XML file according to the structural hierarchy of the process steps and sent to the production system for the APS / MES system to call.
6. An electronic device, characterized in that, The electronic device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, it implements the steps in the cross-regional collaborative design method for firearms manufacturing based on model definition, as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the cross-regional collaborative design method for firearms manufacturing based on model definition as described in any one of claims 1 to 4.