Topological relation graph generation method and device, equipment, medium and product

By converting the original drawing files of the indoor distribution system into vectorized information and topological information, and generating topological relationship diagrams, the problem that drawing data cannot participate in the calculation in the existing technology is solved, and the utilization rate of data is improved.

CN119442542APending Publication Date: 2025-02-14CHINA MOBILE GROUP DESIGN INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411422761.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In the prior art, the drawings of the indoor distribution system are stored in the form of picture files, which makes the data unable to participate in the calculation and leads to low data utilization.

Method used

By obtaining the original drawing files of the indoor distribution system of the target building, converting them into vectorized information, and determining the topological information based on this information, finally generating the topological relationship diagram.

Benefits of technology

The data in the form of pictures is converted into data that can participate in the calculation, enriching the expression type of drawing data, and improving the application scope and utilization rate of drawing data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119442542A_ABST
    Figure CN119442542A_ABST
Patent Text Reader

Abstract

The invention relates to a topological relation graph generation method and device, equipment, a medium and a product. The method comprises the steps of obtaining an original drawing file of an indoor distribution system of a target building; wherein the original drawing file comprises indoor distribution information of the target building and information of a feeder line, and the indoor distribution information comprises information of at least one of the following objects: information of a building structure and information of a passive device; determining vectorization information of each object in the target building based on the indoor distribution information; determining topological information of the target building based on the vectorization information and the information of the feeder line; wherein the topological information is used for indicating the connection relation between the feeder line and the passive device and the attribute of the feeder line; and determining a topological relation graph of the target building based on the vectorization information and the topological information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of IT application technology, and in particular to a method, device, equipment, medium and product for generating a topological relationship graph. Background Art

[0002] Indoor distributed antenna system (DAS) is a technology used to improve the mobile communication environment in buildings for indoor user groups. The drawings and passive components of the indoor distributed antenna system are important assets of communication operators. Communication operators need to consume a lot of manpower and cost every year to maintain the indoor distributed antenna system.

[0003] In the related art, drawings of indoor distribution systems are saved in the form of files and are often presented in the form of picture files such as JPG when applied to the system. Since data in the form of pictures cannot participate in data calculation, the utilization rate of drawing data of indoor distribution systems is low. Summary of the invention

[0004] The present disclosure provides a method, apparatus, device, medium and product for generating a topological relationship graph.

[0005] According to a first aspect of the present disclosure, a method for generating a topological relationship graph is provided, the method comprising:

[0006] Acquire an original drawing file of an indoor distribution system of a target building; wherein the original drawing file contains indoor distribution information and feeder information of the target building, and the indoor distribution information includes information of at least one of the following objects: building structure information, passive device information;

[0007] Determine vector information of each object in the target building based on the indoor distribution information;

[0008] Determine the topology information of the target building based on the vectorization information and the information of the feeder; wherein the topology information is used to indicate the connection relationship between the feeder and the passive device and the attribute of the feeder;

[0009] Based on the vectorized information and the topological information, a topological relationship diagram of the target building is determined.

[0010] Further, the determining the vectorized information of the target building based on the indoor distribution information includes:

[0011] Determine the vectorization information of the passive components in the target building based on the information of the passive components to obtain first vectorization information; wherein the first vectorization information is used to indicate the drawing information and attribute information of each passive component in the target building;

[0012] Based on the information of the building structure, vectorized information of the building structure in the target building is determined to obtain second vectorized information; wherein the second vectorized information is used to indicate drawing information and attribute information of each building structure in the target building.

[0013] Further, the determining the vectorized information of the building structure in the target building based on the information of the building structure to obtain the second vectorized information includes:

[0014] Determining the scale of the building structure based on the information of the building structure;

[0015] Based on the information of the building structure and the scale, second drawing information of the building structure is determined; wherein the second drawing information includes at least one of the following: coordinates, shape;

[0016] Matching the second drawing information with a pre-built building material database to obtain second attribute information of the target building;

[0017] The second drawing information and the second attribute information are determined as the second vectorization information.

[0018] Further, the determining the vectorization information of the passive device in the target building based on the information of the passive device to obtain the first vectorization information includes:

[0019] Determine first drawing information of the passive component based on the information of the passive component; wherein the first drawing information includes at least one of the following: coordinates, model;

[0020] Matching the first drawing information with a pre-built passive component database to obtain first attribute information of the target building;

[0021] The first drawing information and the first attribute information are determined as the first vectorization information.

[0022] Further, the determining the topology information of the target building based on the vectorization information and the feeder information includes:

[0023] Determine the connection relationship between the feeder and the passive device based on the information of the feeder and the first vector information; wherein the first vector information is the vector information of each passive device in the target building;

[0024] Based on the connection relationship and the vectorization information, attribute information of the feeder is matched in a pre-built feeder database to obtain third attribute information; wherein the third attribute information includes at least one of the following: type, length, thickness, and color of the feeder;

[0025] The connection relationship and the third attribute information are determined as the topology information.

[0026] Further, the determining the topological relationship diagram of the target building based on the vectorized information and the topological information includes:

[0027] The vectorization information and the topology information are processed by a deep learning model to obtain link information of the feeder in the target building; wherein the link information includes at least one of the following: a loss value of a signal reaching each passive component in the target building, a total length of the feeder of the target building, and an output power of each node of the feeder;

[0028] The link information, the vectorization information, and the topology information are integrated to obtain a topological relationship diagram of the target building.

[0029] Furthermore, after determining the topological relationship diagram of the target building based on the vectorized information and the topological information, the method further includes:

[0030] In response to a user's editing operation on the vectorized information and / or the topology information in the topology relationship graph, acquiring the user's editing information on the topology relationship graph;

[0031] The topological relationship graph is updated based on the editing information to obtain an updated topological relationship graph.

[0032] According to a second aspect of the present disclosure, a device for generating a topological relationship graph is provided, the device comprising:

[0033] A first acquisition module is used to acquire an original drawing file of an indoor distribution system of a target building; wherein the original drawing file contains indoor distribution information and feeder information of the target building, and the indoor distribution information includes information of at least one of the following objects: information of building structure and information of passive components;

[0034] A first determining module, configured to determine vectorized information of each object in the target building based on the indoor distribution information;

[0035] A second determination module, configured to determine topology information of the target building based on the vectorization information and the information of the feeder; wherein the topology information is used to indicate a connection relationship between the feeder and the passive device and a property of the feeder;

[0036] The third determining module is used to determine a topological relationship diagram of the target building based on the vectorized information and the topological information.

[0037] According to a third aspect of the present disclosure, an electronic device is provided, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the program, the method described above is implemented.

[0038] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the above method of the present disclosure is implemented.

[0039] According to a fifth aspect of the present disclosure, a computer program product is provided, which includes a computer program, and when the computer program is executed by a processor, the method of the present disclosure is implemented.

[0040] The embodiments of the present disclosure provide a method, device, equipment, medium and product for generating a topological relationship diagram. In the embodiments of the present application, first, an original drawing file of an indoor distribution system of a target building is obtained; wherein the original drawing file contains indoor distribution information and feeder information of the target building, and the indoor distribution information includes information of at least one of the following objects: information of the building structure, information of passive components; then, vectorization information of each object in the target building is determined based on the indoor distribution information; thereafter, topological information of the target building is determined based on the vectorization information and feeder information; wherein the topological information is used to indicate the connection relationship between the feeder and the passive components and the attributes of the feeder; finally, a topological relationship diagram of the target building is determined based on the vectorization information and the topological information.

[0041] It can be seen from the above description that in the embodiment of the present disclosure, by converting the original drawing file of the indoor distribution system of the target building into vector information of a digital structure, it is possible to convert the data in the form of a picture into data that can participate in related calculations. This processing method can enrich the data expression types of the original drawing file, thereby increasing the application scope of the drawing data and improving the utilization rate of the drawing data. At the same time, by determining the topological relationship diagram of the target building through the vector information and topological information of the indoor distribution system, it is possible to automatically process the original drawing file of the indoor distribution system into an electronic drawing, thereby further improving the utilization rate of the drawing data. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0043] Figure 1A flowchart of a method for generating a topological relationship graph provided by an exemplary embodiment of the present disclosure;

[0044] Figure 2 A flowchart of a method for generating a topological relationship graph provided by another exemplary embodiment of the present disclosure;

[0045] Figure 3 A flowchart of a method for generating a topological relationship graph provided by another exemplary embodiment of the present disclosure;

[0046] Figure 4 A flowchart of a method for generating a topological relationship graph provided by another exemplary embodiment of the present disclosure;

[0047] Figure 5 A schematic block diagram of functional modules of a device for generating a topological relationship diagram provided by an exemplary embodiment of the present disclosure;

[0048] Figure 6 A structural block diagram of an electronic device provided for an exemplary embodiment of the present disclosure;

[0049] Figure 7 A structural block diagram of a computer system provided for an exemplary embodiment of the present disclosure;

[0050] Figure 8 A structural block diagram of a computer program product provided for an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0051] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0052] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0053] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0054] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0055] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0056] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0057] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0058] As an optional but non-limiting implementation, in response to receiving an active request from the user, the method of sending a prompt message to the user may be, for example, a pop-up window, in which the prompt message may be presented in text. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device. It is understandable that the above notification and the process of obtaining user authorization are only illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0059] In one embodiment, Figure 1 As shown, a method for generating a topological relationship graph is provided, comprising the following steps:

[0060] Step 101, obtaining the original drawing file of the indoor distribution system of the target building.

