CN-122019560-A - Intelligent synchronous modification method and device for multi-carrier parameters of hydropower engineering
Abstract
Acquiring a hydroelectric parameter to be modified, an original parameter value and a target modification value, and if the absolute difference between the target modification value and the original parameter value is greater than or equal to a grading precision threshold value, performing authority compliance verification on a current modification request; if the authority compliance verification is passed, all the associated hydropower parameters with linkage mapping relation with the hydropower parameters to be modified are obtained based on the pre-constructed parameter carrier mapping map, the hydropower parameters to be modified and the associated hydropower parameters are determined to be target hydropower parameters, all the target carrier files for storing the target hydropower parameters are obtained, the target hydropower parameters in the target carrier files are synchronously updated based on the target modification values and the linkage mapping relation, the accuracy check sum consistency check is performed, and if the verification is passed, the synchronous modification is determined to be effective. The data collaborative modification efficiency in the hydroelectric engineering design can be improved.
Inventors
- LIU JING
- HE LEI
- SHI XIAOWU
- LI CHAO
- LI BO
- GUO JUN
- WEI KANGKANG
- WEN JIAXING
- TIAN YING
- WANG LANG
Assignees
- 中国电建集团西北勘测设计研究院有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260414
Claims (10)
- 1. The intelligent synchronous modification method for the parameters of the multi-carrier in the hydropower engineering is characterized by comprising the following steps of: obtaining a to-be-modified hydroelectric parameter, an original parameter value and a target modification value which correspond to the to-be-modified hydroelectric parameter respectively in a current modification request, wherein the to-be-modified hydroelectric parameter corresponds to a pre-constructed global identification code one by one, and the global identification code at least comprises an engineering stage code, a professional part code, a physical quantity type code and a rights and posts code; Determining a grading precision threshold according to an engineering stage code, a professional position code and a physical quantity type code which correspond to the hydropower parameters to be modified respectively, and if the absolute difference between the target modification value and the original parameter value is larger than or equal to the grading precision threshold, performing authority compliance verification on the current modification request according to a right post code corresponding to the hydropower parameters to be modified; If the authority compliance verification is passed, acquiring all associated hydropower parameters with linkage mapping relation with the hydropower parameters to be modified based on a pre-constructed parameter carrier mapping map, and determining the hydropower parameters to be modified and the associated hydropower parameters as target hydropower parameters, wherein nodes in the parameter carrier mapping map comprise parameter entity nodes and carrier entity nodes, the parameter entity nodes are used for representing the hydropower parameters, and the carrier entity nodes are used for representing electronic carrier files; And acquiring all target carrier files storing the target hydropower parameters, synchronously modifying the target hydropower parameters in the target carrier files based on the target modification values and the linkage mapping relation, and carrying out precision check and consistency check on the target hydropower parameters in the updated target carrier files, and if the verification is passed, determining that the synchronous modification of the target hydropower parameters is effective.
- 2. The method according to claim 1, wherein determining the grading accuracy threshold according to the engineering stage code, the professional part code and the physical quantity type code respectively corresponding to the hydropower parameters to be modified comprises: determining a parameter reference value corresponding to the hydropower parameter to be modified based on the physical quantity type code and the professional position code; Performing stage matching on preset water and electricity engineering progress plan data and the engineering stage codes, and determining grading precision coefficients corresponding to the matched engineering stages, wherein the values of the grading precision coefficients decrease along with the increase of the engineering stages; and determining the grading precision threshold according to the product between the parameter reference value and the grading precision coefficient.
- 3. The method according to claim 1, wherein the obtaining, based on the pre-constructed parameter carrier mapping map, the associated hydropower parameter having a linkage mapping relationship with the hydropower parameter to be modified includes: Taking the global identification code as an index key, and acquiring a parameter entity node corresponding to the hydropower parameter to be modified in the parameter carrier mapping map; Screening target edges with the linkage mapping relation from edges connected with the parameter entity nodes based on the topological structure of the parameter carrier mapping map; acquiring a target parameter node which is associated with the parameter entity node through the target edge, and determining a hydropower parameter corresponding to the target parameter node as the associated hydropower parameter; The association relation is constructed based on a preset standard rule, and the association relation between the parameter entity nodes comprises a linkage mapping relation and a non-linkage mapping relation; The linkage mapping relation is used for indicating that when the hydropower parameter corresponding to any node associated with the edge is changed, the hydropower parameter corresponding to the other node associated with the edge is synchronously updated, and the non-linkage mapping relation is used for indicating that when the hydropower parameter corresponding to any node associated with the edge is changed, the hydropower parameter corresponding to the other node associated with the edge is subjected to association check processing.
- 4. The method according to claim 1, wherein before the obtaining of the associated hydropower parameters having the linkage mapping relationship with the hydropower parameters to be modified based on the pre-constructed parameter carrier mapping map, the method further comprises performing a self-checking process on the pre-constructed parameter carrier mapping map: calculating the carrier coverage rate, the parameter matching rate and the rule compliance rate of the parameter carrier mapping map; Determining an early warning grade according to the carrier coverage rate, the parameter matching rate and the calculation result of the rule compliance rate; if the early warning level meets the preset condition, acquiring the associated hydropower parameters; The association relation between the parameter entity nodes and the carrier entity nodes comprises a parameter storage mapping relation, the carrier coverage rate is used for representing the proportion of the number of carrier entity nodes with the established parameter storage mapping relation in the parameter carrier mapping map to the total amount of all electronic carrier files, the parameter matching rate is used for representing the matching degree between the semantic features of the hydropower parameters to be modified and the semantic features corresponding to the electronic carrier files with the storage mapping relation of the hydropower parameters to be modified, and the rule compliance rate is used for representing the proportion that the association relation of the nodes in the parameter carrier mapping map accords with a preset hydropower engineering design specification.
- 5. The method according to claim 1, wherein the attribute information of the carrier entity node includes at least a file storage path of a corresponding electronic carrier file, and the acquiring all target carrier files storing the target hydropower parameters includes: Acquiring a target parameter node corresponding to the target hydropower parameter based on the parameter carrier mapping map; screening a target mapping edge with a parameter storage mapping relation with the target parameter node from edges connected with the target parameter node based on the topological structure of the parameter carrier mapping map; And acquiring all target carrier nodes associated with the target parameter nodes through the target mapping edges, acquiring corresponding file storage paths according to attribute information of the target carrier nodes, and acquiring the target carrier files based on the file storage paths.
- 6. The method according to claim 1, wherein the updating the target hydropower parameter in the target carrier file based on the target modification value and the linkage mapping relation comprises: determining a theoretical update value corresponding to each associated hydropower parameter in the target hydropower parameters according to the target modification value and the linkage mapping relation; Determining a starting byte offset address of each target hydropower parameter in the corresponding target carrier file according to a binary index block pre-stored in each target carrier file; And synchronously writing the target modification value and the theoretical update value into the corresponding target carrier file respectively based on the initial byte offset addresses.
- 7. The method according to claim 1, wherein the method comprises initializing an electronic carrier file in a hydropower project: Determining a global identification code and a starting byte offset address corresponding to each hydropower parameter in each electronic carrier file respectively, and coding the mapping relation between the global identification code of each hydropower parameter and the corresponding starting byte offset address to obtain a binary index block; And recording the binary index blocks corresponding to the hydropower parameters in a reserved storage area of the electronic carrier file.
- 8. The method according to claim 1, wherein the performing the precision check and the consistency check on the target hydropower parameters in the updated target carrier file includes: for each updated target hydropower parameter, acquiring an actual written value of the target hydropower parameter in each corresponding target carrier file, and performing accuracy verification on each actual written value based on a grading accuracy threshold corresponding to the target hydropower parameter; If the accuracy verification is passed, acquiring corresponding actual written values of the target hydropower parameters in the target carrier files respectively, and performing consistency verification based on the actual written values; If the actual written values corresponding to the target hydropower parameters are consistent, and the deviation between the actual written values and the corresponding theoretical updated values is within a preset deviation threshold range, determining that the verification is passed.
- 9. The method according to claim 1, further comprising determining a pre-built global identification code corresponding to the hydropower parameter to be modified: Acquiring at least engineering stage attributes, professional part attributes, physical quantity type attributes and rights and posts attributes of the hydroelectric parameters to be modified; Mapping the engineering stage attribute, the professional part attribute, the physical quantity type attribute and the ownership position attribute respectively to obtain an engineering stage code corresponding to the engineering stage attribute, a professional part code corresponding to the professional part attribute, a physical quantity type code corresponding to the physical quantity type attribute and an ownership position code corresponding to the ownership position attribute; and splicing the engineering phase code, the professional position code, the physical quantity type code and the equity post code according to a preset sequence to obtain the global identification code.
- 10. The utility model provides a synchronous modification device of hydroelectric engineering multi-carrier parameter intelligence which characterized in that includes: The system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring a to-be-modified hydropower parameter, an original parameter value and a target modification value which are respectively corresponding to the to-be-modified hydropower parameter in a current modification request, the to-be-modified hydropower parameter is in one-to-one correspondence with a pre-constructed global identification code, and the global identification code at least comprises an engineering phase code, a professional position code, a physical quantity type code and an ownership position code; The verification module is used for determining a grading precision threshold according to the engineering stage code, the professional part code and the physical quantity type code which correspond to the hydropower parameters to be modified respectively, and if the absolute difference between the target modification value and the original parameter value is larger than or equal to the grading precision threshold, the current modification request is subjected to authority compliance verification according to the authority post code corresponding to the hydropower parameters to be modified; The system comprises a determining module, a determining module and a determining module, wherein the determining module is used for acquiring all associated hydropower parameters with linkage mapping relation with the hydropower parameters to be modified based on a pre-constructed parameter carrier mapping map and determining the hydropower parameters to be modified and the associated hydropower parameters as target hydropower parameters if the authority compliance verification is passed, wherein nodes in the parameter carrier mapping map comprise parameter entity nodes and carrier entity nodes, the parameter entity nodes are used for representing the hydropower parameters, the carrier entity nodes are used for representing electronic carrier files, and edges in the parameter carrier mapping map are used for representing the association relation among the nodes; And the updating module is used for acquiring all target carrier files storing the target hydropower parameters, carrying out synchronous modification processing on the target hydropower parameters in the target carrier files based on the target modification values and the linkage mapping relation, carrying out precision check and consistency check on the target hydropower parameters in the updated target carrier files, and determining that the synchronous modification of the target hydropower parameters is effective if the verification is passed.
Description
Intelligent synchronous modification method and device for multi-carrier parameters of hydropower engineering Technical Field The disclosure relates to the technical field of data processing, in particular to a method and a device for intelligently and synchronously modifying parameters of multiple carriers in hydropower engineering. Background The hydroelectric engineering is used as a system engineering with long period, large scale and complex technology, and covers a plurality of construction stages from early planning, pre-feasibility research, bid-drawing design to construction detailed drawings and the like. In the whole life cycle, a huge number of key design parameters are generated, and the parameters are widely distributed in electronic carrier files in various formats such as calculation books, design reports, thematic researches, engineering quantity lists, drawing descriptions and the like. However, when engineering parameter changes and version iterations are performed, the related technology still highly depends on manual cross-document, cross-professional one-by-one retrieval and manual static modification, and the following problems exist in the mode: 1. The association parameters in different carriers are easy to generate contradiction and conflict because the association collaborative modification cannot be carried out. Because the water and electricity parameters have strong relevance, if the water level adjustment needs to synchronously adjust the installation elevation, the dam height, the diameter of a water delivery pipeline and the like of a unit, partial carrier omission easily occurs during manual modification, so that parameter conflict is caused, and the quality of a modified carrier file is influenced. 2. The cross-carrier synchronous updating efficiency is low, and mass heterogeneous data is difficult to deal with. When a certain core reference parameter is changed, the multi-carrier and multi-professional parameters of the hydroelectric engineering need to be positioned one by one, re-calculated and rewritten in hundreds of bottom carriers with different formats, and the manual modification is time-consuming and poor in adaptability one by one. 3. Global rights management is lacking. In the related art, a discrete modification-based method lacks fine-grained authority post control aiming at parameter levels, is extremely easy to generate override tampering, version conflict and modification unequal phenomena, and is difficult to roll back once parameter abnormality occurs, so that the version cannot be traced. 4. And (5) checking the missing linkage. The parameter checking mechanism in the related technology is often isolated and static single-point checking, and after a certain parameter is modified, synchronous checking and rechecking of related technical requirements, calculation books, design reports, thematic reports and the like cannot be carried out, so that engineering hidden danger is easily left. Disclosure of Invention In order to overcome the problems in the related art, the present disclosure provides an intelligent synchronous modification method for multi-carrier parameters of hydropower engineering, which can realize efficient, accurate and collaborative linkage modification of hydropower parameters among electronic carrier files, realize authority management and control and global linkage verification, and improve data consistency after the synchronous modification of the multi-parameter of the hydropower engineering. According to a first aspect of embodiments of the present disclosure, there is provided a method for intelligently and synchronously modifying parameters of a multi-carrier in a hydropower engineering, the method comprising: Obtaining a to-be-modified hydroelectric parameter, an original parameter value and a target modification value which correspond to the to-be-modified hydroelectric parameter respectively in a current modification request, wherein the to-be-modified hydroelectric parameter corresponds to a pre-constructed global identification code one by one, and the global identification code at least comprises an engineering stage code, a professional part code, a physical quantity type code and a rights and posts code; Determining a grading precision threshold according to an engineering stage code, a professional part code and a physical quantity type code which correspond to the hydropower parameters to be modified respectively, and if the absolute difference between the target modification value and the original parameter value is greater than or equal to the grading precision threshold, performing authority compliance verification on the current modification request according to a weight post code corresponding to the hydropower parameters to be modified; If the authority compliance verification is passed, acquiring all associated hydropower parameters with a linkage mapping relation with the hydropower parameters to be modified bas