Method, device and equipment for displaying small attachments in logical relationship diagram and medium

By configuring the search range for non-fluid pipeline objects and small accessories in the logical relationship diagram template, and displaying the small accessories associated with the objects at both ends, the problem of missing information in non-pipeline connection scenarios in the existing technology is solved, and the practicality and business support capability of the logical relationship diagram are improved.

CN120974671APending Publication Date: 2025-11-18PERSAGY TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511134348.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-13
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

The existing logical relationship diagram cannot display the small attachments associated with the objects at both ends in non-pipeline connection scenarios, resulting in missing information and limiting its application completeness and business support capabilities in complex project scenarios.

Method used

By identifying objects with non-fluid network relationships in the relationship diagram template, obtaining object configuration information and small attachment search range, configuring anchor point information, and instantiating the logical relationship diagram based on project information, the small attachments associated with the objects at both ends are displayed.

Benefits of technology

It enables the display of small attachments on non-pipeline connection lines, improving the practicality and business support capabilities of logical relationship diagrams in complex project scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120974671A_ABST
    Figure CN120974671A_ABST
Patent Text Reader

Abstract

The invention discloses a method, a device and equipment for displaying small attachments in a logical relationship diagram and a medium. The method comprises the following steps: determining a first object and a second object which have a non-fluid pipe network relationship in a relational graph template, acquiring object configuration information, and configuring the relational graph template by utilizing the object configuration information; obtaining a small attachment search range between the first object and the second object, and configuring the relational graph template by using the small attachment search range; and instantiating the relational graph template according to the project information to generate a logical relational graph containing the small attachments. By adopting the technical scheme, the small attachment associated with the objects at the two ends can be displayed on the non-pipeline-connected relation connecting line, the problem of information loss caused by the fact that the small attachment cannot be displayed on the non-pipeline-connected relation connecting line in the prior art is solved, and therefore the practicability and the service supporting capacity of the logic relation graph in a complex project scene are 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 data processing, and in particular to a small accessory display method and device in a logical relationship diagram, equipment and medium. BACKGROUND

[0002] The logical relationship diagram is a diagram that visually presents the logical association between multiple objects in a graphical manner.

[0003] In the existing logical relationship diagram, only when the two end objects have an actual pipe connection relationship, can the valve or sensor and other small accessories be queried and displayed on the relationship line generated according to the actual pipe connection.

[0004] However, in the actual delivery scene of the project site, the two end objects already exist, but the complete pipe connection between the objects has not been formed, at this time, the association between the objects is often manifested as a non-fluid pipe network relationship, such as a service supply relationship between devices and devices, a parameter measurement relationship, a mechanical and electrical subordination relationship, and other non-pipe connection generated associations. In this case, the existing technology only supports the small accessory display of the pipe connection relationship line, and for the valve, sensor and other small accessories that have a direct association with the two end objects and are used to transmit control instructions or detect running data, they may not be associated with the corresponding non-fluid pipe network relationship line, thereby causing information loss of the logical relationship diagram in the non-pipe connection scene, and limiting the application integrity and business support capability of the logical relationship diagram in complex project scenarios. SUMMARY

[0005] The present application provides a small accessory display method, device, equipment and medium in a logical relationship diagram, which can display small accessories associated with two end objects on a non-pipe connection relationship line, solves the information loss problem that small accessories cannot be displayed on a non-pipe connection relationship line in the prior art, and thereby improves the practicality and business support capability of the logical relationship diagram in complex project scenarios.

[0006] According to an aspect of the present application, a small accessory display method in a logical relationship diagram is provided, comprising:

[0007] Determine a first object and a second object having a non-fluid pipe network relationship in a relationship diagram template, and obtain object configuration information, and configure the relationship diagram template using the object configuration information;

[0008] Obtain a small accessory search range between the first object and the second object, and configure the relationship diagram template using the small accessory search range;

[0009] According to the project information, the relationship diagram template is instantiated to generate a logical relationship diagram containing small accessories.

[0010] Optionally, the first object and the second object having a non-fluid pipe network relationship are determined in the relationship graph template, and object configuration information is obtained, and the relationship graph template is configured by using the object configuration information, including:

[0011] According to the pre-established knowledge graph, the connection relationship between two objects is identified in the relationship graph template, and the first object and the second object having a non-fluid pipe network relationship are determined according to the identification result;

[0012] The association relationship between the first object and the second object is established, and the specific relationship type and the relationship association degree are configured in the relationship graph template;

[0013] Anchors are selected in the first object and the second object respectively, and anchor information is configured in the relationship graph template.

[0014] Optionally, the association relationship between the first object and the second object is established, and the specific relationship type and the relationship association degree are configured in the relationship graph template, including:

[0015] According to the pre-established knowledge graph, the specific relationship type between the first object and the second object is determined, and the device types of the first object and the second object are obtained according to the relationship graph template;

[0016] According to the device types of the first object and the second object and the specific relationship type, the relationship association degree of the first object and the second object is determined, and the relationship graph template is configured according to the specific relationship type and the relationship association degree.

[0017] Optionally, anchors are selected in the first object and the second object respectively, and anchor information is configured in the relationship graph template, including:

[0018] According to the relative position relationship of the first object and the second object, anchors are selected in the first object and the second object respectively;

[0019] According to the device types of the first object and the second object, a connecting device for connecting the first object and the second object is determined, and the types of the anchors are determined, and the relationship graph template is configured by using the types of the anchors and the connecting device.

[0020] Optionally, the small accessory search range between the first object and the second object is obtained, and the relationship graph template is configured by using the small accessory search range, including:

[0021] Small accessory relationship chains are established based on the first object and the second object respectively, and the relationship types and search directions of the to-be-displayed small accessories with the first object and the second object are obtained, and one-level configuration is performed in the small accessory relationship chain according to the relationship types and the search directions;

[0022] Obtain device space relations of the to-be-displayed small accessories with the first object and the second object respectively, and perform secondary configuration in the small accessory relation chain according to the device space relations.

[0023] Optionally, according to the project information, the relation graph template is instantiated to generate a logical relation graph containing the small accessories, including:

[0024] According to the project information and the small accessory search range configured in the relation graph template, the target small accessory to be displayed is determined.

[0025] According to the project information and the target small accessory, the relation graph template is instantiated to generate a logical relation graph containing the small accessories.

[0026] Optionally, after the target small accessory to be displayed is determined according to the project information and the small accessory search range configured in the relation graph template, the method further includes:

[0027] According to the type and quantity of the target small accessory and the relation graph template, it is judged whether the display space of the target small accessory is sufficient.

[0028] If yes, the target small accessory is set as uniform distribution in the relation graph template.

[0029] If no, the target small accessory is set as an aggregated form in the relation graph template, so as to perform aggregated display on each target small accessory in the logical relation graph.

[0030] According to another aspect of the present application, a small accessory display device in a logical relation graph is provided, including:

[0031] An object configuration information configuration module is configured to determine a first object and a second object having a non-fluid pipe network relation in a relation graph template, and obtain object configuration information, and configure the relation graph template by using the object configuration information.

[0032] A search range configuration module is configured to obtain a small accessory search range between the first object and the second object, and configure the relation graph template by using the small accessory search range.

[0033] An instantiation module is configured to instantiate the relation graph template according to project information, to generate a logical relation graph containing small accessories.

[0034] According to another aspect of the present application, an electronic device is provided, including:

[0035] At least one processor; and

[0036] A memory connected in communication with the at least one processor; wherein,

[0037] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the small accessory display method in the logical relationship diagram according to any one of the embodiments of the application.

[0038] According to another aspect of the application, a computer readable storage medium is provided, which stores computer instructions for enabling a processor to implement the small accessory display method in the logical relationship diagram according to any one of the embodiments of the application when executed by the processor.

[0039] The technical solution of the embodiments of the application can determine a first object and a second object having a non-fluid pipe network relationship in a relationship diagram template, obtain object configuration information, configure the relationship diagram template by using the object configuration information, obtain a small accessory search range between the first object and the second object, and configure the relationship diagram template by using the small accessory search range. In this way, the relationship diagram template can be instantiated according to project information to generate a logical relationship diagram containing a small accessory, so that the small accessory associated with two end objects can be displayed on a non-pipe connection relationship connection line. The information missing problem that the small accessory cannot be displayed on the non-pipe connection relationship connection line in the prior art is solved, and the practicality and business support capability of the logical relationship diagram in a complex project scenario are improved.

[0040] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the application, nor is it used to limit the scope of the application. Other features of the application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the application, the drawings needed in the embodiment description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0042] Figure 1 is a flowchart of a small accessory display method in a logical relationship diagram according to an embodiment of the application;

[0043] Figure 2 is an object schematic diagram in a relationship diagram template according to an embodiment of the application;

[0044] Figure 3 is an anchor point selection schematic diagram according to an embodiment of the application;

[0045] Figure 4is a flow chart of a small accessory display method in a logical relationship diagram according to Embodiment Two of the present application;

[0046] Figure 5 is a structural schematic diagram of a small accessory display device in a logical relationship diagram according to Embodiment Three of the present application;

[0047] Figure 6 is a structural schematic diagram of an electronic device implementing a small accessory display method in a logical relationship diagram according to the present application. DETAILED DESCRIPTION

[0048] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should fall within the scope of protection of the present application.

[0049] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to only those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to the process, method, product, or device.

[0050] Embodiment One

[0051] Figure 1 A flow chart of a small accessory display method in a logical relationship diagram according to Embodiment One of the present application, the present embodiment can be applicable to the case of displaying small accessories associated with two end objects on a non-pipeline connection relationship line, the method can be executed by a small accessory display device in a logical relationship diagram, which can be realized in the form of hardware and / or software, and can generally be configured in a computer or processor with image and data processing functions. As shown in the figure, the method comprises: Figure 1

[0052] S110, determining a first object and a second object having a non-fluid pipe network relationship in a relationship diagram template, and obtaining object configuration information, and configuring the relationship diagram template using the object configuration information.​

[0053] The first object and the second object having the non-fluid pipe network relationship are determined in the relationship graph template, and object configuration information is obtained, and the relationship graph template is configured by using the object configuration information, which can include:

[0054] According to the pre-established knowledge graph, the connection relationship between two objects is identified in the relationship graph template, and the first object and the second object having the non-fluid pipe network relationship are determined according to the identification result;

[0055] The association relationship between the first object and the second object is established, and the specific relationship type and the relationship association degree are configured in the relationship graph template;

[0056] Anchors are selected in the first object and the second object, and anchor information is configured in the relationship graph template.

[0057] Optionally, the relationship graph template can refer to a pre-defined, reusable logical relationship graph framework, which includes objects, pre-set layouts, legend rules and associated logic.

[0058] Optionally, the object can refer to an independent unit having a specific attribute or function in the relationship graph template or the logical relationship graph, which is a basic subject for building a relationship connection, for example, a water distributor and an air conditioning terminal system in an air conditioning system project, which can be used as an associated carrier of a small accessory. The small accessory needs to be mounted on the relationship connection by relying on the anchor of the object.

[0059] Figure 2 It is a schematic diagram of an object in an optional relationship graph template. As shown in Figure 2 The rectangles for representing the water distributor and the air conditioning terminal system can be regarded as an object in the relationship graph template, respectively. This is only an exemplary illustration and does not limit the specific form of the object in the relationship graph template.

[0060] Optionally, the non-fluid pipe network relationship can refer to the association between objects that do not depend on actual pipe connections, including but not limited to service relationship, measurement relationship, mechanical and electrical subordination relationship, etc., which is different from the traditional fluid pipe network connection relationship such as cold and hot water supply pipes.

[0061] Optionally, the knowledge graph can refer to a pre-constructed structured database, and the mapping rules between the object types and the relationship types can be pre-set in the knowledge graph, for example, the water distributor and the air conditioning terminal system often form a mechanical and electrical subordination relationship. By using the knowledge graph, all objects in the relationship graph template can be automatically scanned to identify the first object and the second object having the non-fluid pipe network relationship. However, in one relationship graph template, it is not limited to only one set of first object and second object having the non-fluid pipe network relationship. The first object and the second object can refer to any set of objects having the non-fluid pipe network relationship in the relationship graph template.

[0062] Optionally, the object configuration information can include a specific relationship type between the first object and the second object, a relationship correlation degree, and anchor point information.

[0063] Optionally, the specific relationship type can refer to a specific type of non-fluid pipe network relationship between the first object and the second object, and can include an electromechanical subordinate relationship, a service relationship, a measurement relationship, etc. The relationship correlation degree can refer to quantitative information measuring the closeness of the association between the first object and the second object, and can include a direct relationship, an indirect relationship, and a dependent relationship.

[0064] Optionally, the anchor point can refer to a connection point of the object in the logical relationship diagram, and the anchor point information can include a position, an anchor point type, and whether to allow mounting of a small accessory. If configured to allow mounting of a small accessory, the anchor point information can further include a connecting device for connecting the first object and the second object, such as a cold and hot water supply pipe, a chilled water supply pipe, etc., which aims to provide a connection line between the first object and the second object in the logical relationship diagram that supports mounting of a small accessory.

[0065] Figure 3 An optional anchor point selection diagram is shown. As shown in Figure 3 , the object of the device type is a water distributor, and multiple optional anchor points are included on the object. R3 is the currently selected anchor point on the object, which is only exemplary and does not limit the specific position of the anchor point.

[0066] S120, obtaining a small accessory search range between the first object and the second object, and configuring the relationship diagram template using the small accessory search range.

[0067] The obtaining of the small accessory search range between the first object and the second object, and the configuration of the relationship diagram template using the small accessory search range can include:

[0068] Based on the first object and the second object, a small accessory relationship chain is established, and the relationship type and the search direction of the to-be-displayed small accessory with respect to the first object and the second object are obtained. According to the relationship type and the search direction, a first-level configuration is performed in the small accessory relationship chain;

[0069] The device space relationship of the to-be-displayed small accessory with respect to the first object and the second object is obtained, and a second-level configuration is performed in the small accessory relationship chain according to the device space relationship.

[0070] Optionally, the small accessory can refer to an auxiliary component associated with two end objects in the logical relationship diagram, such as a valve, a sensor, etc. The to-be-displayed small accessory can refer to a small accessory to be displayed between the first object and the second object in the logical relationship diagram. The small accessory relationship chain can refer to an association path between the small accessory and the first object and the second object, which is used to clearly define the logical connection between the small accessory and the two end objects.

[0071] Optionally, by configuring the relationship type between the to-be-displayed small accessory and the first object and the second object, it can be used to indicate how to find the small accessory in the actual project, for example, the relationship type between the small accessory and the first object can be configured as air conditioning chilled water supply, and when the small accessory is actually found, the small accessory with air conditioning chilled water supply relationship with the first object is found.

[0072] Optionally, the search direction can be used to indicate which direction to search for the small accessory from the first object or the second object, and the search direction can include left, right, and left and right search.

[0073] Optionally, the device space relationship can refer to the association of the small accessory and the first object or the second object in the physical space, for example, whether the small accessory and the object are located in the same property partition, the same floor, etc. Space range, through secondary configuration, the association of the small accessory and the object in the physical space can be ensured.

[0074] S130, instantiating the relationship diagram template according to the project information to generate a logical relationship diagram containing the small accessory.

[0075] Among them, according to the project information, the relationship diagram template is instantiated to generate a logical relationship diagram containing the small accessory, which can include:

[0076] According to the project information and the small accessory search range configured in the relationship diagram template, determine the target small accessory to be displayed;

[0077] According to the project information and the target small accessory, the relationship diagram template is instantiated to generate a logical relationship diagram containing the small accessory.

[0078] Optionally, the project information can refer to the actual data set of the project site, and the instantiation of the relationship diagram template can refer to the process of replacing the abstract elements in the matched relationship diagram template with specific device instances in the project, and supplementing device attributes, connection relationships and other details according to the template rules, and finally generating a specific logical relationship diagram that conforms to the actual scene of the project.

[0079] Optionally, the target small accessory can refer to the specific small accessory that meets the small accessory search range screened from the project information.