[0061] Here, the original drawing file of the indoor distribution system of the target building can be obtained through an electronic device, wherein the original drawing file contains the indoor distribution information and feeder information of the target building, and the indoor distribution information includes information of at least one of the following objects: building structure information, passive device information.

[0062] In a possible embodiment, the electronic device obtains the original drawing file of the indoor distribution system of the target building, wherein the original drawing file contains the indoor distribution information and feeder information of the target building, and the indoor distribution information includes information of at least one of the following objects: information of the building structure, information of the passive device, and it should be noted that the original drawing file of the indoor distribution system can be in CAD, SVG format, or JPG, CAJ and other formats, and the format of the original drawing file of the indoor distribution system is not limited here. Among them, the number of building structures in the target building is at least one, and the number of passive devices in the target building is at least one.

[0063] Step 102: Determine vector information of each object in the target building based on the indoor distribution information.

[0064] Here, after obtaining the original drawing file of the indoor distribution system of the target building, the electronic device determines the vector information of each object in the target building based on the indoor distribution information. Specifically, the vector information of each building structure in the target building and the vector information of each passive device in the target building can be determined.

[0065] In a possible embodiment, determining the vectorized information of the target building based on the indoor distribution information includes the following steps:

[0066] Determine vector information of passive components in the target building based on the information of the passive components to obtain first vector information;

[0067] Based on the information of the building structure, vectorized information of the building structure in the target building is determined to obtain second vectorized information.

[0068] Specifically, after obtaining the original drawing file of the indoor distribution system of the target building, the electronic device can determine the vectorization information of the passive devices in the target building based on the information of the passive devices, and obtain the first vectorization information, wherein the first vectorization information is used to indicate the drawing information and attribute information of each passive device in the target building. Here, the drawing information can be the model and coordinates of each passive device in the target building, and the attribute information can be the name, fixed attenuation value, color, size, coordinate device serial number, floor to which it belongs, and other information of each passive device in the target building. It should be noted that the drawing information and attribute information of each passive device in the target building can also include other more information, which is not limited here, and is subject to what can be implemented.

[0069] In another possible embodiment, after acquiring the original drawing file of the indoor distribution system of the target building, the electronic device can determine the vectorized information of the building structure in the target building based on the information of the building structure to obtain the second vectorized information; wherein the second vectorized information is used to indicate the drawing information and attribute information of each building structure in the target building. Here, the drawing information can be the coordinates and shape of each building structure in the target building, and the attribute information can be the name, material, color, height and other information of each building structure in the target building. It should be noted that the drawing information and attribute information of each building structure in the target building can also include other more information, which is not limited here, and is subject to what can be implemented.

[0070] Step 103: determine the topology information of the target building based on the vectorization information and the feeder information.

[0071] Here, after the electronic device determines the vectorization information of each object in the target building based on the indoor distribution information, it can determine the topology information of the target building based on the vectorization information and the feeder information, wherein the topology information is used to indicate the connection relationship between the feeder and the passive device, and to indicate the properties of the feeder.

[0072] In a possible embodiment, the above steps of determining the topology information of the target building based on the vectorization information and the feeder information include the following steps:

[0073] Determine a connection relationship between the feeder and the passive device based on the feeder information and the first vectorization information;

[0074] Based on the connection relationship and the vectorized information, attribute information of the feeder is matched in a pre-built feeder database to obtain third attribute information;

[0075] The connection relationship and the third attribute information are determined as topology information.

[0076] Specifically, the electronic device can determine the vectorization information of the passive device in the target building based on the information of the passive device to obtain the first vectorization information; then, determine the vectorization information of the building structure in the target building based on the information of the building structure to obtain the second vectorization information; thereafter, the connection relationship between the feeder and the passive device can be determined based on the information of the feeder and the first vectorization information.

[0077] Here, exemplarily, the connection relationship may include a series connection relationship and a parallel connection relationship between passive devices. After determining the connection relationship between the feeder and the passive device, the attribute information of the feeder can be matched in a pre-built feeder database based on the connection relationship, the first vectorization information, and the second vectorization information to obtain the third attribute information, wherein the third attribute information includes at least one of the following: type, length, thickness, and color of the feeder. Finally, the electronic device can determine the connection relationship and the third attribute information as the topology information of the indoor distribution system of the target building.

[0078] It should be noted that, as the connection relationship, the first vectorization information and the second vectorization information are input, the feeder database will continuously perform machine learning and continuously improve its own database.

[0079] Step 104: Determine a topological relationship diagram of the target building based on the vectorized information and the topological information.

[0080] Here, after the electronic device determines the topology information of the target building based on the vectorization information and the feeder information, it can determine the topology relationship diagram of the target building based on the vectorization information and the topology information.

[0081] In a possible embodiment, determining a topological relationship diagram of a target building based on vector information and topological information includes the following steps:

[0082] The vectorization information and topology information are processed through the deep learning model to obtain the link information of the feeder in the target building;

