A method for two-way synchronization update of an architectural design material library and a local canvas

CN122947240APending Publication Date: 2026-10-20HUIZHANGSI ARCHITECTURAL DESIGN CONSULTING (SHANGHAI) CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611442886.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-17
Publication Date
2026-10-20

AI Technical Summary

Technical Problem

[0006]当设计人员在本地画布中修改构件参数并希望将修改回传至素材库时,现有回传流程侧重于单一参数值的替换操作,对回传内容与素材库当前版本的一致性核对,以及回传后构件与相邻构件之间空间关系的合规复核,通常仅做基础处理,缺乏系统化的验证环节,易导致素材库版本管理中出现数据冲突或设计意图偏离,影响双向同步更新机制的闭环完整性与数据质量

Benefits of technology

[0011]相较于现有技术,本发明的有益效果如下:(1)本发明通过为构件原型建立参数关联链,将存在约束关系的结构参数与表现参数绑定为联动参数组,素材库结构参数变更时按参数关联链计算表现参数联动值并随结构参数一并写入同步数据区,避免了各类参数分别独立传输时表现参数与新几何形态不匹配的问题,减少了人工识别约束关系与逐项核对调整的工作量,降低了同步更新中的数据不一致风险。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

This invention belongs to the field of computer-aided architectural design technology, and relates to a method for bidirectional synchronous updating of an architectural design resource library and a local canvas. This invention establishes a parameter association chain to bind the linkage between structural parameters and presentation parameters, divides the synchronous data area and the local editing area, and constructs a spatial relationship diagram recording minimum clearance values ​​and specification limits. When the resource library changes, the linkage value of the presentation parameters is calculated and the minimum clearance between adjacent components is verified. If it is lower than the specification limit, writing is blocked and a pose adjustment scheme is generated; otherwise, the local parameter with the same name is written and the divergence is marked. When local changes occur, the proposal is encapsulated, verified, and a new version is generated. This invention solves the problems of erasing local customized adjustments during overall coverage updates, loss of parameter constraints, exceeding spacing limits, and return transmission conflicts. It achieves automatic transmission of parameter constraints, retention of local adjustments, pre-verification of spatial compliance, and a closed loop of return transmission verification, improving the efficiency, completeness, and reliability of bidirectional synchronous updates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of computer-aided architectural design technology, and relates to a method for bidirectional synchronous updating of an architectural design material library and a local canvas. Background Technology

[0002] In the architectural design process, designers typically obtain standardized component templates from a component resource library and then arrange and refine project schemes on a local canvas. As the design progresses, the component templates in the resource library will continuously evolve due to specification updates, product iterations, or project requirements, and the component copies on the local canvas will also be adaptively adjusted according to specific design conditions. In this situation, an effective change transfer mechanism needs to be established between the resource library and the local canvas to maintain the consistency and traceability of design data.

[0003] Current data transfer methods mostly employ one-way fetching or overall version overwrite to update the local canvas from the resource library. When the attributes of component templates in the resource library iterate, the component copies already placed on the local canvas usually need to be reloaded or completely replaced. However, the adjustments made by designers locally for specific project conditions and the attributes uniformly managed by the resource library are treated as an indistinguishable whole. Synchronization operations can easily erase locally completed customized adjustments, requiring designers to edit repeatedly, which restricts the efficiency and data integrity of two-way synchronous updates.

[0004] There are usually inherent constraints between the parameters that determine the geometric shape and the parameters that affect the appearance in the component template. Existing synchronization mechanisms generally transmit various parameters as independent fields, and the transmission of constraints largely relies on manual identification and correction. When the geometric shape-related parameters are updated, the appearance parameters are prone to mismatch with the new shape, requiring designers to check and adjust each item, which increases the workload of synchronization updates and the risk of data inconsistency.

[0005] Multiple component copies within the local canvas have spatial adjacency relationships, and building codes have explicit limits on such spatial relationships. Current synchronization processes, when updating the resource library and writing it to the local canvas, focus primarily on the correctness of writing individual component attributes, typically without automatically verifying changes in the spacing between adjacent components caused by alterations in the geometry of updated components. After synchronization, the spacing between components may have exceeded the code-permitted limits. Such deviations are often only identified during the design review stage, at which point adjustments are costly, undermining the reliability of synchronization updates.

[0006] When designers modify component parameters in the local canvas and want to send the changes back to the material library, the existing feedback process focuses on replacing single parameter values. The consistency between the feedback content and the current version of the material library, as well as the compliance review of the spatial relationship between the component and adjacent components after feedback, are usually only basic processing and lack a systematic verification process. This can easily lead to data conflicts or deviations from design intent in the material library version management, affecting the closed-loop integrity and data quality of the two-way synchronous update mechanism. Summary of the Invention

[0007] In view of this, in order to solve the problems mentioned in the background technology, a two-way synchronous update method for architectural design material library and local canvas is proposed.

[0008] The objective of this invention can be achieved through the following technical solution: a method for bidirectional synchronous updating of an architectural design material library and a local canvas, comprising: S1, establishing a parameter association chain for the component prototype, binding structural parameters and performance parameters as a linkage parameter group, dividing the parameters of the canvas component instance into a synchronous data area and a local editing area; constructing a spatial relationship diagram of the minimum net distance between recorded nodes, the contact surface direction vector, and the specification limit values.

