CN111324961A - Home parameterization model modeling system and method based on global variables - Google Patents
Home parameterization model modeling system and method based on global variables Download PDFInfo
- Publication number
- CN111324961A CN111324961A CN202010122640.5A CN202010122640A CN111324961A CN 111324961 A CN111324961 A CN 111324961A CN 202010122640 A CN202010122640 A CN 202010122640A CN 111324961 A CN111324961 A CN 111324961A
- Authority
- CN
- China
- Prior art keywords
- global
- global variable
- variables
- variable
- parameterized model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a home furnishing parameterized model modeling system and method based on global variables, wherein the system comprises: the system comprises a global variable creating module, a global variable editing module, a global variable quoting module, a global variable synchronous updating module, a global variable judging module, a global variable degrading module and a global variable batch modifying module; the method comprises the following steps: creating global variables, editing the global variables, quoting the global variables, synchronously updating the global variables, judging degradation of the global variables, and modifying the global variables in batches. The method has the advantages that the problems of time and labor waste, easy change omission and error change caused by local variable modification are effectively avoided by creating the global variable and quoting the global variable in the parameterized model.
Description
Technical Field
The invention relates to the field of home modeling, in particular to a home parameterized model modeling system and method based on global variables.
Background
The variables used by the parameterized models in the current market are local variables, and the local variables cannot achieve the effect of uniformly controlling the behaviors of a batch of models by changing the contents of the variables.
Typical usage scenarios: the models produced by each factory in a butt joint mode have respective process characteristics (such as laminate retraction value, back plate retraction value, line fluttering and the like). Only the model which meets the production process requirements of other factories can meet the production. Before the model is distributed to each factory for production, some characteristic variables of the model need to be uniformly changed to meet production requirements.
The drawback of using local variables is that all local variables of models which do not meet the process requirements are changed one by one, which is time-consuming and labor-consuming, and easy to change, neglect and change.
Disclosure of Invention
In order to solve the problem that local variables cannot uniformly control a batch of models, the invention provides a home parameterized model modeling system and method based on global variables.
In one aspect, the present invention provides a home parameterized model modeling system based on global variables, the system comprising: the system comprises a global variable creating module, a global variable editing module, a global variable quoting module, a global variable synchronous updating module, a global variable judging module, a global variable degrading module and a global variable batch modifying module;
the global variable creating module is used for completing content creation of a global variable on a global variable management page;
the global variable editing module is used for finishing editing of global variables on a global variable management page;
the reference global variable module is used for completing reference of the parameterized model to the global variable by importing the global variable;
the global variable synchronous updating module is used for updating all the attribute values of the global variable except the current value to the current parameterized model;
the global variable judging module is used for judging whether the global variable in the parameterized model is deleted or not;
the global variable degradation module is used for automatically degrading global variables in the parameterized model into local variables;
the batch modification global variable module is used for selecting a batch parameterized model, extracting all global variables in the batch parameterized model, and randomly modifying the current values of one or more global variables.
Further, the creating content of the global variable includes: name, reference name, parameter type, value type, hiding mode, front end hiding attribute, maximum/small value, recommended value, current value, description information and associated label item;
further, the edit content of the global variable includes: global variable name, hidden mode, current value, description information and associated label item;
on the other hand, the invention also provides a home parameterized model modeling method based on global variables, which comprises the following steps:
creating a global variable: according to the user ID and the creation content of the global variable, creating a global variable record of the user in a parameterized model database, and generating a global unique identifier;
editing global variables: loading all global variables of the current user from the parameterized model database according to the ID of the current user, selecting one or more global variables for editing, and updating the edited global variable contents back to the corresponding records of the database;
reference to global variables: creating a global variable in the current parameterized model, associating a global ID field with a corresponding global variable unique identifier, and assigning all contents of the global variable corresponding to the global ID to corresponding attributes of the global variable created in the current parameterized model;
and (3) synchronous updating of global variables: inquiring a parameterized model database according to the global ID to obtain all attribute information of the corresponding global variables, and updating all attribute values of the inquired global variables except the current values to the corresponding parameters of the current parameterized model;
global variable judgment degradation: traversing and inquiring all parameters with global IDs in the current parameterized model, judging whether the content of the global IDs of the parameters is empty, and automatically degrading the global variables into local variables if the content of the global IDs of the parameters is empty;
modifying global variables in batches: and selecting a plurality of global variables in batch to modify, traversing the selected parameterized model, and synchronizing the current values of the modified global variables to the corresponding global variables of the parameterized model according to global ID matching.
The method has the advantages that the problems of time and labor waste, easy change omission and error change caused by local variable modification are effectively avoided by creating the global variable and quoting the global variable in the parameterized model.
Drawings
FIG. 1 is a schematic diagram of a home parametric model modeling system according to the present invention;
FIG. 2 is a diagram of a global variable management page according to the present invention;
FIG. 3 is a diagram illustrating global variable creation according to the present invention;
FIG. 4 is a diagram illustrating global variable modification according to the present invention;
FIG. 5 is a diagram illustrating global variable synchronization update according to the present invention;
FIG. 6 is a diagram illustrating the introduction of global variables into the parameterized model of the present invention;
FIG. 7 is a diagram illustrating the present invention referencing global variables;
FIG. 8 is a diagram of a batch modification global variable of the present invention;
FIG. 9 is a diagram of a second exemplary batch modification global variable;
FIG. 10 is a third schematic diagram of batch modification of global variables according to the present invention;
FIG. 11 is a diagram illustrating global variable determination degradation according to the present invention.
The specific implementation mode is as follows:
the invention will be further described with respect to specific embodiments in conjunction with the following drawings:
as shown in fig. 1, a home parameterized model modeling system based on global variables includes: the system comprises a global variable creating module, a global variable editing module, a global variable quoting module, a global variable synchronous updating module, a global variable judging module, a global variable degrading module and a global variable modifying module in batches.
The system comprises a global variable creating module, a global variable managing module and a global variable setting module, wherein the global variable creating module is used for completing content creation of a global variable on a global variable management page; the global variable editing module is used for finishing editing of global variables on a global variable management page; the reference global variable module is used for completing reference of the parameterized model to the global variable by introducing the global variable; the global variable synchronous updating module is used for updating all the attribute values of the global variable except the current value to the current parameterized model; the global variable judging module is used for judging whether the global variable in the parameterized model is deleted or not; the global variable degradation module is used for automatically degrading global variables in the parameterized model into local variables; and the batch modification global variable module is used for selecting the batch parameterized model, extracting all global variables in the batch parameterized model, and randomly modifying the current values of one or more global variables.
Creating a global variable: completing the creation of the global variable on a global variable management page, wherein the creation of the content comprises the following steps: global variable name, reference name, parameter type, value type, hiding mode, front end hiding attribute, maximum/small value, recommended value, current value, description information and associated label item.
The method comprises the following specific steps:
step 001: according to the user ID and the related content (name, reference name, parameter type, associated tag ID and the like) input when the user creates the global variable, creating a global variable record of the user in the parameterized model database;
step 002: and simultaneously generating a global unique identifier for the currently created global variable record.
Editing global variables: and finishing the editing of the global variables on a global variable management page, wherein the editing content comprises the following steps: the modification of the global variable name, the hidden mode, the current value, the description information and the associated tag item, in this embodiment, the reference name, the parameter type and the value type are not allowed to be modified. Because these contents are modified, there will be an incompatibility problem with the parameter type of the parameterized model that references the global variable, resulting in the parameterized model being corrupted.
The method comprises the following specific steps:
step 011: loading all global variables of the current user from a database according to the ID of the current user;
step 012: a user selects one global variable to edit;
step 013: and updating the contents of the global variables edited by the user back to the corresponding records of the parameterized model database according to the unique identification of the global variables.
Reference to global variables: and in the parameterized model editor, the reference of the parameterized model to the global variable is completed by importing the global variable.
The method comprises the following specific steps:
step 021: entering an editing page of the parameterized model by creating or editing the parameterized model;
step 022: loading all global variables of the current user according to the current user id;
step 023: the user selects a plurality of global variables to complete the reference of the global variables.
For each global variable, the steps for referencing the global variable by the parameterized model are as follows:
step 031: a global variable is created in the current parameterized model, and meanwhile, a global ID field of the global variable is associated with the unique identifier of the corresponding global variable, which indicates that the global variable quoted in the parameterized model is the global variable corresponding to the global ID;
step 032: and assigning all contents of the global variable corresponding to the global ID to the corresponding attribute of the global variable created in the current parameterized model.
And (3) synchronous updating of global variables: modifying the contents of the global variable except the current value, and synchronously updating in a parameterized model which refers to the global variable:
the method comprises the following specific steps:
step 041: entering an editing page of the parameterized model in a mode of creating or editing the parameterized model;
step 042: and traversing and updating all parameters with global ID in the current parameterized model.
Step 043: inquiring a database to obtain all attribute information of the corresponding global variable according to the global ID;
step 044: and updating all attribute values of the inquired global variables except the current value to the corresponding parameters of the current parameterized model.
Global variable judgment degradation: if a global variable is referenced within the parameterized model, but the global variable is deleted, the global variable referenced within the parameterized model is automatically demoted to a local variable.
The method comprises the following specific steps:
step 051: entering an editing page of the parameterized model in a mode of creating or editing the parameterized model;
step 052: traversing and inquiring all parameters with global ID in the current parameterized model;
step 053: if the global parameter corresponding to the gloabl ID does not exist in the query, emptying the content of the global ID referenced by the corresponding global parameter in the current parameterized model; (in the parameterized model, whether the variable is a global variable is judged by whether the global ID content of the parameter is empty)
Modifying global variables in batches: selecting a batch of parameterized models, extracting all global variables in the batch of parameterized models, randomly modifying the current values of one or more global variables, and synchronously updating the corresponding current values of the reference global variables in the batch of parameterized models.
The method comprises the following specific steps:
step 061: selecting a plurality of parameterized models to be modified;
step 062: traversing the selected parameterized model, and extracting all global variables;
step 063: and selecting a plurality of global variables from the extracted global variables by the user for modification. The modified content can only be the current value of the global variable;
step 064: traversing the selected parameterized models in sequence;
step 041: for each parameterized model, judging whether modified global variables exist or not according to global ID matching;
step 042: if there are modified global variables, then the current values of the user-modified global variables are synchronized to the corresponding global variables of the parameterized model.
Example 1
Creating global variables
As shown in FIG. 3, the user creates a global material variable. The name of the global variable is door plate global material, the reference name is MBQJCZ, the parameter type is material, the value type is unlimited, the hiding mode is unified control, the front end hiding attribute is negative, the current value is melamine plate-rosewood, and the associated label is material type.
After the user finishes inputting information and clicks the creation button, the system stores the contents input by the user into a global variable table of a parameterized model database, and generates a global unique global ID for the currently inserted data in the parameterized model database to identify the uniqueness of the current global variable.
Editing global variables
As shown in FIG. 4, the user has selected one of the above global variables "cut depth" and then changed the current value of the global variable from 300 to 64.
And updating all the attribute contents of the current 'corner cut depth' back to the corresponding records of the global variable table of the parameterized model database according to the unique identification global ID of the 'corner cut depth' global variable.
Referencing global variable modules
As shown in fig. 6, the user has opened a wardrobe parameterized model and clicked the import global variable button;
the system screens out all global variables belonging to the current user from a global variable table of a parameterized model database according to the user ID;
the user selects the global material variable 7.31 and the global masking style variable, and clicks the confirmation button;
as shown in fig. 7. The system creates two global variables in the current wardrobe parameterized model, wherein the contents of the two global variables are completely from a global material variable 7.31 and a global masking style variable (including the unique identification of the global variables in a database);
when the user clicks to save, the two currently imported global variables are saved into the parameterized model database along with the saving operation.
Global variable synchronous update
As shown in fig. 4, the user has modified the "corner cut depth" global variable, changing the maximum value from 600 to 500;
as shown in fig. 5, a parameterized model "straight type false drawing double door corner cabinet (left)" referring to a global variable "corner depth" is opened;
traversing all the reference global variables in the current parameterized model, wherein the global ID of the global variable is 799 for the global variable of 'corner cut depth';
then the global variable whose global ID is 799 is looked up in the global variable table and the looked-up contents divided by the current value are assigned to the "corner depth" global variable.
Global variable judged degradation
As shown in FIG. 1, the user deletes the "global texture variable (deletable)" global variable;
after a user refers to a parameterized model of a global variable (which can be deleted) before opening, namely a straight false drawing double-door corner cabinet (left);
traversing all global variables of which global IDs are not empty in the current parameterized model;
if the corresponding global ID cannot be found in the global variable table or is marked to be deleted, converting the global variable into a local variable;
global to local variable logic referenced within the parameterized model: the global ID of the referenced global variable is nulled.
Bulk modification of global variables
As shown in fig. 8, all parameterized models belonging to the current user are obtained according to the current user ID. Then, the user selects a global material style and a test model fox model, and starts to modify the current value of global variables in the batch of models;
the system traverses all the selected parameterized models in turn, and extracts all global variables (global ID is not null) in the batch of parameterized models, as shown in fig. 9;
as shown in FIG. 9, the user has modified the current value of the "20190222 regression test 1" global variable to 666. The global ID of the global variable is 233;
the system proceeds through all global variables in the batch of parameterized models in turn, updating the current value to 666 for global variables with global ID 233.
The foregoing is illustrative of the preferred embodiments of the present invention only and is not to be construed as limiting the claims. All the equivalent structures or equivalent process changes made by the description of the invention are included in the scope of the patent protection of the invention.
Claims (4)
1. A home parameterized model modeling system based on global variables, the system comprising: the system comprises a global variable creating module, a global variable editing module, a global variable quoting module, a global variable synchronous updating module, a global variable judging module, a global variable degrading module and a global variable batch modifying module;
the global variable creating module is used for completing content creation of a global variable on a global variable management page;
the global variable editing module is used for finishing editing of global variables on a global variable management page;
the reference global variable module is used for completing reference of the parameterized model to the global variable by importing the global variable;
the global variable synchronous updating module is used for updating all the attribute values of the global variable except the current value to the current parameterized model;
the global variable judging module is used for judging whether the global variable in the parameterized model is deleted or not;
the global variable degradation module is used for automatically degrading global variables in the parameterized model into local variables;
the batch modification global variable module is used for selecting a batch parameterized model, extracting all global variables in the batch parameterized model, and randomly modifying the current values of one or more global variables.
2. The home parameterized model modeling system according to claim 1, wherein the creation content of the global variables comprises: name, reference name, parameter type, value type, hiding mode, front end hiding attribute, maximum/small value, recommended value, current value, description information and associated label item.
3. The home parameterized model modeling system according to claim 1, wherein the edited content of the global variables comprises: global variable name, hidden mode, current value, description information and associated label item.
4. A home parameterized model modeling method based on global variables is characterized by comprising the following steps:
creating a global variable: according to the user ID and the creation content of the global variable, creating a global variable record of the user in a parameterized model database, and generating a global unique identifier;
editing global variables: loading all global variables of the current user from the parameterized model database according to the ID of the current user, selecting one or more global variables for editing, and updating the edited global variable contents back to the corresponding records of the database;
reference to global variables: creating a global variable in the current parameterized model, associating a global ID field with a corresponding global variable unique identifier, and assigning all contents of the global variable corresponding to the global ID to corresponding attributes of the global variable created in the current parameterized model;
and (3) synchronous updating of global variables: inquiring a parameterized model database according to the global ID to obtain all attribute information of the corresponding global variables, and updating all attribute values of the inquired global variables except the current values to the corresponding parameters of the current parameterized model;
global variable judgment degradation: traversing and inquiring all parameters with global IDs in the current parameterized model, judging whether the content of the global IDs of the parameters is empty, and automatically degrading the global variables into local variables if the content of the global IDs of the parameters is empty;
modifying global variables in batches: and selecting a plurality of global variables in batch to modify, traversing the selected parameterized model, and synchronizing the current values of the modified global variables to the corresponding global variables of the parameterized model according to global ID matching.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010122640.5A CN111324961A (en) | 2020-02-27 | 2020-02-27 | Home parameterization model modeling system and method based on global variables |
PCT/CN2020/088234 WO2021169032A1 (en) | 2020-02-27 | 2020-04-30 | Home parametric model building system and method based on global variables |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010122640.5A CN111324961A (en) | 2020-02-27 | 2020-02-27 | Home parameterization model modeling system and method based on global variables |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111324961A true CN111324961A (en) | 2020-06-23 |
Family
ID=71172913
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010122640.5A Pending CN111324961A (en) | 2020-02-27 | 2020-02-27 | Home parameterization model modeling system and method based on global variables |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111324961A (en) |
WO (1) | WO2021169032A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114035860A (en) * | 2021-11-04 | 2022-02-11 | 四川启睿克科技有限公司 | Process parameter configuration system based on RPA global variable module |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113779324B (en) * | 2021-11-15 | 2022-03-01 | 西安热工研究院有限公司 | Cross reference synchronous processing method, system, equipment and medium |
US20230153178A1 (en) * | 2021-11-17 | 2023-05-18 | Grid.ai, Inc. | System and method for standardized provider instance interaction |
CN117271859B (en) * | 2023-11-22 | 2024-01-30 | 中国建筑西南设计研究院有限公司 | Method, device and equipment for rapidly generating landscape engineering parameter information |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407111A (en) * | 2016-09-07 | 2017-02-15 | 努比亚技术有限公司 | Terminal test apparatus, terminal test device and variable maintenance method |
CN108920752A (en) * | 2018-05-25 | 2018-11-30 | 电子科技大学 | A kind of traveling wave tube structure size synchronized update and Iterative Design method |
CN109426678A (en) * | 2017-08-24 | 2019-03-05 | 当家移动绿色互联网技术集团有限公司 | A kind of full room importing secondary editing system of intelligent recognition furniture |
CN110489853A (en) * | 2019-08-15 | 2019-11-22 | 杭州群核信息技术有限公司 | A kind of modeling method of household parameterized model |
CN110688109A (en) * | 2019-10-09 | 2020-01-14 | 凯德技术长沙股份有限公司 | Model editing system and creation method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ATE517391T1 (en) * | 2007-11-30 | 2011-08-15 | Coventor Inc | SYSTEM AND METHOD FOR THE THREE-DIMENSIONAL SCHEMATIC CAPTURE AND REPRESENTATION OF MULTIPHYSICS SYSTEM MODELS |
CN106383734A (en) * | 2016-11-02 | 2017-02-08 | 北京神舟航天软件技术有限公司 | Method for extracting detailed design from codes |
-
2020
- 2020-02-27 CN CN202010122640.5A patent/CN111324961A/en active Pending
- 2020-04-30 WO PCT/CN2020/088234 patent/WO2021169032A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407111A (en) * | 2016-09-07 | 2017-02-15 | 努比亚技术有限公司 | Terminal test apparatus, terminal test device and variable maintenance method |
CN109426678A (en) * | 2017-08-24 | 2019-03-05 | 当家移动绿色互联网技术集团有限公司 | A kind of full room importing secondary editing system of intelligent recognition furniture |
CN108920752A (en) * | 2018-05-25 | 2018-11-30 | 电子科技大学 | A kind of traveling wave tube structure size synchronized update and Iterative Design method |
CN110489853A (en) * | 2019-08-15 | 2019-11-22 | 杭州群核信息技术有限公司 | A kind of modeling method of household parameterized model |
CN110688109A (en) * | 2019-10-09 | 2020-01-14 | 凯德技术长沙股份有限公司 | Model editing system and creation method thereof |
Non-Patent Citations (1)
Title |
---|
CAD创作室组, 大连理工大学出版社 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114035860A (en) * | 2021-11-04 | 2022-02-11 | 四川启睿克科技有限公司 | Process parameter configuration system based on RPA global variable module |
CN114035860B (en) * | 2021-11-04 | 2023-06-13 | 四川启睿克科技有限公司 | Flow parameter configuration system based on RPA global variable module |
Also Published As
Publication number | Publication date |
---|---|
WO2021169032A1 (en) | 2021-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111324961A (en) | Home parameterization model modeling system and method based on global variables | |
CN109033729B (en) | Product design information management method and system | |
CN107067200B (en) | Operation method and device for bill of material data | |
CN106033388A (en) | A test use case library management method and system | |
CN112256238B (en) | Modeled demand item management method based on FMEA | |
CN106408435A (en) | Process compiling system and process compiling method | |
CN103309283A (en) | Self-adaptive generating method for machining programs for part three-dimensional model changes | |
CN108509198A (en) | A kind of product electronic albums construction method based on neutral BOM | |
CN111124938B (en) | Method for generating componentized test case | |
CN109615554A (en) | Synchrodata system and its operating procedure, creation method based on intelligence manufacture | |
CN111177919B (en) | Air conditioner parameterization design system and air conditioner parameterization design method | |
CN111831696A (en) | Asset information storage method and system based on graph theory | |
CN115081137A (en) | Serialized modeling method under visual programming environment | |
CN115080543A (en) | Event plan state digital twin method, device and equipment | |
JP2001265760A (en) | Device and method for managing document history | |
CN100489864C (en) | Material list integrating method via computer software | |
CN106547536A (en) | 3D standard components and accessory BOM table generating methods | |
CN112632037A (en) | Method and device for graphically defining query data set | |
CN111985015A (en) | System and method for automatically generating BOM (Bill of Material) by using VBA (visual basic Access) function | |
CN117171866B (en) | Building information model data management method, system and medium based on Rhinoceros | |
Latif et al. | Integrating CAD and manufacturing intelligence through features and objects | |
CN114780061B (en) | System design method supporting A-SPICE standard based on containerization object | |
Pons et al. | Schema evolution in object databases by catalogs | |
CN115758601B (en) | Furniture manufacturing process modification design method for intelligent manufacturing of plate type furniture | |
CN107844639A (en) | A kind of project normal structure automatic generation method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |