Relationship information generation method and device and related equipment

By calculating the spatial location, life cycle and functional characteristics similarity of water conservancy engineering objects and generating object relationship information, multiple object relationship description and analysis problems in water diversion and diversion engineering management are solved, and management effect and efficiency are improved.

CN118965013APending Publication Date: 2024-11-15ZHEJIANG INST OF HYDRAULICS & ESTUARY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410955731.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing water diversion and diversion project management technology is difficult to effectively describe and analyze the complex relationship between multiple water conservancy project objects, resulting in poor management results and greatly disturbed by human factors.

Method used

By obtaining the spatial location, life cycle and project use of water conservancy engineering objects, compute similarity data to generate object relationship information, characterize the correlation relationship between different water conservancy engineering objects, and thus facilitate users to schedule multiple water conservancy engineering objects manage.

Benefits of technology

The management effect of multiple water conservancy project objects has been improved, man-made interference has been reduced, and more accurate and efficient water resource allocation and scheduling has been achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118965013A_ABST
    Figure CN118965013A_ABST
Patent Text Reader

Abstract

The invention provides a relation information generation method and device and related equipment, and relates to the technical field of water diversion project operation management, and the method comprises the steps: obtaining the spatial feature data, vital sign data and functional feature data of each water conservancy project object in a plurality of water conservancy project objects; the method comprises the following steps of: obtaining a plurality of water conservancy project objects, performing similarity calculation according to the water conservancy project objects, further obtaining associated data between the different water conservancy project objects, and generating object relationship information which is used for representing an association relationship between any two different water conservancy project objects in the plurality of water conservancy project objects. According to the method, the association relationship between different water conservancy project objects in the plurality of water conservancy project objects can be accurately and quickly described, the user can conveniently schedule and manage the plurality of water conservancy project objects, and the management effect of the plurality of water conservancy project objects is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of operation and management of water diversion and regulation projects, and specifically to a method, device and related equipment for generating relationship information. Background Art

[0002] Water diversion and regulation projects are important infrastructure for optimizing water resources allocation and achieving "spatial balance". They can be used to alleviate the problems of uneven temporal and spatial distribution of water resources and unbalanced layout of productivity in different regions.

[0003] Water diversion and regulation projects generally include multiple individual projects such as reservoirs, embankments, pumping stations, sluices, culverts, and aqueducts. Scientific management of the relationship between individual projects and multiple projects is of great significance to optimizing water resource allocation, ensuring flood prevention and disaster reduction, strengthening water environment management, and protecting the water ecological environment.

[0004] At present, relevant technologies mainly describe water diversion and regulation projects in the form of engineering codes. The resulting coded data only includes the engineering category and natural serial number of a single water diversion and regulation project. This method lacks the description and analysis of the complex relationship between multiple engineering objects. When users coordinate the management and joint scheduling of multiple water diversion and regulation projects, they need to perform manual analysis based on the coded data and the data dictionary associated with the coded data. This operation is time-consuming and labor-intensive, and is greatly interfered by human factors. Therefore, the management effect of multiple water diversion and regulation projects is poor. Summary of the invention

[0005] The purpose of the present disclosure is to provide a relationship information generation method, device and related equipment to solve the technical problem that the related technology has poor management effect on multiple water diversion and regulation projects.

[0006] In a first aspect, the present application provides a method for generating relationship information, the method comprising: Acquire characteristic information of each water conservancy project object among the plurality of water conservancy project objects, the characteristic information including spatial characteristic data for characterizing the spatial position of the water conservancy project object, life characteristic data for characterizing the life cycle of the water conservancy project object, and functional characteristic data for characterizing the engineering purpose of the water conservancy project object; Performing similarity calculation on the spatial feature data of the first object and the spatial feature data of the second object to obtain first similarity data; performing similarity calculation on the life feature data of the first object and the life feature data of the second object to obtain second similarity data; performing similarity calculation on the functional feature data of the first object and the functional feature data of the second object to obtain third similarity data; wherein the first object is any one of the multiple water conservancy engineering objects, and the second object is any one of the multiple water conservancy engineering objects except the first object; Obtaining association data between the first object and the second object according to the first similarity data, the second similarity data, and the third similarity data; Object relationship information is generated according to the association data between the first object and the second object, and the object relationship information is used to characterize the association relationship between any two different water conservancy project objects among the multiple water conservancy project objects.