[0083] The link information, vectorization information and topology information are integrated to obtain the topological relationship diagram of the target building.

[0084] Specifically, after the electronic device determines the topology information of the target building based on the vectorization information and the feeder information, it can process the vectorization information and the topology information through a deep learning model to obtain the link information of the feeder in the target building, wherein the link information includes at least one of the following: the loss value of the signal reaching each passive device in the target building, the total length of the feeder of the target building, and the output power of each node of the feeder.

[0085] In a possible embodiment, the topology information can be processed by a deep learning model to traverse all feeders, and then the length of each feeder is calculated, and then the link information of the feeders in the target building is obtained according to the length of each feeder.

[0086] In specific implementation, the electronic device can traverse all feeders based on the topology information, record the feeders as {L1, L2, ...Ln}, and calculate the length len of each feeder, and the calculation formula is as follows:

[0087]

[0088] Where i is the feeder index to be calculated, (xi1,yi1) and (xi1,yi1) are the coordinates of the two ends of the feeder, and the total length of the feeder of the target building can be obtained by adding the length of each feeder.

[0089] After calculating the length of each feeder, calculate the line loss value of the feeder. The calculation formula is as follows:

[0090]

[0091] Among them, i is the feeder index to be calculated, n is the total number of feeder lines, and P0 is the standardized feeder line loss value per 100 meters. The electronic equipment synchronously records and updates the total number of feeder lines and lengths. The third attribute information of the feeder in the topology information is used as a necessary condition for calculating the line loss to provide a calculation basis for the visualization of the output power of each node in the topology diagram. The electronic equipment presets the standardized insertion loss values ​​of different types of feeders per 100 meters, different types of power dividers, different types of couplers, different types of combiners, etc., calculates the output power of each node of the feeder, and finally calculates the output power value of each passive device and the loss value of the signal reaching each passive device.

[0092] In a possible embodiment, the electronic device processes the vectorization information and topology information through a deep learning model, and after obtaining the link information of the feeder in the target building, the link information, vectorization information, and topology information can be integrated. In specific implementation, the link information, vectorization information, and topology information can be integrated into one file to obtain a topological relationship diagram of the target building. The topological relationship diagram supports export in multiple data formats, such as JSON, CSV, EXCEL, and TXT. It should be noted that the exported topological relationship diagram can also be in other formats, which is not limited here.

[0093] In another possible embodiment, the electronic device integrates the link information, vectorization information, and topology information to obtain a topological relationship diagram of the target building, and can automatically calculate the loss value of the signal reaching each passive device and the feeder length and total length between the passive devices, so as to realize visualization of the output power of each node in the entire indoor distribution system link. At the same time, the electronic device can monitor the link status in real time through the topological relationship diagram, locate high-loss nodes in real time and generate alarm information. When the node output power meets the preset threshold, the electronic device notifies the user through alarm reminders, text message reminders, email reminders, etc.

[0094] The embodiments of the present disclosure provide a method, device, equipment, medium and product for generating a topological relationship diagram. In the embodiments of the present application, first, an original drawing file of an indoor distribution system of a target building is obtained; wherein the original drawing file contains indoor distribution information and feeder information of the target building, and the indoor distribution information includes information of at least one of the following objects: information of the building structure, information of passive components; then, vectorization information of each object in the target building is determined based on the indoor distribution information; thereafter, topological information of the target building is determined based on the vectorization information and feeder information; wherein the topological information is used to indicate the connection relationship between the feeder and the passive components and the attributes of the feeder; finally, a topological relationship diagram of the target building is determined based on the vectorization information and the topological information.

[0095] It can be seen from the above description that in the embodiment of the present disclosure, by converting the original drawing file of the indoor distribution system of the target building into vector information of a digital structure, it is possible to convert the data in the form of a picture into data that can participate in related calculations. This processing method can enrich the data expression types of the original drawing file, thereby increasing the application scope of the drawing data and improving the utilization rate of the drawing data. At the same time, by determining the topological relationship diagram of the target building through the vector information and topological information of the indoor distribution system, it is possible to automatically process the original drawing file of the indoor distribution system into an electronic drawing, thereby further improving the utilization rate of the drawing data.

[0096] In one embodiment, Figure 2 As shown, step 102 determines the vectorized information of each object in the target building based on the indoor distribution information, and further includes the following steps:

[0097] Step 201: determine the scale of the building structure based on the information of the building structure.

[0098] Here, after acquiring the indoor distribution information and feeder information of the original drawing file of the indoor distribution system of the target building, the electronic device determines the scale of the building structure based on the building structure information.

[0099] In a possible embodiment, after the electronic device obtains the original drawing file of the indoor distribution system of the target building with indoor distribution information and feeder information, the original drawing file contains the indoor distribution information and feeder information of the target building. First, the electronic device calibrates the original drawing file based on the indoor distribution information and feeder information, and arbitrarily selects a suitable line segment in the original drawing as a reference line segment, and its length is recorded as len c , and refer to len c The corresponding vector line segment is drawn by copying the feature quantity, and the length of the drawn vector line segment is len s , and then calculate the scale ratio_scale of the building structure. The calculation formula is as follows:

[0100] ratio_scale=len s / len c .

[0101] Step 202: Determine second drawing information of the building structure based on the information and scale of the building structure.

[0102] Here, after the electronic device determines the scale of the building structure based on the information of the building structure, it determines second drawing information of the building structure based on the information of the building structure and the scale, wherein the second drawing information includes at least one of the following: coordinates and shape.

[0103] In a possible embodiment, after the electronic device determines the scale of the building structure based on the information of the building structure, the electronic device sets the center origin (0,0) of the plane coordinate system as the coordinates of the left vertex of the vector line segment drawn and generated above, and inputs the indoor distribution information and scale of the target building into the deep learning model. The deep learning model can draw the building structure of the target building, that is, determine the second drawing information of the building structure, wherein the second drawing information includes at least the coordinates and shape of the building structure.

[0104] In another possible embodiment, the electronic device decomposes the structure of the target building into multiple building components based on the information of the building structure. Then, the electronic device determines the coordinates and shape of each building component according to the scale and the information of the building structure, and draws according to the coordinates and shape of each building component to determine the second drawing information after the building structure is vectorized.

[0105] Step 203: Match the second drawing information with a pre-built building material database to obtain second attribute information of the target building.

[0106] Here, after the electronic device determines the second drawing information of the building structure based on the information and scale of the building structure, it can match the second drawing information with a pre-constructed building material database to obtain the second attribute information of the target building.

[0107] In a possible embodiment, after the electronic device determines the second drawing information of the building structure based on the information and scale of the building structure, it can match the second drawing information with a pre-built building material database to obtain second attribute information of the target building, and the attribute information includes the name, material, color, height, etc. of each building structure in the target building.

[0108] It should be noted that, in the process of determining the second drawing information of the building structure based on the information and scale of the building structure, the electronic device can record the coordinates of the two end points of each line segment, the coordinates of the upper left vertex and the lower right vertex of each rectangle, the coordinates of the origin and the radius length of each circle, etc., and record and mark the attribute information of the above elements in the system, that is, the second attribute information of the target building. The system performs cluster analysis on the recorded and marked information, automatically archives it to establish an online database, and through continuous machine self-learning, forms a building material database with standardized elements.

[0109] Step 204: determine the second drawing information and the second attribute information as second vectorization information.

[0110] In a possible embodiment, the electronic device matches the second drawing information with a pre-built building material database to obtain second attribute information of the target building, and then determines the second attribute information and the second drawing information as second vectorized information.

[0111] In this embodiment, first, the electronic device determines the scale of the building structure based on the information of the building structure, then, based on the information and scale of the building structure, the electronic device determines the second drawing information of the building structure, and then, the electronic device matches the second drawing information with a pre-constructed building material database to obtain the second attribute information of the target building, and finally, the second drawing information and the second attribute information are determined as the second vectorized information. It can be seen from the above description that the second drawing information can be matched with a pre-constructed building material database to obtain the second attribute information of the target building, and the attribute information is the extended information of the building structure, including the name, material, color, height, etc. of the building structure, and the determination of the second attribute information further improves the utilization rate of the drawing data.

[0112] In one embodiment, Figure 3 As shown, step 102 determines the vectorized information of each object in the target building based on the indoor distribution information, and further includes the following steps:

[0113] Step 301: determine first drawing information of the passive component based on information of the passive component.

[0114] Here, after acquiring the information of the passive components of the target building, the electronic device may determine first drawing information of the passive components based on the information of the passive components, wherein the first drawing information includes at least one of the following: coordinates and model.

[0115] In a possible embodiment, after acquiring the information of the passive components of the target building, the electronic device identifies and automatically draws the passive components based on the information of the passive components, that is, determines the first drawing information of the passive components, wherein the first drawing information at least includes the coordinates and model of the passive components. The passive components may be RRUs, combiners, RFID gateways, couplers, power dividers, antennas, etc. It should be noted that the specific types of passive components are not limited.

[0116] Step 302: Match the first drawing information with a pre-built passive component database to obtain first attribute information of the target building.

[0117] Here, the electronic device determines the first drawing information of the passive device based on the information of the passive device, matches the first drawing information with a pre-built passive device database, and obtains the first attribute information of the target building. The first attribute information includes the name, fixed attenuation value, color, size, coordinate device serial number, and floor to which it belongs of each passive device.

[0118] In a possible embodiment, after the electronic device determines the first drawing information of the passive device based on the information of the passive device, the first drawing information is input into the passive device database for matching. The passive device database contains extended information of the passive device, that is, first attribute information. The first attribute information includes the name of each passive device, fixed attenuation value, color, size, coordinate device serial number, floor, etc. It should be noted that the passive device database will continuously perform machine self-learning according to the input first drawing information, and continuously supplement the extended information of the passive device contained in its own database.

