Part model updating method and device suitable for chemical static equipment, equipment and medium
By automatically updating the dimensional parameters of chemical equipment parts through preset dimensional parameter classification rules and external databases, the problem of low efficiency in dimensional modification in existing technologies is solved, and efficient and accurate dimensional management and standardization of design data are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SINOPEC NINGBO ENG
- Filing Date
- 2026-03-03
- Publication Date
- 2026-05-19
AI Technical Summary
In the design of chemical equipment, existing technologies are inefficient for dimensional modifications and can easily lead to data inconsistencies, especially after modifying specifications, which requires designers to manually find and update all relevant fixed dimensions.
The dimensional parameters of chemical parts are classified into three types: standard dimensions, fixed dimensions, and range dimensions by using preset dimensional parameter classification rules. The dimensional parameters are automatically updated by the dimensional logic processing engine, and new dimensional values are obtained by using an external standard parts database to realize automatic linkage modification of dimensional parameters.
It improves the efficiency and accuracy of size modifications, avoids human error, supports rapid response to industry standard updates, and ensures the standardization of designs and the accuracy of data.
Smart Images

Figure CN122064697A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a method, apparatus, equipment, and medium for updating component models of chemical static equipment. Background Technology
[0002] Currently, in the field of chemical equipment design, there are a large number of standard parts (such as flanges, heads, and supports) and non-standard parts. The dimensions of standard parts are strictly defined by GB (National Standards) and HG (Chemical Industry Standards), and their parameter systems include specifications for retrieval and fixed values determined by those specifications. The dimensions of non-standard parts, however, are more flexible. Currently, the design process heavily relies on designers' memorization and manual consultation. Existing technology uses parametric CAD (Computer-Aided Design) templates or attribute tables from PDM (Product Data Management) systems to manage dimensions. All dimensions are simply listed as a one-dimensional parameter list, such as [D1=100, D2=200, L=500, ...]. The relationships between dimensions are achieved through hard-coded mathematical formulas (such as D2=D1×D2).
[0003] However, with existing technology, after modifying a specification parameter (such as DN (Nominal Diameter)), designers need to manually find and update all related fixed dimensions, which is inefficient and can easily lead to data inconsistencies.
[0004] In summary, improving the efficiency and accuracy of size modifications is a problem that the reception department needs to address. Summary of the Invention
[0005] In view of this, the purpose of this invention is to provide a method, apparatus, equipment, and medium for updating component models of chemical static equipment, which can improve the efficiency and accuracy of dimensional modification. The specific solution is as follows:
[0006] Firstly, this application discloses a method for updating component models applicable to static chemical equipment, including:
[0007] Get the dimension modification instruction, and extract the target part model, specified dimension modification parameters, and specified dimension values from the dimension modification instruction;
[0008] The target size parameter type corresponding to the specified modified size parameter is determined according to the preset size parameter classification rules; the preset size parameter classification rules classify the size parameters in chemical parts into different size parameter types and specify the relationship between different size parameter types; different size parameter types represent different engineering meanings;
[0009] Based on the specified dimension value, the specified modified dimension parameter is modified, and the modified dimension parameter and corresponding dimension value corresponding to the target dimension parameter type in the target part model are statistically obtained;
[0010] Based on the relationship between different dimensional parameter types, determine whether there are other dimensional parameter types that need to be modified. If so, use the modified dimensional parameters and corresponding dimensional values to modify the dimensional values of the corresponding dimensional parameters of other dimensional parameter types, and use the obtained updated part dimensional data to generate the corresponding updated part model.
[0011] Optionally, the dimensional parameter types include specification dimensional parameter types, fixed dimensional parameter types, and range dimensional parameter types; the fixed dimensional parameter type is a dimensional parameter type whose dimensional value is uniquely determined by the dimensional value of the specification dimensional parameter type corresponding to a standard part; the range dimensional parameter type is a dimensional parameter type whose dimensional value varies within a fixed range.
[0012] Optionally, determining whether there are other dimensional parameter types that need to be modified based on the relationship between different dimensional parameter types includes:
[0013] When the target dimension parameter type is a specification dimension parameter type, based on the relationship between different dimension parameter types in the preset dimension parameter classification rules and the specification dimension parameter type, other dimension parameter types that need to be modified are determined to be fixed dimension parameter types;
[0014] Accordingly, modifying the dimension values of corresponding dimension parameters of other dimension parameter types using the modified dimension parameters and corresponding dimension values includes:
[0015] Based on the modified dimension parameters and corresponding dimension values corresponding to the specification dimension parameter type, query the corresponding fixed dimension parameters and corresponding new dimension values from the external standard parts database.
[0016] Optionally, determining whether there are other dimensional parameter types that need to be modified based on the relationship between different dimensional parameter types includes:
[0017] When the target dimension parameter type is a fixed dimension parameter type, determine whether the modified target component model is a standard part based on the modified dimension parameters and corresponding dimension values corresponding to the fixed dimension parameter type in the target component model and the external standard parts database.
[0018] If it is not a standard part, then determine the other dimensional parameter types that need to be modified as range dimensional parameter types based on the relationship between different dimensional parameter types;
[0019] If it is a standard part, then determine the other dimensional parameter types that need to be modified as the specification dimensional parameter types based on the relationship between different dimensional parameter types;
[0020] Accordingly, modifying the dimension values of corresponding dimension parameters of other dimension parameter types using the modified dimension parameters and corresponding dimension values includes:
[0021] If it is not a standard part, then obtain the size value of the corresponding size parameter type corresponding to the range of size parameters input by the user based on the modified size parameters and the corresponding size value;
[0022] If it is a standard part, the corresponding specification dimension parameters and corresponding new dimension values are retrieved from the external standard parts database according to the modified dimension parameters and corresponding dimension values corresponding to the fixed dimension parameter type.
[0023] Optionally, the method for updating component models applicable to chemical static equipment further includes:
[0024] Adjust the external standard parts database according to the update of standard parts dimensions.
[0025] Optionally, determining whether there are other dimensional parameter types that need to be modified based on the relationship between different dimensional parameter types includes:
[0026] When the target dimension parameter type is a range dimension parameter type, it is determined that there are no other dimension parameter types that need to be modified based on the relationship between different dimension parameter types.
[0027] Optionally, the method for updating component models applicable to chemical static equipment further includes:
[0028] The preset size parameter classification rules are adjusted in real time according to the actual project situation.
[0029] Secondly, this application discloses a component model updating device suitable for chemical static equipment, comprising:
[0030] The instruction parsing module is used to obtain dimension modification instructions and extract the target part model, specified dimension modification parameters, and specified dimension values from the dimension modification instructions.
[0031] The type determination module is used to determine the target size parameter type corresponding to the specified modified size parameter according to the preset size parameter classification rules; the preset size parameter classification rules classify the size parameters in chemical parts into different size parameter types and specify the relationship between different size parameter types; different size parameter types represent different engineering meanings;
[0032] The first modification module is used to modify the specified modification dimension parameter based on the specified dimension value, and to obtain the modified dimension parameter and corresponding dimension value corresponding to the target dimension parameter type in the target part model;
[0033] The second modification module is used to determine whether there are other dimensional parameter types that need to be modified. If so, the module uses the modified dimensional parameters and corresponding dimensional values to modify the dimensional values of the corresponding dimensional parameters of other dimensional parameter types, and uses the obtained updated part dimensional data to generate the corresponding updated part model.
[0034] Thirdly, this application discloses an electronic device, including:
[0035] Memory, used to store computer programs;
[0036] A processor is used to execute the computer program to implement the aforementioned method for updating component models applicable to chemical static equipment.
[0037] Fourthly, this application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned method for updating component models applicable to chemical static equipment.
[0038] As can be seen, this application obtains the dimension modification instructions of the target component model, extracts the specified modified dimension parameters and specified dimension values from the dimension modification instructions; determines the target dimension parameter type corresponding to the specified modified dimension parameters according to the preset dimension parameter classification rules; the preset dimension parameter classification rules classify the dimension parameters in chemical components into different dimension parameter types and specify the relationship between different dimension parameter types; different dimension parameter types represent different engineering meanings; the specified modified dimension parameters are modified based on the specified dimension values, and the modified dimension parameters and corresponding dimension values corresponding to the target dimension parameter types in the target component model are statistically obtained; it is determined whether there are other dimension parameter types that need to be modified according to the relationship between different dimension parameter types; if so, the dimension values of the corresponding dimension parameters of other dimension parameter types are modified using the modified dimension parameters and corresponding dimension values, and the updated component dimension data is used to generate the corresponding updated component model. Therefore, this application achieves the classification of dimensional parameters by pre-setting dimensional parameter categories, giving dimensional parameters engineering meaning, and clarifying the relationship between dimensional parameters of different dimensional parameter types. After specifying the dimensional parameter to be modified, the application can directly search for the dimensional parameter type that needs to be modified, and modify the dimensional parameters in the dimensional parameter type that needs to be modified. Designers do not need to manually search and update all related dimensions. The search is directly transformed from searching for individual dimensional parameters to searching for dimensional parameter types, which improves efficiency, avoids missing dimensional parameters that need to be modified, and improves accuracy. Attached Figure Description
[0039] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0040] Figure 1 This application discloses a flowchart of a method for updating component models applicable to static chemical equipment.
[0041] Figure 2 This is a schematic diagram of a component model updating system for chemical static equipment disclosed in this application;
[0042] Figure 3 This application discloses a schematic diagram of a component model update process applicable to static chemical equipment.
[0043] Figure 4 This is a schematic diagram of a component model updating device for chemical static equipment disclosed in this application;
[0044] Figure 5 This is a structural diagram of an electronic device disclosed in this application. Detailed Implementation
[0045] 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.
[0046] With existing technology, after modifying a specification parameter, designers need to manually find and update all related fixed dimensions, which is inefficient and can easily lead to data inconsistencies.
[0047] Therefore, this application proposes a component model update scheme suitable for chemical static equipment, which can improve the efficiency and accuracy of size modification.
[0048] This application discloses a method for updating component models applicable to static chemical equipment. (See also...) Figure 1 As shown, the method includes:
[0049] Step S11: Obtain the dimension modification instruction, and extract the target part model, specified dimension modification parameters, and specified dimension values from the dimension modification instruction.
[0050] It should be noted that this method is applied to the dimensional logic processing engine; the entire component model update system for chemical static equipment includes the dimensional logic processing engine (i.e., business logic), subsequent preset dimensional parameter classification rules (categorized dimensional data storage structure), and subsequent external databases. Additionally, the component model update system for chemical static equipment also includes a dimensional classification configuration module for setting rules, upstream applications (interface, CAD, PDM, etc.), and downstream applications (models, BOM (Bill of Materials), tables, etc.); see details. Figure 2 The diagram shows a schematic of a component model update system suitable for chemical static equipment. The external database is a standard database, which is independent of the system's core logic and can be maintained externally. It is used to store and version control specific data of various standards (such as GB, HG, etc.), including specification series and the mapping relationship between specifications and fixed dimensions.
[0051] It should be noted that this method can be applied to chemical static equipment, which refers to stationary equipment used in chemical production for processes such as mass transfer, heat transfer, reaction and storage, such as towers, reactors, heat exchangers, and storage tanks.
[0052] Step S12: Determine the target dimension parameter type corresponding to the specified modified dimension parameter according to the preset dimension parameter classification rules; the preset dimension parameter classification rules classify the dimension parameters in chemical parts into different dimension parameter types and specify the relationship between different dimension parameter types; different dimension parameter types represent different engineering meanings.
[0053] In this embodiment, the dimensional parameter types include specification dimensional parameter types, fixed dimensional parameter types, and range dimensional parameter types. The fixed dimensional parameter type is a dimensional parameter type whose dimensional value is uniquely determined by the dimensional value of the specification dimensional parameter type corresponding to a standard component. The range dimensional parameter type is a dimensional parameter type whose dimensional value varies within a fixed range. It should be noted that specification dimensions refer to a series of key parameters used to uniquely identify the model of a standard part and serve as a lookup index, such as nominal diameter (DN) and nominal pressure (PN). Their values are discrete enumerated values. Fixed dimensions refer to standard specified values uniquely determined by specification dimensions in a standard part. Once a specification dimension is selected, the fixed dimension is determined and cannot be arbitrarily modified, such as the center circle diameter of the bolt holes on a flange. Range dimensions refer to dimensional parameters that are allowed to vary within a certain range in the design, or that need to be determined by the designer based on specific working conditions, such as the length of a non-standard cylinder or the thickness of the base plate of a support.
[0054] It should be noted that, in addition to the three-part method of specification, fixed, and range, a two-part method of critical and non-critical dimensions can also be used, or a fourth type of calculated dimension (derived from other dimensions through formulas) can be introduced.
[0055] It should be noted that the preset size parameter classification rules (classification size data storage structure) are set by the size classification configuration module. Specifically, the size classification configuration module is introduced as follows: 1. Function: It is for the design stage of the component model update system applicable to chemical static equipment. It allows the administrator to predefine the size classification rules for each type of chemical component (such as "HG / T20592 flange"). 2. Specific configuration content: (1) Declare which are specification dimensions (such as DN, PN). (2) Declare which are fixed dimensions (such as outer diameter, thickness) and associate them with specific standard numbers and fields in the external standard database. (3) Declare which are range dimensions (such as pipe length). 3. Effect: The configuration result of this module determines the rules for the subsequent data storage and processing logic of specific parts.
[0056] It should be noted that the data storage structure for the classification dimensions corresponding to the preset dimension parameter classification rules is as follows: 1. Function: This is the "digital identity" of a specific part in the system; it is a structured data object, not a flat list. 2. Data structure example (taking a "flange" part (FL-001) as an example):
[0057] {
[0058] "partId": "FL-001",
[0059] "partType": "HG / T 20592-Flange", / / Definition associated with the configuration module
[0060] "status": "Standard Part", / / Can change automatically
[0061] "specDimensions": { / / [Specimen Dimensions Group] - as an index
[0062] "DN": 150,
[0063] "PN": 1.6,
[0064] },
[0065] "fixedDimensions": { / / [Fixed Dimensions Group] - Specification-driven
[0066] "Outer diameter": 280,
[0067] Thickness: 24
[0068] Bolt hole center circle diameter: 240,
[0069] },
[0070] "rangeDimensions": { / /
Range Dimensions Group
[0071] "Sealing surface height": 3.0,
[0072] },
[0073] };
[0074] 3. Innovation: This structured storage method enables computers to understand the inherent relationship between DN=150, PN=1.6 and outer diameter=280, thickness=24.
[0075] It should be noted that the preset size parameter classification rules include the following rules: 1. Rules that drive automatic updates of fixed dimensions when specifications are modified. 2. Rules that automatically trigger the change of part status from standard part to non-standard part when fixed dimensions are modified.
[0076] It should be noted that data structures and management logic (i.e., preset size parameter classification rules) can be implemented not only in object-oriented applications, but also in relational databases through specific table structure designs and triggers.
[0077] Step S13: Modify the specified dimension parameter based on the specified dimension value, and obtain the modified dimension parameter and corresponding dimension value corresponding to the target dimension parameter type in the target part model.
[0078] Step S14: Determine whether there are other dimension parameter types that need to be modified based on the relationship between different dimension parameter types. If so, modify the dimension values of the corresponding dimension parameters of other dimension parameter types using the modified dimension parameters and corresponding dimension values, and generate the corresponding updated part model using the obtained updated part dimension data.
[0079] In this embodiment, the preset size parameter classification rules include rules for automatic linkage updates of fixed dimensions driven by specification size modifications. Specifically, determining whether there are other size parameter types that need to be modified based on the relationship between different size parameter types includes: when the target size parameter type is a specification size parameter type, determining that the other size parameter types that need to be modified are fixed size parameter types based on the relationship between different size parameter types in the preset size parameter classification rules and the specification size parameter type; correspondingly, modifying the size value of the corresponding size parameter of other size parameter types using the modified size parameter and the corresponding size value includes: querying the corresponding fixed size parameter and the corresponding new size value from an external standard parts database based on the modified size parameter and the corresponding size value corresponding to the specification size parameter type.
[0080] In one specific embodiment, a designer needs to upgrade the pressure rating of a flange on a pipeline from PN1.6 to PN2.5. Existing technology requires the designer to: 1) record the current flange's DN; 2) consult the flange standard table to find all dimensions (outer diameter, inner diameter, number of bolt holes, thickness, etc.) of flanges with the same DN and PN of 2.5; 3) open the flange's parameter table in CAD software and manually modify these dimensions one by one. The process in this application is as follows: 1. The designer only needs to change the flange's specification dimension PN from 1.6 to 2.5 in the system. 2. The dimension logic processing engine is automatically triggered, querying the standard database based on the new DN-PN combination. 3. The engine automatically updates the outer diameter, thickness, bolt hole center circle diameter, etc., in the fixed dimension group to the new values corresponding to the PN2.5 standard. 4. The system sends the complete updated dimensions to the CAD software, and the model is automatically regenerated. The result is that what was originally a tedious operation that took several minutes is completed automatically and error-free in seconds.
[0081] In this embodiment, the preset size parameter classification rules include a rule that automatically triggers the change of part status from standard part to non-standard part when a fixed size is modified. Specifically, determining whether there are other size parameter types that need to be modified based on the relationship between different size parameter types includes: when the target size parameter type is a fixed size parameter type, determining whether the modified target part model is a standard part based on the modified size parameters and corresponding size values corresponding to the fixed size parameter type in the target part model and the external standard part database; if it is not a standard part, determining that the other size parameter types that need to be modified are range size parameter types based on the relationship between different size parameter types; if it is a standard part, determining that the other size parameter types that need to be modified are specification size parameter types based on the relationship between different size parameter types; correspondingly, modifying the size value of the size parameter corresponding to the other size parameter type using the modified size parameters and corresponding size values includes: if it is not a standard part, obtaining the size value of the size parameter corresponding to the range size parameter type input by the user based on the modified size parameters and corresponding size values; if it is a standard part, querying the corresponding specification size parameters and corresponding new size values from the external standard part database based on the modified size parameters and corresponding size values corresponding to the fixed size parameter type.
[0082] It should be noted that when converting from standard to non-standard, dimensions do not need to be moved between groups. Instead, they can be marked only in the part status field, and a list of the modified fixed dimensions can be recorded. This is a lighter-weight implementation.
[0083] It should be noted that the external standards database (external standard parts database) is described as follows: 1. Function: It serves as the system's standard knowledge base, independent of the main program, achieving separation of data and logic. 2. Scalability: When standards are updated, administrators only need to insert data from the new version of the standard into this table, or modify existing data. No system program code needs to be touched, modified, or redeployed. The external standards database has an independent structure and access mechanism, supporting the coexistence of multiple standard versions.
[0084] Regarding the aforementioned scalability, a specific implementation is as follows: When the thickness dimension of a flange in the PN1.6 series in the latest version of HG / T 20592 changes, the existing technology requires: 1. Developers need to locate the hard-coded standard data portion in the code; 2. Modify the corresponding thickness value; 3. Test, package, and release a new software version or patch; 4. Users need to download and install the update. The entire process takes weeks or even months. The process in this application is as follows: 1. The system administrator connects to an external standard database through a dedicated configuration interface. 2. Locates the corresponding PN1.6 series flange data record in the latest version of the HG / T 20592 standard in the database. 3. Modifies the value of its thickness field to the value specified in the new standard and saves it. 4. Update complete. Afterwards, whenever a designer selects the new standard in a new or modified project, the system automatically generates flanges with the new thickness dimension. Result: A response to a major standard change can be completed within minutes, without interrupting existing services or requiring any user intervention, greatly improving the enterprise's compliance and competitiveness.
[0085] It should be noted that this application obtains the specific values of fixed dimensions by querying an independent external standard database, thereby decoupling the standard data from the system's business logic.
[0086] It's worth noting that external standard databases, besides using traditional relational databases (such as MySQL (MyStructured Query Language)), can also be stored using structured configuration files such as JSON (JavaScript Object Notation) and XML (Extensible Markup Language). These configuration files are loaded by the system at startup or periodically. While this approach isn't suitable for massive amounts of standard data, it's simpler and more intuitive to configure for small to medium-sized standard sets.
[0087] In this embodiment, determining whether there are other size parameter types that need to be modified based on the relationship between different size parameter types includes: when the target size parameter type is a range size parameter type, determining that there are no other size parameter types that need to be modified based on the relationship between different size parameter types.
[0088] See Figure 3 The diagram illustrates a component model update process suitable for chemical static equipment. First, a dimension modification command (request) is received. Then, the command is parsed to obtain the specified modification dimension parameters and the specified dimension values. The parameter type is determined as a regular dimension, a fixed dimension, or a range dimension. If it is a standard dimension, the standard dimension group is updated, and a new fixed dimension corresponding to the new standard dimension is queried from an external standard parts database. The original fixed dimension corresponding to the original standard dimension is then modified to the new fixed dimension. If it is a range dimension, the range dimension group is directly updated, driving downstream applications. If it is a fixed dimension, the fixed dimension group is updated, and it is determined whether the updated fixed dimension group is a standard part. If it is a standard part, a new standard dimension corresponding to the new fixed dimension is queried from an external standard parts database, and the original standard dimension corresponding to the original fixed dimension is modified to the new standard dimension. If it is not a standard part, the range dimension group is updated accordingly.
[0089] In summary, existing methods are time-consuming and prone to errors in manual input, leading to model errors or assembly interference. These problems may only be discovered in later stages, causing even greater losses. This application completely avoids these issues, offering the following benefits: By introducing a data model with engineering semantics, a qualitative leap from passive storage to proactive management is achieved. Automated, linked updates eliminate tedious manual table lookups and input, significantly improving design efficiency and preventing data inconsistencies caused by human error, thus enhancing efficiency and accuracy. It understands design intent, and through automatic state transitions and access control (preset dimension parameter classification rules), effectively prevents misoperation of standard fixed dimensions, ensuring design standardization. Distinguishing between dimension types and part states clarifies the meaning of design data, making the conversion process between standard and non-standard data traceable, providing accurate data for subsequent procurement, cost accounting, and manufacturing. By externalizing standard data, data and logic are separated. When industry standards are updated, only the external database needs to be updated to allow the entire system to immediately comply with the new standard, achieving hot updates with fast response times and extremely low maintenance costs. At the same time, adding new standard series is also very convenient; simply add a new record to the database.
[0090] As can be seen, this application obtains the dimension modification instructions of the target component model, extracts the specified modified dimension parameters and specified dimension values from the dimension modification instructions; determines the target dimension parameter type corresponding to the specified modified dimension parameters according to the preset dimension parameter classification rules; the preset dimension parameter classification rules classify the dimension parameters in chemical components into different dimension parameter types and specify the relationship between different dimension parameter types; different dimension parameter types represent different engineering meanings; the specified modified dimension parameters are modified based on the specified dimension values, and the modified dimension parameters and corresponding dimension values corresponding to the target dimension parameter types in the target component model are statistically obtained; it is determined whether there are other dimension parameter types that need to be modified according to the relationship between different dimension parameter types; if so, the dimension values of the corresponding dimension parameters of other dimension parameter types are modified using the modified dimension parameters and corresponding dimension values, and the updated component dimension data is used to generate the corresponding updated component model. Therefore, this application achieves the classification of dimensional parameters by pre-setting dimensional parameter categories, giving dimensional parameters engineering meaning, and clarifying the relationship between dimensional parameters of different dimensional parameter types. After specifying the dimensional parameter to be modified, the application can directly search for the dimensional parameter type that needs to be modified, and modify the dimensional parameters in the dimensional parameter type that needs to be modified. Designers do not need to manually search and update all related dimensions. The search is directly transformed from searching for individual dimensional parameters to searching for dimensional parameter types, which improves efficiency, avoids missing dimensional parameters that need to be modified, and improves accuracy.
[0091] Accordingly, this application also discloses a component model updating device suitable for chemical static equipment, see [link to relevant documentation]. Figure 4 As shown, the device includes:
[0092] The instruction parsing module 11 is used to obtain the dimension modification instruction and extract the target part model, specified dimension modification parameters and specified dimension values from the dimension modification instruction;
[0093] The type determination module 12 is used to determine the target size parameter type corresponding to the specified modified size parameter according to the preset size parameter classification rules; the preset size parameter classification rules classify the size parameters in chemical parts into different size parameter types and specify the relationship between different size parameter types; different size parameter types represent different engineering meanings;
[0094] The first modification module 13 is used to modify the specified modified dimension parameter based on the specified dimension value, and to obtain the modified dimension parameter and corresponding dimension value corresponding to the target dimension parameter type in the target part model.
[0095] The second modification module 14 is used to determine whether there are other dimensional parameter types that need to be modified. If so, the modification module uses the modified dimensional parameters and corresponding dimensional values to modify the dimensional values of the corresponding dimensional parameters of other dimensional parameter types, and uses the obtained updated part dimensional data to generate the corresponding updated part model.
[0096] The more specific working process of each of the above modules can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.
[0097] As can be seen, this application obtains the dimension modification instructions of the target component model, extracts the specified modified dimension parameters and specified dimension values from the dimension modification instructions; determines the target dimension parameter type corresponding to the specified modified dimension parameters according to the preset dimension parameter classification rules; the preset dimension parameter classification rules classify the dimension parameters in chemical components into different dimension parameter types and specify the relationship between different dimension parameter types; different dimension parameter types represent different engineering meanings; the specified modified dimension parameters are modified based on the specified dimension values, and the modified dimension parameters and corresponding dimension values corresponding to the target dimension parameter types in the target component model are statistically obtained; it is determined whether there are other dimension parameter types that need to be modified according to the relationship between different dimension parameter types; if so, the dimension values of the corresponding dimension parameters of other dimension parameter types are modified using the modified dimension parameters and corresponding dimension values, and the updated component dimension data is used to generate the corresponding updated component model. Therefore, this application achieves the classification of dimensional parameters by pre-setting dimensional parameter categories, giving dimensional parameters engineering meaning, and clarifying the relationship between dimensional parameters of different dimensional parameter types. After specifying the dimensional parameter to be modified, the application can directly search for the dimensional parameter type that needs to be modified, and modify the dimensional parameters in the dimensional parameter type that needs to be modified. Designers do not need to manually search and update all related dimensions. The search is directly transformed from searching for individual dimensional parameters to searching for dimensional parameter types, which improves efficiency, avoids missing dimensional parameters that need to be modified, and improves accuracy.
[0098] Furthermore, embodiments of this application also provide an electronic device. Figure 5 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of this application.
[0099] Figure 5This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of this application. Specifically, the electronic device 20 may include: at least one processor 21, at least one memory 22, a display screen 23, an input / output interface 24, a communication interface 25, a power supply 26, and a communication bus 27. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the component model update method for chemical static equipment disclosed in any of the foregoing embodiments. Alternatively, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0100] In this embodiment, the power supply 26 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 25 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 24 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0101] Furthermore, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk, or optical disk, etc. The resources stored thereon may include computer programs 221, and the storage method may be temporary storage or permanent storage. The computer programs 221 may include, in addition to computer programs capable of performing the component model update method for chemical static equipment disclosed in any of the foregoing embodiments, executed by the electronic device 20, computer programs capable of performing other specific tasks.
[0102] Furthermore, embodiments of this application also disclose a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned method for updating component models applicable to chemical static equipment.
[0103] The specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.
[0104] The various embodiments in this application are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. For the same or similar parts between the various embodiments, refer to each other. As for the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and relevant parts can be referred to in the method section.
[0105] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0106] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0107] Finally, it should be noted that in this document, relational terms such as "first" and "first" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0108] The above provides a detailed description of a method, apparatus, equipment, and storage medium for updating component models of chemical static equipment. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for updating component models of chemical static equipment, characterized in that, include: Get the dimension modification instruction, and extract the target part model, specified dimension modification parameters, and specified dimension values from the dimension modification instruction; The target dimension parameter type corresponding to the specified modified dimension parameter is determined according to the preset dimension parameter classification rules; The preset size parameter classification rules classify the size parameters of chemical parts into different size parameter types and specify the relationship between different size parameter types; Different dimensional parameter types represent different engineering meanings; Based on the specified dimension value, the specified modified dimension parameter is modified, and the modified dimension parameter and corresponding dimension value corresponding to the target dimension parameter type in the target part model are statistically obtained; Based on the relationship between different dimensional parameter types, determine whether there are other dimensional parameter types that need to be modified. If so, use the modified dimensional parameters and corresponding dimensional values to modify the dimensional values of the corresponding dimensional parameters of other dimensional parameter types, and use the obtained updated part dimensional data to generate the corresponding updated part model.
2. The method for updating component models of chemical static equipment according to claim 1, characterized in that, The dimensional parameter types include specification dimensional parameter types, fixed dimensional parameter types, and range dimensional parameter types; the fixed dimensional parameter type is a dimensional parameter type whose dimensional value is uniquely determined by the dimensional value of the specification dimensional parameter type corresponding to a standard part; the range dimensional parameter type is a dimensional parameter type whose dimensional value varies within a fixed range.
3. The method for updating component models of chemical static equipment according to claim 2, characterized in that, The process of determining whether there are other dimensional parameter types that need to be modified based on the relationships between different dimensional parameter types includes: When the target dimension parameter type is a specification dimension parameter type, based on the relationship between different dimension parameter types in the preset dimension parameter classification rules and the specification dimension parameter type, other dimension parameter types that need to be modified are determined to be fixed dimension parameter types; Accordingly, modifying the dimension values of corresponding dimension parameters of other dimension parameter types using the modified dimension parameters and corresponding dimension values includes: Based on the modified dimension parameters and corresponding dimension values corresponding to the specification dimension parameter type, query the corresponding fixed dimension parameters and corresponding new dimension values from the external standard parts database.
4. The method for updating component models of chemical static equipment according to claim 2, characterized in that, The process of determining whether there are other dimensional parameter types that need to be modified based on the relationships between different dimensional parameter types includes: When the target dimension parameter type is a fixed dimension parameter type, determine whether the modified target component model is a standard part based on the modified dimension parameters and corresponding dimension values corresponding to the fixed dimension parameter type in the target component model and the external standard parts database. If it is not a standard part, then determine the other dimensional parameter types that need to be modified as range dimensional parameter types based on the relationship between different dimensional parameter types; If it is a standard part, then determine the other dimensional parameter types that need to be modified as the specification dimensional parameter types based on the relationship between different dimensional parameter types; Accordingly, modifying the dimension values of corresponding dimension parameters of other dimension parameter types using the modified dimension parameters and corresponding dimension values includes: If it is not a standard part, then obtain the size value of the corresponding size parameter type corresponding to the range of size parameters input by the user based on the modified size parameters and the corresponding size value; If it is a standard part, the corresponding specification dimension parameters and corresponding new dimension values are retrieved from the external standard parts database according to the modified dimension parameters and corresponding dimension values corresponding to the fixed dimension parameter type.
5. The method for updating component models of chemical static equipment according to claim 3 or 4, characterized in that, Also includes: Adjust the external standard parts database according to the update of standard parts dimensions.
6. The method for updating component models of chemical static equipment according to claim 2, characterized in that, The process of determining whether there are other dimensional parameter types that need to be modified based on the relationships between different dimensional parameter types includes: When the target dimension parameter type is a range dimension parameter type, it is determined that there are no other dimension parameter types that need to be modified based on the relationship between different dimension parameter types.
7. The method for updating component models of chemical static equipment according to claim 1, characterized in that, Also includes: The preset size parameter classification rules are adjusted in real time according to the actual project situation.
8. A component model updating device suitable for chemical static equipment, characterized in that, include: The instruction parsing module is used to obtain dimension modification instructions and extract the target part model, specified dimension modification parameters, and specified dimension values from the dimension modification instructions. The type determination module is used to determine the target size parameter type corresponding to the specified modified size parameter according to the preset size parameter classification rules. The preset size parameter classification rules classify the size parameters of chemical parts into different size parameter types and specify the relationship between different size parameter types; Different dimensional parameter types represent different engineering meanings; The first modification module is used to modify the specified modification dimension parameter based on the specified dimension value, and to obtain the modified dimension parameter and corresponding dimension value corresponding to the target dimension parameter type in the target part model; The second modification module is used to determine whether there are other dimensional parameter types that need to be modified. If so, the module uses the modified dimensional parameters and corresponding dimensional values to modify the dimensional values of the corresponding dimensional parameters of other dimensional parameter types, and uses the obtained updated part dimensional data to generate the corresponding updated part model.
9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the component model update method for chemical static equipment as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, Used to store computer programs; wherein, when the computer programs are executed by a processor, they implement the component model update method for chemical static equipment as described in any one of claims 1 to 7.