[0007] In a second aspect, the present application further provides a relationship information generating device, the device comprising: A feature information acquisition module, used to acquire feature information of each water conservancy project object among a plurality of water conservancy project objects, wherein the feature information includes spatial feature data for characterizing the spatial position of the water conservancy project object, life feature data for characterizing the life cycle of the water conservancy project object, and functional feature data for characterizing the engineering purpose of the water conservancy project object; A similarity calculation module, configured to perform similarity calculation on the spatial feature data of the first object and the spatial feature data of the second object to obtain first similarity data; perform similarity calculation on the life feature data of the first object and the life feature data of the second object to obtain second similarity data; perform similarity calculation on the functional feature data of the first object and the functional feature data of the second object to obtain third similarity data; wherein the first object is any one of the plurality of water conservancy engineering objects, and the second object is any one of the plurality of water conservancy engineering objects except the first object; an association calculation module, configured to obtain association data between the first object and the second object according to the first similarity data, the second similarity data and the third similarity data; The relationship information generation module is used to generate object relationship information based on the association data between the first object and the second object, and the object relationship information is used to characterize the association relationship between any two different water conservancy project objects among the multiple water conservancy project objects.

[0008] In a third aspect, the present application provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method described in the first aspect.

[0009] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0010] In a fifth aspect, the present application provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0011] In the present application, by respectively calculating the first similarity data of the spatial position of two water conservancy project objects, the second similarity data of the life cycle, and the third similarity data of the engineering purpose, and merging the first similarity data, the second similarity data, and the third similarity data, to obtain the association data for describing the association relationship between the two water conservancy project objects, repeating the above process can generate object relationship information for describing the association relationship between different water conservancy project objects among multiple water conservancy project objects, thereby facilitating users' scheduling and management of multiple water conservancy project objects and improving the management effect of multiple water conservancy project objects. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a flowchart of a method for generating relationship information provided by an embodiment of the present disclosure; Figure 2 is a schematic diagram of different life cycles of different engineering objects provided by an embodiment of the present disclosure; Figure 3 is a schematic diagram of a three-dimensional space O-DTU provided by an embodiment of the present disclosure; Figure 4 is a structural schematic diagram of a relationship information generating device provided by an embodiment of the present disclosure; Figure 5 It is a schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0013] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0014] The present disclosure provides a method for generating relationship information. Figure 1 As shown, the relationship information generating method includes: Step 101: Acquire characteristic information of each water conservancy project object among a plurality of water conservancy project objects.

[0015] The characteristic information includes spatial characteristic data for characterizing the spatial position of the water conservancy engineering object, life characteristic data for characterizing the life cycle of the water conservancy engineering object, and functional characteristic data for characterizing the engineering purpose of the water conservancy engineering object.

[0016] Exemplarily, the spatial characteristic data can be understood as the geographical location coordinates of the water conservancy project object, the life characteristic data can include the initial operation time of the water conservancy project object and the expected extinction time of the water conservancy project object, and the functional characteristic data is a set of functional items including at least one functional item. The functional characteristic data of different water conservancy project objects can be completely the same, partially the same, or completely different.

[0017] Among them, the first operation time of the water conservancy project object is the time when the water conservancy project object is first operated after its completion, and the expected extinction time of the water conservancy project object is the sum of the first operation time of the water conservancy project object and the expected service life of the water conservancy project object. For example: if the first operation time of the water conservancy project object is 1949, and the expected service life (also called life cycle duration) of the water conservancy project object is 80 years, then the expected extinction time of the water conservancy project object is 2029, and 1949-2029 is the life cycle of the water conservancy project object.

[0018] The set of functional items may include at least one of the following functional items: flood control, drainage, water supply, water distribution, water intake, irrigation, ecology, and storage. It should be understood that the above-mentioned multiple functional items are only used for illustrative purposes. In applications, the functional items involved in the water conservancy project objects can be adaptively increased, decreased, and modified according to actual needs.

[0019] It should be noted that, among the multiple water conservancy project objects, any two different water conservancy project objects are interconnected.

[0020] Step 102: perform similarity calculation on the spatial feature data of the first object and the spatial feature data of the second object to obtain first similarity data; perform similarity calculation on the life feature data of the first object and the life feature data of the second object to obtain second similarity data; perform similarity calculation on the functional feature data of the first object and the functional feature data of the second object to obtain third similarity data.

[0021] The first object is any one of the multiple water conservancy project objects, and the second object is any one of the multiple water conservancy project objects except the first object.

[0022] It should be understood that the above-mentioned first object and second object are used to refer to any two different water conservancy project objects among the multiple water conservancy project objects. By traversing the multiple water conservancy project objects and executing the operation of the above-mentioned step 102, the first similarity data, the second similarity data and the third similarity data between any two different water conservancy project objects among the multiple water conservancy project objects can be obtained.

[0023] Exemplarily, the process of performing similarity calculation on the spatial feature data of the first object and the spatial feature data of the second object to obtain the first similarity data may be: Performing spatial distance calculation based on the spatial feature data of the first object and the spatial feature data of the second object to obtain the spatial distance between the first object and the second object; The spatial distance between the first object and the second object is normalized to obtain the first similarity data.

[0024] If the spatial feature data of the first object is set to (x1, y1, z1) and the spatial feature data of the second object is set to (x2, y2, z2), the spatial distance between the first object and the second object can be expressed as:

[0025] In formula (1), D is used to refer to the spatial distance between the first object and the second object.

[0026] In the application, the spatial distance between any two different water conservancy engineering objects among multiple water conservancy engineering objects can be calculated first, and then the distance mean can be calculated based on the spatial distance between any two different water conservancy engineering objects among the multiple water conservancy engineering objects, and then the first similarity data after normalization of each spatial distance can be determined based on the ratio of each spatial distance to the reference distance (the reference distance is 1.5 to 2 times the distance mean), wherein, if the above ratio is less than or equal to 1, the ratio is directly determined as the first similarity data after normalization of the corresponding spatial distance; and when the above ratio is greater than 1, the first similarity data after normalization of the corresponding spatial distance is determined to be 1.

[0027] Furthermore, we can define two water conservancy project objects with D values ​​within the buffer radius [0, 0.25] as having strong spatial association, those within (0.25, 0.75] as having weak spatial association, and those greater than 0.75 as having no association.

[0028] In one embodiment, the life characteristic data includes the initial operation time of the water conservancy project object and the expected extinction time of the water conservancy project object; The performing similarity calculation on the vital feature data of the first object and the vital feature data of the second object to obtain second similarity data includes: Obtain the life cycle overlap duration, the life cycle duration of the first object, and the life cycle duration of the second object, wherein the life cycle overlap duration is the difference between the earliest extinction time and the latest initial running time, the earliest extinction time is the earliest time between the expected extinction time of the first object and the expected extinction time of the second object, the latest initial running time is the latest time between the initial running time of the first object and the initial running time of the second object, the life cycle duration of the first object is the difference between the expected extinction time of the first object and the initial running time of the first object, and the life cycle duration of the second object is the difference between the expected extinction time of the second object and the initial running time of the second object; A first ratio of the life cycle overlap duration to the life cycle duration of the first object, and a second ratio of the life cycle overlap duration to the life cycle duration of the second object are calculated, and the second similarity data includes the first ratio and the second ratio.

[0029] For example, if the initial running time of the first object is set to O1(t0), the expected extinction time of the first object is set to O1(t1), the initial running time of the first object is set to O2(t0), and the expected extinction time of the first object is set to O2(t1), then, Figure 2 As shown, The first ratio T 1,2 Can be: T 1,2 =(min(O1(t1),O2(t1))-max(O1(t0),O1(t1)))÷(O1(t1)-O1(t0)); The second ratio T 2,1 Can be: T 2,1 =(min(O1(t1),O2(t1))-max(O1(t0),O1(t1)))÷(O2(t1)-O2(t0)).

[0030] Furthermore, we can define two water conservancy project objects with T values ​​within the buffer radius [0.75,1] as having strong life association, those within [0.25,0.75) as having weak life association, and those within [0,0.25) as having no association.

[0031] In one embodiment, the performing similarity calculation on the functional feature data of the first object and the functional feature data of the second object to obtain third similarity data includes: The intersection-and-union ratio of the function item set corresponding to the function feature data of the first object and the function item set corresponding to the function feature data of the second object is determined as the third similarity data.

[0032] Exemplarily, if the function item set corresponding to the function feature data of the first object is set to A1, and the function item set corresponding to the function feature data of the second object is set to A2, then the third similarity data U 1,2 It can be expressed as: .