[0080] The technical scheme of the embodiment of the present application determines the first object and the second object with non-fluid pipe network relationship in the relationship graph template, acquires object configuration information, configures the relationship graph template by using the object configuration information, acquires the small accessory search range between the first object and the second object, configures the relationship graph template by using the small accessory search range, and instantiates the relationship graph template according to project information to generate a logical relationship graph containing a small accessory, so that the small accessory associated with the two-end object can be displayed on the non-pipe connection relationship connection line, and the information missing problem that the small accessory cannot be displayed on the non-pipe connection relationship connection line in the prior art is solved, thereby improving the practicality and business support capability of the logical relationship graph in a complex project scenario.

[0081] Embodiment two

[0082] Figure 4 A flowchart of a small accessory display method in a logical relationship graph provided by the second embodiment of the present application is provided, and the small accessory display method in the logical relationship graph is specifically described based on the above-mentioned embodiment. As shown in the figure, Figure 4 the method comprises:

[0083] S210, according to the pre-established knowledge graph, the connection relationship between two objects in the relationship graph template is recognized, and the first object and the second object with non-fluid pipe network relationship are determined according to the recognition result.

[0084] S220, the association relationship between the first object and the second object is established, and the specific relationship type and the relationship association degree in the relationship graph template are configured.

[0085] Among them, the association relationship between the first object and the second object is established, and the specific relationship type and the relationship association degree in the relationship graph template are configured, which can include:

[0086] According to the pre-established knowledge graph, the specific relationship type between the first object and the second object is determined, and the device type of the first object and the second object is acquired according to the relationship graph template;

[0087] According to the device type of the first object and the second object and the specific relationship type, the relationship association degree of the first object and the second object is determined, and the relationship graph template is configured according to the specific relationship type and the relationship association degree.

[0088] Optionally, the knowledge graph can be pre-constructed to include structured data of device types and relationship types. For example, a mechanical and electrical subordination relationship often exists between a water distributor and an air conditioner terminal system. In the prior art, the relationship type needs to be manually selected, and the identification of non-fluid pipe network relationships relies on manual judgment, which is low in efficiency and easy to miss. However, by scanning the first object and the second object in the relationship graph template, extracting the device types of the two objects, and then performing mapping rule matching, the efficiency and accuracy of object association can be effectively improved.

[0089] Optionally, a two-dimensional association degree calculation model based on device types and relationship types can be pre-established. After determining the device types and relationship types of the first object and the second object, the relationship association degree can be calculated based on the calculation. If the relationship type between the objects changes, the association degree is automatically updated according to the preset rules.

[0090] S230, selecting anchor points in the first object and the second object respectively, and configuring anchor point information in the relationship graph template.

[0091] Optionally, selecting anchor points in the first object and the second object respectively, and configuring anchor point information in the relationship graph template can include:

[0092] According to the relative position relationship between the first object and the second object, anchor points are selected in the first object and the second object respectively;

[0093] According to the device types of the first object and the second object, a connecting device for connecting the first object and the second object is determined, and the types of the anchor points are determined. The relationship graph template is configured using the types of the anchor points and the connecting device.

[0094] Optionally, the relative position relationship can refer to the spatial layout relationship of the first object and the second object in the logical relationship graph, such as left and right distribution, upper and lower levels, distance, etc. When the object position moves, the anchor points automatically recalculate the optimal position according to the change in the relative position.

[0095] It can be understood that in the prior art, anchor points need to be manually selected on objects. When the object position is adjusted or the relative position changes, the anchor points may deviate from the connection path, resulting in misplacement of small accessories. However, through the above technical solution, the precise and intelligent configuration of anchor points under non-fluid pipe network relationships can be achieved.

[0096] Optionally, the connecting device needs to meet the basic connection logic of the device types to which the first object and the second object belong.

[0097] Optionally, the anchor point type can refer to the classification based on the position characteristics and functional authority of the anchor point, which can include static anchor points and dynamic anchor points.

[0098] S240, respectively establish a small accessory relationship chain based on the first object and the second object, and obtain the relationship type and the search direction of the to-be-displayed small accessory with the first object and the second object respectively, and perform one-level configuration in the small accessory relationship chain according to the relationship type and the search direction.

[0099] S250, obtain the device space relationship of the to-be-displayed small accessory with the first object and the second object respectively, and perform two-level configuration in the small accessory relationship chain according to the device space relationship.

[0100] S260, determine the target small accessory to be displayed according to the project information and the small accessory search range configured in the relationship graph template.

[0101] S270, instantiate the relationship graph template according to the project information and the target small accessory, to generate a logical relationship graph containing the small accessory.

[0102] After determining the target small accessory to be displayed according to the project information and the small accessory search range configured in the relationship graph template, the method can further include:

[0103] judging whether the display space of the target small accessory is sufficient according to the type, quantity and relationship graph template of the target small accessory;

[0104] If yes, the target small accessory is set as uniform distribution in the relationship graph template;

[0105] If no, the target small accessory is set as an aggregated form in the relationship graph template, so as to perform aggregated display of each target small accessory in the logical relationship graph.

[0106] Optionally, the display space of the target small accessory can refer to a physical space in the relationship graph template, which is available for placing the target small accessory on the relationship connection line between the first object and the second object, and the size of the physical space is determined by the connection line length, the anchor point spacing and the small accessory icon size.

[0107] Optionally, when the display space is sufficient, the target small accessory is arranged in an equal-interval manner on the relationship connection line, so as to ensure that each small accessory has an independent and non-overlapping position, and when the display space is insufficient, multiple target small accessories are combined into one aggregated icon, and the single small accessory can be viewed after clicking, so as to avoid overlapping and shielding caused by too many small accessories.

[0108] The technical scheme of the embodiment of the present application can determine the first object and the second object with the non-fluid pipe network relationship in the relationship graph template, acquire the object configuration information, configure the relationship graph template by using the object configuration information, acquire the small accessory search range between the first object and the second object, configure the relationship graph template by using the small accessory search range, and instantiate the relationship graph template according to the project information, in a manner of generating the logical relationship graph containing the small accessory, so that the small accessory associated with the two-end object can be displayed on the non-pipe connection relationship connection line, the information missing problem that the small accessory cannot be displayed on the non-pipe connection relationship connection line in the prior art is solved, and therefore the practicality and business support capability of the logical relationship graph in the complex project scenario are improved.

[0109] Embodiment three

[0110] Figure 5 A structural schematic diagram of a small accessory display device in a logical relationship graph provided by the third embodiment of the present application is shown in FIG. 3. Figure 5 As shown in the figure, the device comprises an object configuration information configuration module 310, a search range configuration module 320, and an instantiation module 330.

[0111] The object configuration information configuration module 310 is configured to determine the first object and the second object with the non-fluid pipe network relationship in the relationship graph template, acquire the object configuration information, and configure the relationship graph template by using the object configuration information.

[0112] The search range configuration module 320 is configured to acquire the small accessory search range between the first object and the second object, and configure the relationship graph template by using the small accessory search range.

[0113] The instantiation module 330 is configured to instantiate the relationship graph template according to the project information, to generate the logical relationship graph containing the small accessory.

[0114] The technical scheme of the embodiment of the present application can determine the first object and the second object with the non-fluid pipe network relationship in the relationship graph template, acquire the object configuration information, configure the relationship graph template by using the object configuration information, acquire the small accessory search range between the first object and the second object, configure the relationship graph template by using the small accessory search range, and instantiate the relationship graph template according to the project information, in a manner of generating the logical relationship graph containing the small accessory, so that the small accessory associated with the two-end object can be displayed on the non-pipe connection relationship connection line, the information missing problem that the small accessory cannot be displayed on the non-pipe connection relationship connection line in the prior art is solved, and therefore the practicality and business support capability of the logical relationship graph in the complex project scenario are improved.

[0115] On the basis of the above-mentioned embodiments, the object configuration information configuration module 310 can comprise:

[0116] An object recognition unit is configured to recognize the connection relationship between each pair of objects in the relationship graph template according to a pre-established knowledge graph, and determine the first object and the second object having a non-fluid pipe network relationship according to the recognition result;

[0117] An association relationship establishment unit is configured to establish the association relationship between the first object and the second object, and configure the specific relationship type and the relationship association degree in the relationship graph template;

[0118] An anchor information configuration unit is configured to select an anchor point in each of the first object and the second object, and configure anchor information in the relationship graph template.

[0119] On the basis of the above embodiments, the association relationship establishment unit can be specifically configured to:

[0120] According to the pre-established knowledge graph, the specific relationship type between the first object and the second object is determined, and the device type of the first object and the second object is obtained according to the relationship graph template;

[0121] According to the device type of the first object and the second object and the specific relationship type, the relationship association degree of the first object and the second object is determined, and the relationship graph template is configured according to the specific relationship type and the relationship association degree.

[0122] On the basis of the above embodiments, the anchor information configuration unit can be specifically configured to:

[0123] According to the relative position relationship between the first object and the second object, an anchor point is selected in each of the first object and the second object;

[0124] According to the device type of the first object and the second object, a connecting device for connecting the first object and the second object is determined, and the type of each anchor point is determined, and the relationship graph template is configured by using the type of the anchor point and the connecting device.

[0125] On the basis of the above embodiments, the search range configuration module 320 can be specifically configured to:

[0126] A small accessory relationship chain is established based on the first object and the second object respectively, and the relationship type and the search direction of the to-be-displayed small accessory with the first object and the second object are obtained, and a first-level configuration is performed in the small accessory relationship chain according to the relationship type and the search direction;

[0127] The device space relationship of the to-be-displayed small accessory with the first object and the second object is obtained, and a second-level configuration is performed in the small accessory relationship chain according to the device space relationship.

[0128] On the basis of the above embodiments, the instantiation module 330 can be specifically configured to:

[0129] According to the project information and the small attachment search range configured in the relationship diagram template, a target small attachment to be displayed is determined;

[0130] According to the project information and the target small attachment, the relationship diagram template is instantiated to generate a logical relationship diagram containing the small attachment.

[0131] On the basis of the above-mentioned embodiments, a display form setting module can be further included, configured to:

[0132] According to the type and quantity of the target small attachment and the relationship diagram template, it is judged whether the display space of the target small attachment is sufficient;

[0133] If yes, the target small attachment is set to be uniformly distributed in the relationship diagram template;

[0134] If no, the target small attachment is set to be in an aggregated form in the relationship diagram template, so as to aggregate and display each target small attachment in the logical relationship diagram.

[0135] The small attachment display device in the logical relationship diagram provided by the embodiments of the present application can execute the small attachment display method in the logical relationship diagram provided by any of the embodiments of the present application, and has the corresponding function modules and beneficial effects of the execution method.

[0136] Embodiment four

[0137] Figure 6 A structural schematic diagram of an electronic device 10 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present application described and / or claimed in this document.

[0138] As Figure 6As shown, the electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., connected in communication with the at least one processor 11, wherein the memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0139] Various components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc., an output unit 17, such as various types of displays, a loudspeaker, etc., a storage unit 18, such as a magnetic disk, an optical disk, etc., and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0140] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the small attachment display method in the logical relationship graph as described in embodiments of the present application. That is:

[0141] A first object and a second object having a non-fluid pipe network relationship are determined in a relationship graph template, and object configuration information is obtained, and the relationship graph template is configured using the object configuration information;

[0142] A small attachment search range between the first object and the second object is obtained, and the relationship graph template is configured using the small attachment search range;

[0143] According to the project information, the relationship graph template is instantiated to generate a logical relationship graph containing a small attachment.

[0144] In some embodiments, the small attachment presentation method in the logical relationship diagram can be implemented as a computer program tangibly embodied in a computer readable storage medium, e.g., storage unit 18. In some embodiments, parts or all of the computer program can be loaded and / or installed onto electronic device 10 via, e.g., ROM 12 and / or communication unit 19. When the computer program is loaded onto RAM 13 and executed by processor 11, one or more steps of the above-described small attachment presentation method in the logical relationship diagram can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the small attachment presentation method in the logical relationship diagram by way of other any suitable means, e.g., by way of firmware.

[0145] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0146] Computer programs used to implement the processes of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed, implements the functions / acts specified in the flowcharts and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package, partially on a machine and partially on a remote machine or entirely on a remote machine or server.

[0147] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0148] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device 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 a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, 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, speech, or tactile input.

[0149] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can 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), blockchain network, and the Internet.

[0150] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.

[0151] It should be understood that the various forms of flow shown above can be used to reorder, add or delete steps. For example, each step described in the present application can be executed in parallel, sequentially or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, which is not limited herein.