[0009] S2. When the structural parameters of the material library are changed, the linkage value of the performance parameters is calculated according to the parameter association chain, and the minimum net distance value of adjacent nodes is checked according to the spatial relationship diagram. If it is lower than the specification limit, the writing is blocked and a pose adjustment scheme is generated. Otherwise, the linkage value of the structural parameters and performance parameters is written to the synchronous data area. If there is a parameter with the same name in the local editing area, it is retained and marked as divergent. When the performance parameters of the material library are changed, if the linkage parameter group is not bound, it is directly overwritten. If it is bound, the structural parameters in the group are recalculated.

[0010] S3. When changes are made to the local editing area, if the performance parameters that did not participate in the linkage parameter group are returned to the merged version, or if the structural parameters or performance parameters that participated in the linkage parameter group are returned, the changed parameter values, linkage parameter group and adjacent node information will be encapsulated into a proposal submission material library. If the verification is successful, a new version will be generated and the parameter association chain identifier will be updated; otherwise, it will be returned.

[0011] Compared with the prior art, the beneficial effects of the present invention are as follows: (1) The present invention establishes a parameter association chain for the component prototype, binds the structural parameters and performance parameters with constraint relationship into a linkage parameter group. When the structural parameters of the material library change, the linkage value of the performance parameter is calculated according to the parameter association chain and written into the synchronous data area along with the structural parameters. This avoids the problem of mismatch between the performance parameters and the new geometric shape when various parameters are transmitted independently, reduces the workload of manually identifying constraint relationship and checking and adjusting item by item, and reduces the risk of data inconsistency in synchronous updates.

[0012] (2) By dividing the parameters of the canvas component instance into a synchronous data area and a local editing area according to the source of the value, when the material library changes and writes to the synchronous data area, the parameters with the same name in the local editing area are retained and marked as divergent, thus avoiding the problem of erasing customized adjustments of the project by the overall version overwrite update. The edited content that has been completed locally is retained after synchronization, reducing the workload of designers to repeatedly edit due to synchronization, and improving the data integrity and execution efficiency of the two-way synchronous update process.

[0013] (3) By constructing a spatial relationship diagram of the minimum net distance between recording nodes, the direction vector of the contact surface and the standard limit, the present invention verifies the minimum net distance between adjacent nodes before writing changes to the structural parameters of the material library. When the minimum net distance is lower than the standard limit, the writing is blocked and a pose adjustment scheme is generated. This avoids the problem that the changes in the spacing between adjacent components caused by changes in the geometric shape of the components are only identified in the later review stage. This allows the spacing deviation to be dealt with in the writing process, reduces the later adjustment cost, and improves the reliability of synchronous updates.

[0014] (4) This invention encapsulates the changed parameter values, linkage parameter groups and adjacent node information into a proposal submission material library. During verification, each parameter in the linkage parameter group in the proposal is compared with the current version of the material library one by one, and the minimum net distance value in the adjacent node information is compared with the standard limit value one by one. Only when the verification is passed will a new version be generated, and if it fails, the proposal will be returned. This avoids version data conflicts and deviations from design intent caused by the replacement and return of a single parameter value, and ensures the closed-loop integrity and data quality of bidirectional synchronous updates. Attached Figure Description

[0015] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a flowchart of a two-way synchronous update method between an architectural design resource library and a local canvas in this invention.

[0017] Figure 2 This is a flowchart illustrating the construction of the spatial relationship diagram in this invention;

[0018] Figure 3 This is a graph showing the relationship between the structural parameter change values, the recalculated minimum net distance value, and the linkage value of the performance parameters in this invention.

[0019] Figure 4 This is a distribution diagram of the verification results for each type of change proposal in this invention. Detailed Implementation

[0020] 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.

[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.

[0022] The following description, in conjunction with the accompanying drawings, details a specific scheme for a two-way synchronous update method between an architectural design resource library and a local canvas provided by the present invention.

[0023] Please see Figure 1 As shown, the present invention provides a method for bidirectional synchronous updating of an architectural design material library and a local canvas, including steps S1 to S3.

[0024] To address the issues of data conflicts arising from the bidirectional synchronization between the material library and the local canvas, such as the erasure of local customized adjustments during overall overwrite updates, loss of structural and performance parameter constraints due to independent parameter transmission, unverified changes in adjacent component spacing during synchronous writing, and data conflicts caused by a lack of consistency verification and spatial compliance review in local modification feedback, this invention constructs a collaborative processing method that integrates parameter linkage constraints, instance partition management, and spatial topology verification for constraint transmission and spatial verification. This method uses parameter association and component spatial adjacency relationships as control logic. When changes occur in the material library, the linkage value is calculated along the parameter association chain, and the minimum clear distance value is verified. If it falls below the specification limit, writing is blocked, and a pose adjustment scheme is generated; otherwise, it is written to the synchronous data area, and the parameter with the same name in the local editing area is retained. When local changes occur, the changed parameter values ​​and adjacent node information are encapsulated as a proposal, verified, and a new version is generated. This ensures that parameter constraints are automatically transmitted with changes, spatial compliance review is placed before the writing stage, and the verified feedback content is included in version management. This achieves unified control of parameters in the material library and partitioned maintenance of locally adaptive adjustment parameters, forming a closed loop for bidirectional synchronous updates.

[0025] S1. Establish parameter association chains for component prototypes, bind structural parameters and performance parameters as linked parameter groups, divide the parameters of canvas component instances into synchronous data areas and local editing areas; construct a spatial relationship diagram of the minimum net distance between recording nodes, contact surface direction vectors, and specification limits.

[0026] Typically, the structural and representational parameters of a component prototype jointly constrain the same geometric element, resulting in implicit numerical coupling. Adjacent component instances on the canvas are also subject to minimum clearance specifications. Existing synchronization mechanisms treat parameters as isolated scalars, overwriting them field by field, failing to recognize these geometric couplings and spatial adjacency relationships. This leads to parameter mismatches or clearance exceeding limits after writing. Therefore, this step establishes parameter association chains to bind linked parameter groups, divides the synchronized data area from the local editing area, and constructs a spatial relationship diagram recording minimum clearance values, contact surface direction vectors, and specification limits.

[0027] Specifically, the definition file of the component prototype in the material library is read first. The definition file records the parameter name, parameter category, parameter value and the number of the functioning geometric element for each parameter, and records the minimum clear distance value set according to the building design code when the component prototype is adjacent to other component prototype types. When the parameter category is a structural parameter, the geometric element indicated by the functioning geometric element number in the geometric model of the component prototype is the geometric element constrained by the structural parameter; when the parameter category is a performance parameter, the geometric element indicated by the functioning geometric element number in the geometric model of the component prototype is the geometric element to which the performance parameter is attached.

[0028] Subsequently, the geometric element number constrained by each structural parameter is compared with the geometric element number attached to each performance parameter. When the numbers are the same, the structural parameter and the performance parameter are bound into a linkage parameter group, and the structural parameter identifier, performance parameter identifier, and geometric element number of common constraint are recorded in the linkage parameter group. The linkage parameter group represents the numerical linkage relationship between the structural parameter and the performance parameter through the same geometric element. That is, when the value of the structural parameter in the linkage parameter group changes, the geometric element constrained by the structural parameter changes synchronously with the value of the structural parameter, and the performance parameter attached to the geometric element is revalued according to the changed geometric element, so that the value of the performance parameter matches the geometric shape determined by the structural parameter.

[0029] For example, the opening width of the component prototype is a structural parameter, the spacing of the opening surface segmentation joints is a performance parameter, the opening width constrains the edge lines on both sides of the opening, the spacing of the opening surface segmentation joints is attached to the edge lines on both sides of the same opening, and the opening width and the opening surface segmentation joint spacing are bound as a linkage parameter group.

[0030] Then, each linkage parameter group is treated as a link in the parameter association chain. The links are sequentially connected according to the parameter declaration order in the component prototype definition file. The structural parameter identifier, representation parameter identifier, and geometric element number recorded in each link constitute the binding relationship within the group and are retained along with the link. After the connection is completed, the parameter association chain is obtained. Then, the version number of the component prototype in the material library is read and written into the head of the parameter association chain to generate a parameter association chain identifier represented by the version number.

[0031] Furthermore, a component prototype is selected from the material library, and the parameter values ​​and geometric model of the current version of the component prototype are read. The read parameter values ​​are substituted into the geometric model to solve for the spatial coordinates of each geometric element. The geometry is generated according to the solution results with the specified insertion point on the local canvas as the origin and a unique instance number is assigned to it to obtain a canvas component instance. At the time of instantiation, all parameter values ​​of the canvas component instance are from the material library, and the parameter values ​​from the material library are allocated to the synchronization data area.

[0032] After a designer edits any parameter value of a canvas component instance on the local canvas, the edited parameter and its edited value originate from the local canvas editing. The parameter value originating from the local canvas editing is assigned to the local editing area, while the parameter value of the same parameter is still retained in the synchronous data area. Parameters with the same name coexist in both areas. The parameter values ​​in the synchronous data area are uniformly managed as the material library changes, while the parameter values ​​in the local editing area are maintained independently as project customization adjustments.

[0033] After completing the parameter partitioning management described above, a spatial relationship diagram needs to be constructed to achieve automatic verification of spatial relationships between components. Please refer to [link / reference needed]. Figure 2 As shown, the steps for constructing the spatial relationship diagram are as follows: S101, taking each canvas component instance on the local canvas as a node, traversing all pairs of canvas component instances, for each pair, traversing all surface pairs of the geometry of the two canvas component instances, calculating the distance between each surface pair one by one and taking the minimum value as the minimum net distance value; when the minimum net distance value is less than the adjacent distance threshold, it indicates that the spacing between the two canvas component instances has fallen within the adjacent range controlled by the building design code, and the net distance change caused by the geometric shape change has the risk of being lower than the code limit. An edge is established between the two canvas component instances, and the canvas component instances at both ends of the edge are adjacent nodes.

[0034] The adjacency distance threshold is taken as the maximum value among all the minimum net distance values ​​recorded in the prototype definition files of each component in the material library, so that the adjacency distance threshold is not less than the maximum value among the standard limits recorded in each side of the spatial relationship diagram. Any instance combination whose spacing may be lower than the standard limit is established as an edge and included in the verification range.

[0035] S102. For each edge, extract the pair of surfaces that are closest to each other on the geometry at both ends when calculating the minimum net distance value as the contact surface. Take the direction from the contact point at this end to the contact point at the other end in the normal vector of the contact surface as the contact surface direction vector of the node at this end. Record the contact surface direction vector of each node at both ends of the edge. Record the minimum net distance value, the contact surface direction vectors at both ends and the standard limit value corresponding to the adjacent nodes on the edge.

[0036] The specification limit is obtained by reading the minimum clear distance recorded for the other party's component prototype type from the definition files of the respective component prototype instances at both ends of the edge. When the minimum clear distance recorded in the definition files at both ends is inconsistent, the larger value is taken as the specification limit for that edge. When a component prototype is stored in the material library, the minimum clear distance for each existing component prototype type in the material library is recorded in the definition file of the component prototype, and the minimum clear distance for the newly added component prototype type is simultaneously added to the definition files of each existing component prototype, ensuring that the minimum clear distance for any combination of component prototype types is recorded in the definition files at both ends.

[0037] S2. When the structural parameters of the material library are changed, the linkage value of the performance parameters is calculated according to the parameter association chain, and the minimum net distance value of adjacent nodes is checked according to the spatial relationship diagram. If it is lower than the specification limit, the writing is blocked and a pose adjustment scheme is generated. Otherwise, the linkage value of the structural parameters and performance parameters is written to the synchronous data area. If there is a parameter with the same name in the local editing area, it is retained and marked as divergent. When the performance parameters of the material library are changed, if the linkage parameter group is not bound, it is directly overwritten. If it is bound, the structural parameters in the group are recalculated.

[0038] Modifications to structural parameters cause geometric deformation, which propagates along the parameter association chain to the representation parameters and alters the clearance between adjacent components along the spatial relationship diagram. Single-field overwrite can lead to a disconnect between representation features and structural parameters, or cause spatial interference between adjacent components. If representation parameters of a bound linkage group are modified individually without back-calculating structural parameters, a mismatch between geometric topology and parameter definitions will occur. Therefore, this step performs linkage recalculation and clearance verification for structural parameter changes, blocking the generation of adjustment schemes or writing them to the synchronization area and marking divergences based on the results; for representation parameter changes, overwrite or back-calculation is performed based on the binding status.

[0039] Specifically, firstly, the system monitors the parameter saving operations of component prototypes in the resource library. When a save command is detected, the system reads the component prototype identifier and parameter name carried in the save command. The system uses the component prototype identifier to locate the definition file of the component prototype, and uses the parameter name to retrieve the parameter to be saved in the definition file. The system then reads the parameter category of the parameter to be saved. If the parameter category of the parameter to be saved is a structural parameter, it determines that a change has occurred in the structural parameters of the resource library. If the parameter category of the parameter to be saved is a presentation parameter, it determines that a change has occurred in the presentation parameters of the resource library.

[0040] When the structural parameters of the material library change, the changed structural parameter identifier is used to search through each link of the parameter association chain. The linkage parameter group corresponding to the link that records the structural parameter identifier is taken as the linkage parameter group to which the changed structural parameter belongs. In the geometric model of the component prototype, each coordinate component of each vertex of each geometric element is represented by coordinate algebraic expressions based on the dimensional constraints applied by parametric modeling. ,in, For this vertex, the value of this coordinate component. To constrain the structural parameter values ​​of this geometric element, and These are the coefficients and constants entered during modeling along with dimensional constraints.

[0041] Substitute the changed structural parameter values ​​into the coordinate algebraic expressions of the vertices of the geometric elements constrained by the structural parameters in the linkage parameter group, solve for the updated spatial coordinates of each vertex, and calculate the length and spacing of the geometric element using the updated vertex coordinates according to the distance formula between two points. The length is the distance between two vertices specified when modeling the geometric element, and the spacing is the distance between the vertex of the geometric element and the paired vertex specified for it when modeling.

[0042] The values ​​of each performance parameter are determined by the parameter inter-parameter formula defined during modeling, i.e., the allocation calculation formula, as shown below: In the formula The value of this performance parameter is... The straight-line distance between the two endpoints of the geometric element to which this performance parameter is attached, specified during modeling. This is the straight-line distance between the geometric center point of this geometric element and the geometric center points of its paired geometric elements specified during modeling. , and For the coefficients and constants entered during modeling based on the numerical relationships between parameters, the calculated length and spacing are substituted into the allocation calculation formula of the performance parameter to obtain the performance parameter linkage value of each performance parameter in the linkage parameter group. The performance parameter linkage value represents the value of the performance parameter attached to the same geometric element after the geometric shape is re-evaluated according to the changed structural parameters. It is used to write the performance parameter value into the synchronization data area along with the changed structural parameter value so that the written performance parameter value matches the updated geometric shape.

[0043] Then, for each canvas component instance generated on the local canvas based on the component prototype, the modified structural parameter values ​​are substituted into the geometric model of the canvas component instance, and the spatial coordinates of each geometric element are recalculated in the same way as during instantiation to obtain the modified geometry. Each edge connected to the canvas component instance in the spatial relationship graph is traversed, and for each edge, all surface pairs between the modified geometry and the adjacent node geometry are traversed. The distance between each surface pair is calculated one by one, and the minimum value is taken as the recalculated minimum net distance value. The recalculated minimum net distance value is compared with the specification limit value recorded for that edge.

[0044] If the recalculated minimum clearance value is lower than the specification limit, it means that after the structural parameters are changed, the clearance between the canvas component instance and the adjacent node will exceed the lower limit allowed by the building design code, resulting in a spatial violation. In this case, the linkage value of the structural parameters and the performance parameters is blocked from being written to the synchronous data area. The opposite direction of the contact surface direction vector on one side of the adjacent node is used as the adjustment direction of the adjacent node. The difference between the specification limit and the recalculated minimum clearance value is used as the adjustment amount of the adjacent node. After the adjacent node is translated by the adjustment amount according to the adjustment direction, the minimum clearance value after translation is recalculated. If it is still lower than the specification limit, the difference between the specification limit and the recalculated minimum clearance value is used as the new adjustment amount to continue translating until the minimum clearance value is not lower than the specification limit. The instance number of the adjacent node, the adjustment direction and the cumulative adjustment amount are combined into a pose adjustment scheme and the pose adjustment scheme is output to the local canvas.

[0045] After the pose adjustment scheme is output to the local canvas, the local canvas translates the corresponding adjacent nodes according to the adjustment direction and cumulative adjustment amount recorded in the pose adjustment scheme. After the translation is completed, the minimum clearance value verification is re-executed. When the recalculated minimum clearance value is not lower than the specification limit, the changed structural parameter value and the performance parameter linkage value are written to the synchronization data area, and the geometry of the canvas component instance is updated to the changed geometry. The minimum clearance values ​​recorded on each side connected to the canvas component instance in the spatial relationship diagram are updated to the corresponding recalculated minimum clearance values.

[0046] If the recalculated minimum clearance value is not lower than the standard limit, it means that the clearance between the canvas component instance and the adjacent node still meets the requirements of the building design code after the structural parameter change is written. Then, the parameter with the same name is searched in the synchronization data area according to the parameter name of the written parameter. If it is found, the parameter value of the same name is replaced by the changed structural parameter value and the performance parameter linkage value. If it is not found, the changed structural parameter value and the performance parameter linkage value are written as new parameter records in the synchronization data area.

[0047] Since the parameters with the same name in the local editing area carry customized adjustments made by designers for specific project conditions, directly overwriting them with the written values ​​would erase the locally completed editing content. Therefore, the parameters with the same name in the local editing area are retained and marked as divergent to preserve customized adjustments for the project and to indicate inconsistencies between local editing values ​​and values ​​written in the material library. Subsequently, the local editing area is searched for parameters with the same name as the written parameters. When a parameter is found, its value in the local editing area is kept unchanged, and both the local editing value and the written value are recorded in the divergence mark field of the parameter record to complete the divergence mark. After the writing is completed, the geometry of the canvas component instance is updated to the changed geometry, and the minimum clear distance values ​​recorded on each side connected to the canvas component instance in the spatial relationship diagram are updated to the corresponding recalculated minimum clear distance values.

[0048] When the performance parameters in the material library change, the link with the changed performance parameter identifier is searched in each link of the parameter association chain. If the link with the changed performance parameter identifier is found, it is determined that the changed performance parameter has been bound to the linkage parameter group. If the link with the changed performance parameter identifier is not found, it is determined that the changed performance parameter has not been bound to the linkage parameter group.

[0049] When no linkage parameter group is bound, the changed performance parameter value directly overwrites the performance parameter with the same name in the synchronized data area. If there is a parameter with the same name in the local editing area, the parameter value in the local editing area is retained and a divergence is marked.

[0050] When a linkage parameter group is already bound, the changed performance parameter value is substituted into the allocation calculation formula of the performance parameter. The length and spacing in the allocation calculation formula are replaced with geometric algebraic expressions derived from coordinate algebra, with the structural parameters in the linkage parameter group as independent variables. This yields a univariate algebraic equation with the structural parameter as the unknown. Each root of the equation is solved, and each root is substituted into the allocation calculation formula for verification to eliminate extraneous roots. The root that passes the verification and has the smallest absolute value of the difference between the root and the current version of the structural parameter in the material library is taken as the structural parameter value in the linkage parameter group. The solved structural parameter value is taken as the changed structural parameter value. The linkage parameter group positioning, performance parameter linkage value calculation, and minimum net distance value verification are performed according to the structural parameter changes in the material library.

[0051] For example, please refer to Figure 3 As shown in the figure, using the opening width as the structural parameter, the spacing of the opening's decorative seams as the performance parameter, and the adjacent column on the right as the adjacent node, the process of determining changes in the structural parameters of the material library is illustrated. The horizontal axis in the figure represents the changed opening width, and the left and right vertical axes represent the recalculated minimum clearance value and the linkage value of the performance parameter, respectively. As the opening width increases, the right opening edge line moves towards the adjacent column, the minimum clearance value decreases, and the linkage value increases. The specification limit is represented by a horizontal line, and the opening width corresponding to the intersection with the decreasing clearance curve constitutes the write determination boundary. The left side of the intersection is the allowed write side; if the minimum clearance value is not lower than the specification limit, it is determined that the synchronous data area is to be written. The right side is the blocked write side; if it is lower than the specification limit, it is determined that the write is blocked, and the difference between the two is used as the adjustment amount to generate a pose adjustment scheme. Figure 3 This indicates that the write determination changes continuously with the changed value and there is no ambiguous range. The adjustment amount increases with the changed value, providing a reference for designers to estimate the consequences and adjustment costs of synchronous writing.

[0052] S3. When changes are made to the local editing area, if the performance parameters that did not participate in the linkage parameter group are returned to the merged version, or if the structural parameters or performance parameters that participated in the linkage parameter group are returned, the changed parameter values, linkage parameter group and adjacent node information will be encapsulated into a proposal submission material library. If the verification is successful, a new version will be generated and the parameter association chain identifier will be updated; otherwise, it will be returned.

[0053] The impact of parameter changes on the local canvas varies depending on the parameter type: performance parameters not involved in a linkage group only affect a single geometric feature, while structural parameters or performance parameters involved in a linkage group, once modified, affect other parameters within the group and adjacent nodes along the association chain. If all changes are indiscriminately logged back, the changes to structural or linkage parameters will bypass the global verification of spatial relationships and linkage constraints, disrupting the existing parameter binding relationships in the association chain. Therefore, this step performs a merged logging back for performance parameters not involved in linkage, and for structural or linkage performance parameters, the changed values, linkage group, and adjacent node information are encapsulated into a proposal submission material library. After successful verification, a new version is generated and the association chain identifier is updated; otherwise, it is returned.

[0054] Specifically, firstly, the system listens for parameter editing and saving operations on canvas component instances on the local canvas. When an edit and save command is detected, the edited parameter value is written to the local editing area of ​​the canvas component instance. It is determined that the parameter in the local editing area has changed. The system searches for the link in the parameter association chain that records the parameter identifier by using the parameter identifier of the written parameter. If the link is found, it is determined that the written parameter participates in the linkage parameter group. If it is not found, it is determined that the written parameter does not participate in the linkage parameter group. The system then searches for the parameter category of the written parameter in the component prototype definition file of the canvas component instance by using the parameter name of the written parameter.

[0055] When the written parameter is a performance parameter not involved in the linkage parameter group, since the performance parameter only affects the appearance of a single geometric feature, does not change the geometric shape, and does not affect the values ​​of other parameters in the linkage parameter group or the net distance between adjacent components, it can be returned without proposal verification. Therefore, all parameter values ​​of the current version of the component prototype in the material library are read, and the parameter values ​​of the same-named parameters are replaced with the written parameter values. The parameter values ​​of the remaining parameters are retained, and the replaced parameter values ​​constitute the merged version. The merged version is returned to the material library to replace the current version of the component prototype in the material library. Since the merged version is based on the parameter values ​​of the current version in the material library and only replaces the parameter values ​​of the same-named parameters, all other parameter updates that have occurred in the material library since the last synchronization of this performance parameter are retained, and the return will not overwrite such updates.

[0056] When the written parameters are structural parameters or performance parameters participating in the linkage parameter group, since the values ​​of these two types of parameters affect the other parameters in the linkage parameter group through geometric elements and change the geometric shape of the canvas component instance, thus affecting the clearance between adjacent components, they must be verified by clearance and parameter binding relationship before being included in the material library. Therefore, the written parameter values ​​are substituted into the geometric model of the canvas component instance, and the spatial coordinates of each geometric element are recalculated in the same way as during instantiation to obtain the changed geometry. Each edge connected to the canvas component instance in the spatial relationship diagram is traversed. For each edge, all surface pairs between the changed geometry and the adjacent node geometry are traversed. The distance between each surface pair is calculated one by one, and the minimum value is taken as the recalculated minimum clearance value. The adjacent node instance number corresponding to each edge, the recalculated minimum clearance value, the contact surface direction vector recorded by the edge, and the specification limit value constitute the adjacent node information. The parameter identifier and parameter value of the written parameter, the chain record content of the linkage parameter group to which the written parameter belongs, and the adjacent node information of each edge are encapsulated into a proposal and submitted to the material library.

[0057] Furthermore, after the resource library receives the proposal, given that the resource library version may be updated between the proposal's generation and receipt, the verification is based on the parameter association chain and the specification limits of each edge record in the current version of the resource library: using the parameter identifier written in the proposal, the link in the parameter association chain of the current version of the resource library that records the parameter identifier is searched. The structural parameter identifier, performance parameter identifier, and geometric element number recorded in the linked parameter group link in the proposal are compared one by one with the structural parameter identifier, performance parameter identifier, and geometric element number recorded in the searched link record. If all are the same, it is determined that the verification is consistent. The verification is consistent, indicating that the parameter binding relationship on which the proposal is based is consistent with the parameter binding relationship of the current version of the resource library.

[0058] Based on the parameter category of the written parameter, recalculate the linkage values ​​of the remaining parameters in the linkage parameter group: When the written parameter is a structural parameter, substitute the written parameter value into the coordinate algebraic expression of each vertex of the geometric element constrained by the structural parameter, solve for the updated spatial coordinates, and calculate the length and spacing. Substitute the length and spacing into the allocation calculation formula of each performance parameter in the linkage parameter group to obtain the linkage value of each performance parameter; When the written parameter is a performance parameter participating in the linkage parameter group, substitute the written parameter value into the allocation calculation formula of the performance parameter, solve for each root of the univariate algebraic equation with the structural parameter in the linkage parameter group as the unknown, substitute each root into the allocation calculation formula to verify and remove extraneous roots, and take the root that passes the verification and has the smallest absolute value of the difference between the structural parameter value and the current version of the material library as the structural parameter value in the linkage parameter group.

[0059] Subsequently, the minimum net distance value of each edge recalculated in the adjacent node information is compared with the standard limit value recorded for that edge.

[0060] The verification is successful when the parameters are consistent and the minimum clear distance values ​​are not lower than the specification limits. This indicates that the parameter binding relationship on which the proposal is based is consistent with the current version of the material library, and the geometric changes caused by the written parameter values ​​have not exceeded the specification limits between adjacent components. The proposal content can be safely included in the material library version management. Therefore, the parameter values ​​of the same-named parameters in the current version of the material library are replaced with the written parameter values ​​and linkage values, while the parameter values ​​of the remaining parameters are retained. After saving, a new version is generated. The version number of the new version is generated by incrementing the existing version number of the material library by one digit. The parameter association chain identifiers on both sides of the material library and the local canvas are synchronously updated to the version number of the new version.

[0061] Otherwise, if the verification fails, the proposal will be returned to the local editing area, and the current version of the material library will remain unchanged.

[0062] For example, please refer to Figure 4 As shown in the figure, the vertical axis represents the type of changed parameter, and the horizontal axis represents the number of proposals. The bar segments from left to right represent: verified and passed, returned due to discrepancies, and returned due to net distance being lower than the limit. Structural parameters (opening width, wall thickness) have more types of modifications and higher frequency, and are more numerous than performance parameters (opening finish joint spacing) participating in the linkage parameter group. Among the returned proposals, some discrepancies were due to material library version updates, and some were due to recalculating the minimum net distance value to be lower than the specification limit. The verification pass rate for performance parameters is higher than that for structural parameters. Performance parameters not participating in the linkage parameter group are returned as merged versions without proposal verification and are not included in the figure. The above distribution shows that the proposal verification mechanism effectively filters returned content, avoids version data conflicts and design intent deviations caused by single parameter value replacements, and ensures the closed-loop integrity and data quality of two-way synchronous updates.

[0063] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, in the form of a computer program product.

[0064] Those skilled in the art will recognize that the algorithmic steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. 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 implementations should not be considered beyond the scope of this application.

[0065] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.

[0066] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0067] Finally, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for bidirectional synchronous updating of an architectural design resource library and a local canvas, characterized in that, include: S1. Establish parameter association chains for component prototypes, bind structural parameters and performance parameters as linked parameter groups, and divide the parameters of canvas component instances into synchronous data areas and local editing areas; construct a spatial relationship diagram that records the minimum net distance between nodes, contact surface direction vectors, and specification limits. S2. When the structural parameters of the material library are changed, the linkage value of the performance parameters is calculated according to the parameter association chain, and the minimum net distance between adjacent nodes is checked according to the spatial relationship diagram. If it is lower than the specification limit, the writing is blocked and a pose adjustment scheme is generated. Otherwise, the linkage values ​​of the structural parameters and performance parameters are written to the synchronous data area. If there are parameters with the same name in the local editing area, they are retained and marked as divergent. When the performance parameters of the material library are changed, if the linkage parameter group is not bound, it is directly overwritten. If it is bound, the structural parameters in the group are recalculated. S3. When changes are made to the local editing area, if the performance parameters that did not participate in the linkage parameter group are returned to the merged version, or if the structural parameters or performance parameters that participated in the linkage parameter group are returned, the changed parameter values, linkage parameter group and adjacent node information will be encapsulated into a proposal submission material library. If the verification is successful, a new version will be generated and the parameter association chain identifier will be updated; otherwise, it will be returned.

2. The method for bidirectional synchronous updating of an architectural design resource library and a local canvas as described in claim 1, characterized in that, Step S1, which establishes the parameter association chain and divides the synchronous data area and the local editing area, specifically includes: The structural and representational parameters of the component prototype are analyzed, and the geometric elements constrained by each structural parameter and the geometric elements attached to each representational parameter are determined in the geometric model of the component prototype. When the same geometric element is simultaneously constrained by structural parameters and dependent on performance parameters, the structural parameter and the performance parameter are bound together as a linkage parameter group. By linking the various linkage parameter groups and the binding relationships within each group, a parameter association chain is obtained, and a parameter association chain identifier is generated based on the version number of the component prototype in the material library. Instantiate the component prototype on the local canvas to obtain the canvas component instance. Divide the synchronous data area and the local editing area according to the source of the parameter value. Parameter values ​​from the material library are assigned to the synchronous data area, and parameter values ​​from local canvas editing are assigned to the local editing area.

3. The method for bidirectional synchronous updating of an architectural design resource library and a local canvas as described in claim 2, characterized in that, The step S1 of constructing the spatial relationship diagram specifically includes: Using canvas component instances as nodes, calculate the minimum distance between the geometric surfaces of every two canvas component instances. When the minimum net distance is less than the preset adjacency distance threshold, establish an edge between the two canvas component instances, and the canvas component instances at both ends of the edge are adjacent nodes. For each edge, extract the pair of closest surfaces on the two ends of the geometry as the contact surface. Take the direction from the contact point at this end to the contact point at the other end in the normal vector of the contact surface as the contact surface direction vector of the node at this end. Record the contact surface direction vector of each node at both ends of the edge. Record the minimum net distance value, the contact surface direction vectors at both ends and the standard limit value corresponding to the adjacent nodes on the edge.

4. The method for bidirectional synchronous updating of an architectural design resource library and a local canvas as described in claim 3, characterized in that, The adjacency distance threshold is not less than the maximum value among the standard limits recorded on each side of the spatial relationship graph.

5. The method for bidirectional synchronous updating of an architectural design resource library and a local canvas as described in claim 1, characterized in that, The specified limit is the minimum clear distance limit pre-set according to the building design code for the combination of adjacent component types.

6. The method for bidirectional synchronous updating of an architectural design resource library and a local canvas as described in claim 1, characterized in that, When the material library structure parameters are changed in step S2, the following steps are executed: When the structural parameters of the material library are changed, the linkage parameter group to which the changed structural parameter belongs is located along the parameter association chain. Based on the changed structural parameter value, the geometric elements constrained by the structural parameters in the linkage parameter group are recalculated. The linkage parameter linkage value of each performance parameter in the linkage parameter group is calculated from the recalculated geometric elements. Based on the changed structural parameter values, recalculate the geometry of the canvas component instance, traverse the edges connected to the canvas component instance in the spatial relationship graph, recalculate the minimum clearance between the canvas component instance and adjacent nodes, and compare the recalculated minimum clearance with the specification limit recorded on the edge. If the recalculated minimum clearance value is lower than the specification limit, the linkage values ​​of the blocking structure parameters and performance parameters are written into the synchronization data area. The reverse direction of the contact surface direction vector recorded on the edge is used as the adjustment direction of the adjacent nodes. The difference between the specification limit and the recalculated minimum clearance value is used as the initial adjustment amount. After translating in the adjustment direction, the minimum clearance value is recalculated. If it is still lower than the specification limit, the translation continues and the adjustment amount is accumulated until it is not lower than the specification limit. The adjacent nodes, adjustment direction and accumulated adjustment amount are combined into a pose adjustment scheme. If the recalculated minimum clearance value is not lower than the specification limit, the changed structural parameter value and the performance parameter linkage value are written to the synchronization data area. If there is a parameter with the same name as the written parameter in the local editing area, the parameter value in the local editing area is retained and marked as divergent.

7. The method for bidirectional synchronous updating of an architectural design resource library and a local canvas as described in claim 1, characterized in that, When the material library display parameters are changed in step S2, the following steps are executed: When the display parameters of the material library are changed, the linkage parameter group to which the changed display parameter belongs is searched along the parameter association chain. If it is found, it is determined that the changed display parameter has been bound to the linkage parameter group; if it is not found, it is determined that it has not been bound to the linkage parameter group. When no linkage parameter group is bound, the changed performance parameter value directly overwrites the performance parameter with the same name in the synchronized data area; When a linkage parameter group is already bound, the geometric elements to which the performance parameters in the linkage parameter group depend are recalculated based on the changed performance parameter values. The structural parameter values ​​in the linkage parameter group are then calculated from the recalculated geometric elements. The calculated structural parameter values ​​are used as the changed structural parameter values ​​and processed in the same way as the material library structural parameter changes.

8. The method for bidirectional synchronous updating of an architectural design resource library and a local canvas as described in claim 1, characterized in that, The method for determining changes in the structure parameters and presentation parameters of the material library is as follows: When it is detected that the parameter values ​​of the component prototype in the material library have been saved, read the category of the saved parameter in the component prototype definition; When the type of the saved parameter is a structural parameter, it is determined that a change has occurred in the material library's structural parameters; when the type of the saved parameter is a presentation parameter, it is determined that a change has occurred in the material library's presentation parameters.