[0033] Furthermore, it can be defined that two water conservancy project objects with U values ​​within the buffer radius [0.75, 1] ​​have strong functional association, those within [0.25, 0.75) have weak functional association, and those within [0, 0.25) have no association.

[0034] Step 103: Obtain association data between the first object and the second object according to the first similarity data, the second similarity data, and the third similarity data.

[0035] Specifically, the first similarity data, the second similarity data, and the third similarity data may be fused to obtain association data between the first object and the second object.

[0036] For example, if the first similarity data is set to D 1,2 The second similarity data is T 1,2 And the third similarity data is U 1,2 , then the association data DR between the first object and the second object 1,2 It can be expressed as:

[0037] Step 104: Generate object relationship information according to the association data between the first object and the second object.

[0038] The object relationship information is used to characterize the association relationship between any two different water conservancy project objects among the multiple water conservancy project objects.

[0039] Furthermore, the smaller the value of the association data between the first object and the second object is, the stronger the association relationship between the first object and the second object is.

[0040] In the present application, by respectively calculating the first similarity data of the spatial position of two water conservancy project objects, the second similarity data of the life cycle, and the third similarity data of the engineering purpose, and merging the first similarity data, the second similarity data, and the third similarity data, to obtain the association data for describing the association relationship between the two water conservancy project objects, repeating the above process can generate object relationship information for describing the association relationship between different water conservancy project objects among multiple water conservancy project objects, thereby facilitating users' scheduling and management of multiple water conservancy project objects and improving the management effect of multiple water conservancy project objects.

[0041] In the application, when the user selects a water conservancy project object from multiple water conservancy project objects for scheduling, he can quickly obtain several other water conservancy project objects that have a strong correlation with the selected water conservancy project object based on the aforementioned object relationship information. After that, by jointly scheduling the selected water conservancy project object and several other strongly associated water conservancy project objects, a better scheduling effect can be obtained, wherein the judgment of the strong correlation between different water conservancy project objects can be achieved based on a threshold.

[0042] In one embodiment, when a data value of the association data between the first object and the second object is less than or equal to a first threshold, the object relationship information is used to indicate that the first object and the second object are in a strong association relationship; In a case where a data value of the association data between the first object and the second object is greater than the first threshold and less than or equal to a second threshold, the object relationship information is used to indicate that the first object and the second object are in a weak association relationship; In a case where a data value of the association data between the first object and the second object is greater than the second threshold, the object relationship information is used to indicate that the first object and the second object are unassociated.

[0043] For example, the first threshold may be 1 / 3, and the second threshold may be 2 / 3.

[0044] In this embodiment, when the associated data is calculated, the strength of the association between each water conservancy project object and other water conservancy project objects can be quickly distinguished by setting a threshold, which can further facilitate the user's perception and use of the association between different water conservancy project objects.

[0045] In one embodiment, generating object relationship information according to association data between the first object and the second object includes: Acquire connectivity information of a connectivity structure between the first object and the second object, wherein the connectivity information includes a total length of the connectivity structure and a pipe diameter of the connectivity structure; Normalizing the connectivity information to obtain a correction coefficient, wherein the total length of the structure is positively correlated with the correction coefficient, and the pipe diameter is negatively correlated with the correction coefficient; The association data between the first object and the second object is corrected according to the correction coefficient, and the object relationship information is generated according to the corrected association data between the first object and the second object.

[0046] In this embodiment, through the above-mentioned process setting, when evaluating the association relationship between different water conservancy project objects, in addition to comparing the similarities of different water conservancy project objects in terms of location, life cycle, and function, the length and pipe diameter of the connecting structure between different water conservancy project objects are further considered to more accurately describe the association relationship between different water conservancy project objects, thereby making the determined object relationship information more accurate.

[0047] The tube diameter of the connecting structure may be an average tube diameter of the connecting structure, or may be a minimum tube diameter of the connecting structure.

[0048] Exemplarily, the process of normalizing the connectivity information to obtain the correction coefficient may be: The total length of the structure connecting any two different water conservancy engineering objects among the multiple water conservancy engineering objects can be calculated first, and then the length mean can be calculated according to the total length of the structure connecting any two different water conservancy engineering objects among the multiple water conservancy engineering objects, and then the ratio of the total length of each connecting structure to the reference length (the reference length is 1.5 to 2 times of the length mean) can be determined as the length data after the standardization of the total length of each structure; Similarly, first calculate the pipe diameters of the connecting structures between any two different water conservancy engineering objects among multiple water conservancy engineering objects, then calculate the mean pipe diameter according to the pipe diameters of the connecting structures between any two different water conservancy engineering objects among multiple water conservancy engineering objects, and then determine the ratio of the pipe diameter of each connecting structure to the reference pipe diameter (the reference pipe diameter is 1.5 to 2 times the mean pipe diameter) as the standardized pipe diameter data of each pipe diameter; The average value of the pipe diameter data and the length data of each connecting structure is determined as the correction coefficient corresponding to each connecting structure.

[0049] In one embodiment, after generating the object relationship information according to the association data between the first object and the second object, the method includes: In a preset three-dimensional map, the first object, the second object, and a connection structure between the first object and the second object are highlighted; Wherein, when the object relationship information is used to indicate that the first object and the second object are in a strong association relationship, the connection structure between the first object and the second object is in a first display style; In a case where the object relationship information is used to indicate that the first object and the second object are in a weak association relationship, wherein the connectivity structure between the first object and the second object is in a second display style; In a case where the object relationship information is used to indicate that the first object and the second object are unrelated, the connectivity structure between the first object and the second object is displayed in a third display style.

[0050] In this embodiment, by displaying the object relationship information in a preset three-dimensional map, the user can more intuitively perceive the association relationship between different water conservancy project objects, thereby further facilitating the user's scheduling and management of multiple water conservancy project objects.

[0051] Exemplarily, the connecting structure may be a culvert, a tunnel, an aqueduct, etc.

[0052] Among them, the preset three-dimensional map includes multiple map points, and the multiple map points correspond one-to-one to the multiple water conservancy project objects. In the application, the map display function can be supported. When the user enables the map display function, the preset three-dimensional map is displayed on the display page, and the multiple map points are highlighted in the preset three-dimensional map. The above settings are used to distinguish and display the map point lines of the corresponding connection structure between different map points.

[0053] Exemplarily, the first display style may be: displaying the connection structure between the first object and the second object with a red line; The second display style may be: displaying the connection structure between the first object and the second object with a yellow line; The third display style may be: displaying the connection structure between the first object and the second object with a green line.

[0054] In the application, you can also choose other display styles besides color difference to distinguish different associations. For example, you can set the connection line between two map points with a strong association (referring to the connectivity structure) to be displayed as a thick line, the connection line between two unrelated map points to be displayed as a thin line, and the connection line between two map points with a weak association to be between thick and thin lines.

[0055] For ease of understanding, the following examples are provided: The present application also provides a method for establishing a relationship between water conservancy project objects, the method comprising: Establish a description model for a single engineering object, that is, any single engineering object O is described by integrating its spatial features S(x, y, z), life features T(t0, t1) and functional features A(a i ) for description.

[0056] Based on the above description model, the water diversion project object group matrix is ​​constructed:

[0057] Among them, O i is the i-th engineering object, S i (x, y, z) is the spatial feature of the i-th engineering object (i.e. the aforementioned spatial feature data), x, y, z are the geographical coordinates of the engineering object, T i is the life characteristic of the ith project object (i.e., the aforementioned life characteristic data), t0 is the time when the project object was completed and put into operation (which can be understood as the aforementioned first operation time), i.e., the birth time, t1 is the expected extinction time of the project, i.e., the time when the project object was completed and put into operation + the expected service life of the project object, A is the functional characteristic set (which can be understood as the aforementioned functional characteristic data), including multiple functional items such as flood control, drainage, water supply, water distribution, water intake, irrigation, ecology, and storage, among which A i (a j ) is the functional feature set of the i-th engineering object, a j The specific functional attributes of the object, such as flood control, drainage, water supply, ecology and other functions.

[0058] Based on the water diversion project object group matrix, the association matrix between project objects is constructed. The specific process includes: Collect the spatial characteristics of all single engineering objects (which can be understood as the aforementioned multiple water conservancy engineering objects) in the area where the water diversion and regulation project is located, such as vector data (such as Shapefile, GeoJSON, etc.) of objects such as sluices, reservoirs, embankments, and rivers. These data can include spatial data such as points, lines, and surfaces; life characteristics, such as the birth time and expected extinction time of the project, and functional characteristic data, such as flood control, drainage, water supply, ecology and other functions.

[0059] Based on the process description of the aforementioned embodiment, the spatial feature association relationship (which can be understood as the first similarity data), the life feature association relationship (which can be understood as the second similarity data) and the functional feature association relationship (which can be understood as the third similarity data) of the monomer engineering objects are analyzed.

[0060] According to the spatial feature correlation, life feature correlation and functional feature correlation of the analysis and calculation, the target object O0 and the analysis object O0 are constructed. i (i=1,2,...n) incidence matrix:

[0061] Among them, Dr. 0,i Indicates the target object O0 and the analysis object O i The spatial feature correlation relationship, T 0,i Indicates the life feature association relationship between the target object O0 and the analysis object Oi, and U0,i indicates the functional feature association relationship between the target object O0 and the analysis object Oi.

[0062] According to the above correlation matrix, Figure 3 As shown in the figure, take O0 as the origin, D, T, and U as the three axes to construct the three-dimensional space O-DTU, and calculate R 0,i Distance to origin DR 0,i , and its calculation formula is as follows: ; Among them, DR 0,i The smaller the value, the stronger the correlation between the target object and the analysis object. 0,i The analysis object within the sphere radius [0, r1] has a strong relationship with the target object, within (r1, r2] it has a weak relationship, and greater than r2 there is no relationship. Generally, r1=1 / 3 and r2=2 / 3 can be taken. When scheduling the operation of the target engineering object, priority can be given to the joint operation of the single engineering objects that have a strong relationship with it.

[0063] Repeat the above process and take OR 0,i =1-DR 0,i , OR i,j =OR j,i , we can get the relationship matrix between the water diversion and regulation project object groups, which is a symmetric matrix with a diagonal of 1: ;

[0064] The relationship matrix can be analyzed and utilized by different methods to give full play to the role of engineering object groups. In the relationship matrix, 1 represents self-association, OR i,j The larger the value, the closer the relationship between objects i and j (i.e., the i-th object and the j-th object) is. OR can be given priority in optimizing the layout of water diversion engineering system and water resources allocation. i,j Synergy and joint scheduling between projects with high value.

[0065] The above method can quickly and comprehensively describe the complex relationship between water conservancy project objects by integrating the spatial characteristics, life characteristics and functional characteristics of water conservancy project objects and performing corresponding similarity calculations, and can quickly and accurately describe and display the mutual influence and role between water conservancy project objects. It can accurately express the spatial layout and mutual influence between engineering facilities, and provide more comprehensive data relationship support for optimizing the configuration of water resources network structure, optimizing the layout of single projects, improving water resources regulation capabilities, giving full play to the comprehensive functions and benefits of engineering object groups, and improving the accuracy and efficiency of comprehensive scheduling of water diversion and regulation engineering systems; Secondly, the above method dynamically expresses the co-action time within the life cycle of the project through spatial relationships and life overlap, can dynamically adapt to the changes of addition and disappearance of the project, has better operability and dynamic adaptability, and has higher versatility and practicality.

[0066] See also Figure 4 , Figure 4 is a relationship information generating device provided by an embodiment of the present disclosure, such as Figure 4 As shown, the relationship information generating device 400 includes: The characteristic information acquisition module 401 is used to acquire characteristic information of each water conservancy project object among the multiple water conservancy project objects, wherein the characteristic information includes spatial characteristic data for characterizing the spatial position of the water conservancy project object, life characteristic data for characterizing the life cycle of the water conservancy project object, and functional characteristic data for characterizing the engineering purpose of the water conservancy project object; The similarity calculation module 402 is used to perform similarity calculation on the spatial feature data of the first object and the spatial feature data of the second object to obtain first similarity data; perform similarity calculation on the life feature data of the first object and the life feature data of the second object to obtain second similarity data; perform similarity calculation on the functional feature data of the first object and the functional feature data of the second object to obtain third similarity data; wherein the first object is any one of the multiple water conservancy engineering objects, and the second object is any one of the multiple water conservancy engineering objects except the first object; An association calculation module 403, configured to obtain association data between the first object and the second object according to the first similarity data, the second similarity data and the third similarity data; The relationship information generating module 404 is used to generate object relationship information according to the association data between the first object and the second object, wherein the object relationship information is used to characterize the association relationship between any two different water conservancy project objects among the multiple water conservancy project objects.