[0152] The above detailed description does not constitute a limitation on the scope of protection of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for displaying small attachments in a logical relationship diagram, characterized in that, The method comprises the following steps: Determine the first object and the second object with non-fluid pipe network relationship in the relationship graph template, and obtain the object configuration information, and configure the relationship graph template by using the object configuration information; Obtain the small accessory search range between the first object and the second object, and configure the relationship graph template by using the small accessory search range; According to the project information, the relationship graph template is instantiated to generate a logical relationship graph containing small accessories.

2. The method of claim 1, wherein, Determine the first object and the second object with non-fluid pipe network relationship in the relationship graph template, and obtain the object configuration information, and configure the relationship graph template by using the object configuration information, comprising: According to the pre-established knowledge graph, the connection relationship between two objects is identified in the relationship graph template, and the first object and the second object with non-fluid pipe network relationship are determined according to the identification result; Establish the association relationship between the first object and the second object, and configure the specific relationship type and the relationship association degree in the relationship graph template; Select the anchor point in the first object and the second object respectively, and configure the anchor point information in the relationship graph template.

3. The method of claim 2, wherein, Establish the association relationship between the first object and the second object, and configure the specific relationship type and the relationship association degree in the relationship graph template, comprising: According to the pre-established knowledge graph, the specific relationship type between the first object and the second object is determined, and the device type of the first object and the second object is obtained according to the relationship graph template; According to the device type of the first object and the second object and the specific relationship type, the relationship association degree of the first object and the second object is determined, and the relationship graph template is configured according to the specific relationship type and the relationship association degree.

4. The method of claim 2, wherein, Select the anchor point in the first object and the second object respectively, and configure the anchor point information in the relationship graph template, comprising: According to the relative position relationship of the first object and the second object, the anchor points in the first object and the second object are selected respectively; According to the device type of the first object and the second object, the connecting device for connecting the first object and the second object is determined, and the anchor point type is determined, and the relationship graph template is configured by using the anchor point type and the connecting device.

5. The method of claim 1, wherein, Obtain the small accessory search range between the first object and the second object, and configure the relationship graph template by using the small accessory search range, comprising: Based on the first object and the second object, a small accessory relationship chain is established, and the relationship type and the search direction of the to-be-displayed small accessory with the first object and the second object are obtained, and the first-level configuration is performed in the small accessory relationship chain according to the relationship type and the search direction; The device space relationship of the to-be-displayed small accessory with the first object and the second object is obtained, and the second-level configuration is performed in the small accessory relationship chain according to the device space relationship.

6. The method of claim 2, wherein, According to the project information, the relationship graph template is instantiated to generate a logical relationship graph containing small accessories, comprising: According to the project information and the small accessory search range configured in the relationship graph template, the target small accessory to be displayed is determined; According to the project information and the target small accessory, the relationship graph template is instantiated to generate a logical relationship graph containing small accessories.

7. The method of claim 6, wherein, After determining the target small accessory to be displayed according to the project information and the small accessory search range configured in the relationship graph template, further comprising: According to the type, quantity and relationship graph template of the target small accessory, it is judged whether the display space of the target small accessory is sufficient; If yes, the target small accessory is set as uniform distribution in the relationship graph template; If not, the target small accessory is set as an aggregated form in the relationship graph template to aggregate and display each target small accessory in the logical relationship graph.

8. A widget presentation device in a logical relationship diagram, characterized by It comprises: An object configuration information configuration module is configured to determine a first object and a second object having a non-fluid pipe network relationship in a relationship graph template, obtain object configuration information, and configure the relationship graph template using the object configuration information; A search range configuration module is configured to obtain a small accessory search range between the first object and the second object, and configure the relationship graph template using the small accessory search range; An instantiation module is configured to instantiate the relationship graph template according to project information to generate a logical relationship graph containing small accessories.

9. An electronic device, comprising: The electronic device comprises: At least one processor; and A memory connected in communication with the at least one processor; wherein The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the small accessory display method in the logical relationship graph according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for enabling the processor to execute the small accessory display method in the logical relationship graph according to any one of claims 1-7 when executed by the processor.