[0119] Step 303: determine the first drawing information and the first attribute information as first vectorization information.

[0120] In a possible embodiment, after obtaining the first attribute information and the first drawing information of the target building, the electronic device determines the first drawing information and the first attribute information as the first vectorized information of the target building.

[0121] In this embodiment, first, the electronic device determines the first drawing information of the passive device based on the information of the passive device, then the electronic device matches the first drawing information with the pre-built passive device database to obtain the first attribute information of the target building, and finally, the electronic device determines the first drawing information and the first attribute information as the first vectorized information. It can be seen from the above description that by matching the first drawing information with the pre-built passive device database, the first attribute information of the target building can be obtained, and the first attribute information contains the extended information of the passive device, including the name, fixed attenuation value, color, size, coordinate device serial number, floor number and other information of each passive device, which further improves the utilization rate of the drawing data.

[0122] In one embodiment, a method for generating a topological relationship diagram is also provided. Figure 4 As shown, the following steps are included:

[0123] Step 401: in response to a user's editing operation on vectorized information and / or topological information in a topological relationship graph, obtaining the user's editing information on the topological relationship graph.

[0124] Here, after the electronic device determines the topological relationship diagram of the target building based on the vectorized information and the topological information, it obtains the user's editing information on the topological relationship diagram in response to the user's editing operation on the vectorized information and / or the topological information in the topological relationship diagram.

[0125] In a possible embodiment, after the electronic device determines the topological relationship diagram of the target building, the topological relationship diagram can be displayed to the user in the format of JSON, CSV, EXCEL, TXT, etc. At this time, the user can edit the vectorization information and topological information in the topological relationship diagram, and the electronic device will obtain the user's editing information on the topological relationship diagram.

[0126] Exemplarily, the user can edit the second drawing information in the second vectorized information in the topological relationship diagram, and the editing content may be to adjust the coordinates of the building structure. The user can also edit the first attribute information in the first vectorized information in the topological relationship diagram, and the editing content may be to adjust the name of the passive component. After the user completes the editing, the electronic device responds to the user's editing operation and obtains the user's editing information on the topological relationship diagram.

[0127] Step 402: Update the topological relationship graph based on the edit information to obtain an updated topological relationship graph.

[0128] In a possible embodiment, after obtaining the user's editing information on the topology relationship graph, the electronic device updates the topology relationship graph based on the editing information, correspondingly adjusts the vectorization information and topology information in the topology relationship graph, and generates an updated topology relationship graph.

[0129] In this embodiment, first, the electronic device responds to the user's editing operation on the vectorized information and the topological information in the topological relationship diagram, obtains the user's editing information on the topological relationship diagram, and then the electronic device updates the topological relationship diagram based on the editing information to obtain the updated topological relationship diagram. From the above description, it can be seen that the user can flexibly edit the topological relationship diagram. Compared with the traditional room division CAD drawings, the topological relationship diagram in this embodiment has the advantages of editability, visualization, and real-time performance, which not only improves the reusability of the drawing data, but also improves the diversity of the topological relationship diagram scene application.

[0130] In the case of dividing each functional module according to each function, an embodiment of the present disclosure provides a device for generating a topology relationship graph, and the device for generating the topology relationship graph may be a server or a chip applied to a server. Figure 5 A schematic block diagram of the functional modules of a device for generating a topological relationship diagram provided by an exemplary embodiment of the present disclosure. Figure 5 As shown, the generating device of the topological relationship diagram includes:

[0131] The first acquisition module 501 is used to acquire the original drawing file of the indoor distribution system of the target building; wherein the original drawing file contains the indoor distribution information and feeder information of the target building, and the indoor distribution information includes information of at least one of the following objects: building structure information, passive device information;

[0132] A first determining module 502, configured to determine vectorized information of each object in the target building based on the indoor distribution information;

[0133] A second determination module 503 is used to determine the topology information of the target building based on the vector information and the information of the feeder; wherein the topology information is used to indicate the connection relationship between the feeder and the passive device and the attribute of the feeder;

[0134] The third determining module 504 is configured to determine a topological relationship diagram of the target building based on the vectorized information and the topological information.

[0135] In one embodiment, the first determining module 502 includes:

[0136] A first determining unit, configured to determine the vectorization information of the passive components in the target building based on the information of the passive components, and obtain first vectorization information; wherein the first vectorization information is used to indicate the drawing information and attribute information of each passive component in the target building;

[0137] The second determining unit is used to determine the vectorized information of the building structure in the target building based on the information of the building structure to obtain second vectorized information; wherein the second vectorized information is used to indicate the drawing information and attribute information of each building structure in the target building.

[0138] In one embodiment, the first determining module 502 includes:

[0139] A third determining unit, configured to determine a scale of the building structure based on the information of the building structure;

[0140] A fourth determining unit is used to determine second drawing information of the building structure based on the information of the building structure and the scale; wherein the second drawing information includes at least one of the following: coordinates, shape;

[0141] A first matching unit, configured to match the second drawing information with a pre-built building material database to obtain second attribute information of the target building;

[0142] A fifth determining unit is configured to determine the second drawing information and the second attribute information as the second vectorization information.

[0143] In one embodiment, the first determining module 502 includes:

[0144] A sixth determining unit, configured to determine first drawing information of the passive component based on the information of the passive component; wherein the first drawing information includes at least one of the following: coordinates, model;

[0145] a second matching unit, configured to match the first drawing information with a pre-built passive component database to obtain first attribute information of the target building;

[0146] A seventh determining unit is configured to determine the first drawing information and the first attribute information as the first vectorization information.

[0147] In one embodiment, the second determining module 503 includes:

[0148] an eighth determining unit, configured to determine a connection relationship between the feeder and the passive device based on the information of the feeder and the first vector information; wherein the first vector information is vector information of each passive device in the target building;

[0149] A third matching unit is used to match the attribute information of the feeder in a pre-built feeder database based on the connection relationship and the vectorization information to obtain third attribute information; wherein the third attribute information includes at least one of the following: type, length, thickness, and color of the feeder;

[0150] A ninth determining unit is configured to determine the connection relationship and the third attribute information as the topology information.

[0151] In one embodiment, the third determining module 504 includes:

[0152] A first acquisition unit is used to process the vectorization information and the topology information through a deep learning model to obtain link information of the feeder in the target building; wherein the link information includes at least one of the following: a loss value of a signal reaching each passive component in the target building, a total length of the feeder of the target building, and an output power of each node of the feeder;

[0153] The second acquisition unit is used to merge the link information, the vectorization information, and the topology information to obtain a topological relationship diagram of the target building.

[0154] In one embodiment, the apparatus further comprises:

[0155] A second acquisition module, configured to acquire the editing information of the topology relationship diagram by the user in response to the editing operation of the vectorization information and / or the topology information in the topology relationship diagram by the user;

[0156] The third acquisition module is used to update the topological relationship diagram based on the editing information to obtain an updated topological relationship diagram.

[0157] An embodiment of the present disclosure also provides an electronic device, comprising: at least one processor; and a memory for storing instructions executable by the at least one processor; wherein the at least one processor is configured to execute the instructions to implement the above method disclosed in the embodiment of the present disclosure.

[0158] Figure 6 The structure diagram of an electronic device provided by an exemplary embodiment of the present disclosure is shown in FIG. Figure 6 As shown, the electronic device 600 includes at least one processor 601 and a memory 602 coupled to the processor 601 , and the processor 601 can execute corresponding steps in the above method disclosed in the embodiment of the present disclosure.

[0159] The processor 601 may also be referred to as a central processing unit (CPU), which may be an integrated circuit chip having signal processing capabilities. Each step in the method disclosed in the embodiment of the present disclosure may be completed by an integrated logic circuit of hardware in the processor 601 or by instructions in the form of software. The processor 601 may be a general-purpose processor, a digital signal processor (DSP), an ASIC, a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present disclosure may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a memory 602, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, or other mature storage media in the art. The processor 601 reads the information in the memory 602 and completes the steps of the method in combination with its hardware.

[0160] In addition, when various operations / processes according to the present disclosure are implemented by software and / or firmware, they can be transmitted from a storage medium or a network to a computer system having a dedicated hardware structure, such as Figure 7 The computer system 700 shown is installed with the programs constituting the software. When the various programs are installed, the computer system can perform various functions, including the functions described above. Figure 7 A structural block diagram of a computer system provided for an exemplary embodiment of the present disclosure.

[0161] Computer system 700 is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices 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 claimed herein.

[0162] like Figure 7As shown, the computer system 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the computer system 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0163] A plurality of components in the computer system 700 are connected to the I / O interface 705, including: an input unit 706, an output unit 707, a storage unit 708, and a communication unit 709. The input unit 706 may be any type of device capable of inputting information to the computer system 700, and the input unit 706 may receive input digital or character information, and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 707 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 708 may include, but is not limited to, a disk, an optical disk. The communication unit 709 allows the computer system 700 to exchange information / data with other devices over a network such as the Internet, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0164] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 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 (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above. For example, in some embodiments, the above methods disclosed in the embodiments of the present disclosure may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 600 via the ROM 702 and / or the communication unit 709. In some embodiments, the computing unit 701 may be configured to perform the above methods disclosed in the embodiments of the present disclosure in any other appropriate manner (e.g., by means of firmware).

[0165] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein when instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the above method disclosed in the embodiment of the present disclosure.

[0166] The computer-readable storage medium in the disclosed embodiments 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. The computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. More specifically, the computer-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.

[0167] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0168] Figure 8 A computer program product is provided for an exemplary embodiment of the present disclosure. The computer program product 800 includes a computer program 801. When the computer program 801 is executed by a processor, the method disclosed in the embodiment of the present disclosure is implemented.