[0067] In one embodiment, the life characteristic data includes the initial operation time of the water conservancy project object and the expected extinction time of the water conservancy project object; The similarity calculation module 402 includes a life calculation unit, and the life calculation unit is specifically used to: Obtain the life cycle overlap duration, the life cycle duration of the first object, and the life cycle duration of the second object, wherein the life cycle overlap duration is the difference between the earliest extinction time and the latest initial running time, the earliest extinction time is the earliest time between the expected extinction time of the first object and the expected extinction time of the second object, the latest initial running time is the latest time between the initial running time of the first object and the initial running time of the second object, the life cycle duration of the first object is the difference between the expected extinction time of the first object and the initial running time of the first object, and the life cycle duration of the second object is the difference between the expected extinction time of the second object and the initial running time of the second object; A first ratio of the life cycle overlap duration to the life cycle duration of the first object, and a second ratio of the life cycle overlap duration to the life cycle duration of the second object are calculated, and the second similarity data includes the first ratio and the second ratio.

[0068] In one embodiment, the similarity calculation module 402 includes a function calculation unit, and the function calculation unit is specifically used to: The intersection-and-union ratio of the function item set corresponding to the function feature data of the first object and the function item set corresponding to the function feature data of the second object is determined as the third similarity data.

[0069] In one embodiment, the relationship information generating module 404 is specifically used to: Acquire connectivity information of a connectivity structure between the first object and the second object, wherein the connectivity information includes a total length of the connectivity structure and a pipe diameter of the connectivity structure; Normalizing the connectivity information to obtain a correction coefficient, wherein the total length of the structure is positively correlated with the correction coefficient, and the pipe diameter is negatively correlated with the correction coefficient; The association data between the first object and the second object is corrected according to the correction coefficient, and the object relationship information is generated according to the corrected association data between the first object and the second object.

[0070] In one embodiment, when a data value of the association data between the first object and the second object is less than or equal to a first threshold, the object relationship information is used to indicate that the first object and the second object are in a strong association relationship; In a case where a data value of the association data between the first object and the second object is greater than the first threshold and less than or equal to a second threshold, the object relationship information is used to indicate that the first object and the second object are in a weak association relationship; In a case where a data value of the association data between the first object and the second object is greater than the second threshold, the object relationship information is used to indicate that the first object and the second object are unassociated.

[0071] In one embodiment, the relationship information generating device 400 further includes: A map display module, used for highlighting the first object, the second object, and the connection structure between the first object and the second object in a preset three-dimensional map; Wherein, when the object relationship information is used to indicate that the first object and the second object are in a strong association relationship, the connection structure between the first object and the second object is in a first display style; In a case where the object relationship information is used to indicate that the first object and the second object are in a weak association relationship, wherein the connectivity structure between the first object and the second object is in a second display style; In a case where the object relationship information is used to indicate that the first object and the second object are unrelated, the connectivity structure between the first object and the second object is displayed in a third display style.

[0072] The relationship information generating device 400 provided in the embodiment of the present disclosure can implement each process in the above-mentioned relationship information generating method embodiment, and will not be described again here to avoid repetition.

[0073] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.

[0074] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0075] like Figure 5As shown, the device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 to a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0076] A number of components in the device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0077] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSP), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as the relationship information generation method. For example, in some embodiments, the relationship information generation method may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the relationship information generation method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to execute the relationship information generating method in any other appropriate manner (for example, by means of firmware).

[0078] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0079] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0080] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0081] As used herein, the term "machine-readable medium" refers to any computer program product, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0082] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0083] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0084] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0085] The present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above Figure 1 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0086] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0087] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for generating relationship information, characterized in that: The method comprises: Acquire characteristic information of each water conservancy project object among the plurality of water conservancy project objects, the characteristic information including spatial characteristic data for characterizing the spatial position of the water conservancy project object, life characteristic data for characterizing the life cycle of the water conservancy project object, and functional characteristic data for characterizing the engineering purpose of the water conservancy project object; Performing similarity calculation on the spatial feature data of the first object and the spatial feature data of the second object to obtain first similarity data; performing similarity calculation on the life feature data of the first object and the life feature data of the second object to obtain second similarity data; performing similarity calculation on the functional feature data of the first object and the functional feature data of the second object to obtain third similarity data; wherein the first object is any one of the multiple water conservancy engineering objects, and the second object is any one of the multiple water conservancy engineering objects except the first object; Obtaining association data between the first object and the second object according to the first similarity data, the second similarity data, and the third similarity data; Object relationship information is generated according to the association data between the first object and the second object, and the object relationship information is used to characterize the association relationship between any two different water conservancy project objects among the multiple water conservancy project objects.