9. The method for bidirectional synchronous updating of an architectural design resource library and a local canvas as described in claim 1, characterized in that, The determination and processing of changes to the local editing area in step S3 specifically includes: When parameter values ​​from local canvas editing are written to the local editing area, it is determined that the parameters in the local editing area have changed. The linkage parameter group to which the written parameter belongs is searched along the parameter association chain. If it is found, it is determined that the written parameter participates in the linkage parameter group. If it is not found, it is determined that it does not participate in the linkage parameter group, and the category of the written parameter in the component prototype definition is read. When the written parameter is a performance parameter that is not involved in the linkage parameter group, the parameter value of the parameter with the same name in the current version of the material library is replaced with the written parameter value, and the parameter values ​​of the remaining parameters are retained to obtain the merged version. The merged version is then sent back to the material library. When the written parameters are structural parameters or performance parameters participating in the linkage parameter group, the geometry of the canvas component instance is recalculated based on the written parameter values. The edges connected to the canvas component instance in the spatial relationship diagram are traversed, and the minimum clearance value between the canvas component instance and adjacent nodes is recalculated. The recalculated minimum clearance value, the contact surface direction vector recorded in the spatial relationship diagram, and the specification limit value constitute the adjacent node information. The written parameter values, linkage parameter group, and adjacent node information are encapsulated into a proposal and submitted to the material library.

10. The method for bidirectional synchronous updating of an architectural design resource library and a local canvas as described in claim 9, characterized in that, The verification of the proposal by the resource library in step S3 specifically includes: After receiving the proposal, the material library locates the linkage parameter group containing the written parameters along the parameter association chain. It then compares the structural parameter identifier, performance parameter identifier, and geometric element number of the common constraint recorded in the linkage parameter group in the proposal with the structural parameter identifier, performance parameter identifier, and geometric element number recorded in the located linkage parameter group one by one. If all are the same, it is determined that the verification is consistent. Based on the written parameter values, recalculate the written parameter constraints or the geometric elements attached to the linkage parameter group. Calculate the linkage values ​​of the remaining parameters in the linkage parameter group from the recalculated geometric elements. Compare the minimum net distance value in the adjacent node information with the specification limit value one by one. If the verification is consistent and all minimum net distance values ​​are not lower than the specification limits, the verification is successful. Replace the parameter values ​​of the same name in the current version of the material library with the written parameter values ​​and linkage values, retain the parameter values ​​of the remaining parameters, generate a new version, and update the parameter association chain identifier to the version number of the new version; otherwise, the verification fails and the proposal is returned to the local editing area.