[0169] In embodiments of the present disclosure, computer program codes for performing the operations of the present disclosure may be written in one or more programming languages ​​or combinations thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer.

[0170] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0171] The modules, components or units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the names of the modules, components or units do not, in some cases, limit the modules, components or units themselves.

[0172] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0173] The above descriptions are only some embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, a technical solution formed by replacing the above features with the technical features with similar functions disclosed in the present disclosure (but not limited to).

[0174] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. A method for generating a topological relationship graph, characterized in that: include: Acquire an original drawing file of an indoor distribution system of a target building; wherein the original drawing file contains indoor distribution information and feeder information of the target building, and the indoor distribution information includes information of at least one of the following objects: building structure information, passive device information; Determine vector information of each object in the target building based on the indoor distribution information; Determine the topology information of the target building based on the vectorization information and the information of the feeder; wherein the topology information is used to indicate the connection relationship between the feeder and the passive device and the attribute of the feeder; Based on the vectorized information and the topological information, a topological relationship diagram of the target building is determined.

2. The method according to claim 1, characterized in that The determining the vectorized information of the target building based on the indoor distribution information includes: Determine the vectorization information of the passive components in the target building based on the information of the passive components to obtain first vectorization information; wherein the first vectorization information is used to indicate the drawing information and attribute information of each passive component in the target building; Based on the information of the building structure, vectorized information of the building structure in the target building is determined to obtain second vectorized information; wherein the second vectorized information is used to indicate drawing information and attribute information of each building structure in the target building.

3. The method according to claim 2, characterized in that The determining the vectorized information of the building structure in the target building based on the information of the building structure to obtain second vectorized information includes: Determining the scale of the building structure based on the information of the building structure; Based on the information of the building structure and the scale, second drawing information of the building structure is determined; wherein the second drawing information includes at least one of the following: coordinates, shape; Matching the second drawing information with a pre-built building material database to obtain second attribute information of the target building; The second drawing information and the second attribute information are determined as the second vectorization information.

4. The method according to claim 2, characterized in that: The determining the vectorization information of the passive device in the target building based on the information of the passive device to obtain first vectorization information includes: Determine first drawing information of the passive component based on the information of the passive component; wherein the first drawing information includes at least one of the following: coordinates, model; Matching the first drawing information with a pre-built passive component database to obtain first attribute information of the target building; The first drawing information and the first attribute information are determined as the first vectorization information.

5. The method according to claim 1, characterized in that The determining the topology information of the target building based on the vectorization information and the feeder information includes: Determine the connection relationship between the feeder and the passive device based on the information of the feeder and the first vector information; wherein the first vector information is the vector information of each passive device in the target building; Based on the connection relationship and the vectorization information, attribute information of the feeder is matched in a pre-built feeder database to obtain third attribute information; wherein the third attribute information includes at least one of the following: type, length, thickness, and color of the feeder; The connection relationship and the third attribute information are determined as the topology information.

6. The method according to claim 1, characterized in that The determining the topological relationship diagram of the target building based on the vectorized information and the topological information includes: The vectorization information and the topology information are processed by a deep learning model to obtain link information of the feeder in the target building; wherein the link information includes at least one of the following: a loss value of a signal reaching each passive component in the target building, a total length of the feeder of the target building, and an output power of each node of the feeder; The link information, the vectorization information, and the topology information are integrated to obtain a topological relationship diagram of the target building.

7. The method according to claim 1, characterized in that After determining the topological relationship diagram of the target building based on the vectorized information and the topological information, the method further includes: In response to a user's editing operation on the vectorized information and / or the topology information in the topology relationship graph, acquiring the user's editing information on the topology relationship graph; The topological relationship graph is updated based on the editing information to obtain an updated topological relationship graph.

8. A device for generating a topological relationship diagram, characterized in that: include: A first acquisition module is used to acquire an original drawing file of an indoor distribution system of a target building; wherein the original drawing file contains indoor distribution information and feeder information of the target building, and the indoor distribution information includes information of at least one of the following objects: information of building structure and information of passive components; A first determining module, configured to determine vectorized information of each object in the target building based on the indoor distribution information; A second determination module, configured to determine topology information of the target building based on the vectorization information and the information of the feeder; wherein the topology information is used to indicate a connection relationship between the feeder and the passive device and a property of the feeder; The third determining module is used to determine a topological relationship diagram of the target building based on the vectorized information and the topological information.

9. An electronic device, characterized in that: include: at least one processor; a memory for storing the at least one processor-executable instruction; The at least one processor is configured to execute the instructions to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method as claimed in any one of claims 1 to 7.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.