2. The method according to claim 1, characterized in that The life characteristic data include the initial operation time of the water conservancy project object and the expected extinction time of the water conservancy project object; The performing similarity calculation on the vital feature data of the first object and the vital feature data of the second object to obtain second similarity data includes: Obtain the life cycle overlap duration, the life cycle duration of the first object, and the life cycle duration of the second object, wherein the life cycle overlap duration is the difference between the earliest extinction time and the latest initial running time, the earliest extinction time is the earliest time between the expected extinction time of the first object and the expected extinction time of the second object, the latest initial running time is the latest time between the initial running time of the first object and the initial running time of the second object, the life cycle duration of the first object is the difference between the expected extinction time of the first object and the initial running time of the first object, and the life cycle duration of the second object is the difference between the expected extinction time of the second object and the initial running time of the second object; A first ratio of the life cycle overlap duration to the life cycle duration of the first object, and a second ratio of the life cycle overlap duration to the life cycle duration of the second object are calculated, and the second similarity data includes the first ratio and the second ratio.

3. The method according to claim 1, characterized in that The performing similarity calculation on the functional feature data of the first object and the functional feature data of the second object to obtain third similarity data includes: The intersection-and-union ratio of the function item set corresponding to the function feature data of the first object and the function item set corresponding to the function feature data of the second object is determined as the third similarity data.

4. The method according to any one of claims 1 to 3, characterized in that The generating object relationship information according to the association data between the first object and the second object includes: Acquire connectivity information of a connectivity structure between the first object and the second object, wherein the connectivity information includes a total length of the connectivity structure and a pipe diameter of the connectivity structure; Normalizing the connectivity information to obtain a correction coefficient, wherein the total length of the structure is positively correlated with the correction coefficient, and the pipe diameter is negatively correlated with the correction coefficient; The association data between the first object and the second object is corrected according to the correction coefficient, and the object relationship information is generated according to the corrected association data between the first object and the second object.

5. The method according to claim 1, characterized in that: In a case where a data value of the association data between the first object and the second object is less than or equal to a first threshold, the object relationship information is used to indicate that the first object and the second object are in a strong association relationship; In a case where a data value of the association data between the first object and the second object is greater than the first threshold and less than or equal to a second threshold, the object relationship information is used to indicate that the first object and the second object are in a weak association relationship; In a case where a data value of the association data between the first object and the second object is greater than the second threshold, the object relationship information is used to indicate that the first object and the second object are unassociated.

6. The method according to claim 5, characterized in that After generating the object relationship information according to the association data between the first object and the second object, the method includes: In a preset three-dimensional map, the first object, the second object, and a connection structure between the first object and the second object are highlighted; Wherein, when the object relationship information is used to indicate that the first object and the second object are in a strong association relationship, the connection structure between the first object and the second object is in a first display style; In a case where the object relationship information is used to indicate that the first object and the second object are in a weak association relationship, wherein the connectivity structure between the first object and the second object is in a second display style; In a case where the object relationship information is used to indicate that the first object and the second object are unrelated, the connectivity structure between the first object and the second object is displayed in a third display style.

7. A relationship information generating device, characterized in that: The device comprises: A feature information acquisition module, used to acquire feature information of each water conservancy project object among a plurality of water conservancy project objects, wherein the feature information includes spatial feature data for characterizing the spatial position of the water conservancy project object, life feature data for characterizing the life cycle of the water conservancy project object, and functional feature data for characterizing the engineering purpose of the water conservancy project object; A similarity calculation module, configured to perform similarity calculation on the spatial feature data of the first object and the spatial feature data of the second object to obtain first similarity data; perform similarity calculation on the life feature data of the first object and the life feature data of the second object to obtain second similarity data; perform similarity calculation on the functional feature data of the first object and the functional feature data of the second object to obtain third similarity data; wherein the first object is any one of the plurality of water conservancy engineering objects, and the second object is any one of the plurality of water conservancy engineering objects except the first object; an association calculation module, configured to obtain association data between the first object and the second object according to the first similarity data, the second similarity data and the third similarity data; The relationship information generation module is used to generate object relationship information based on the association data between the first object and the second object, and the object relationship information is used to characterize the association relationship between any two different water conservancy project objects among the multiple water conservancy project objects.

8. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the method according to any one of claims 1 to 6 when executed by the processor.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 6.