A method, device, electronic device and storage medium for determining a 5G indoor distribution solution

By obtaining the building information of the target building, using Python plug-ins and image processing algorithms to quickly calculate the equipment and materials of the 5G room system, the problem of cumbersome and time-consuming design process in the existing technology is solved and construction efficiency is improved.

CN120018160BActive Publication Date: 2025-08-22GUOMAI TECHNOLOGIES INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510078710.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-08-22
Estimated Expiration
2045-01-17

AI Technical Summary

Technical Problem

The design process of the existing 5G room subsystem is cumbersome and takes a long time, and cannot meet the needs of rapid project establishment and emergency material preparation. A method of quickly calculating the equipment and materials of the 5G room subsystem is needed.

Method used

By obtaining the building information of the target building, including the floor plan, number of floors, floor height and number of elevators of each floor, the Python plug-in PyXLL and image processing algorithm are used to extract polygonal graphic blocks, calculate the equivalent area coefficient, combine the segmented threshold algorithm and array algorithm to automatically calculate the required number of antennas, devices, feeder length and feeder connectors, and quickly determine the 5G room division plan.

Benefits of technology

It has achieved rapid calculation of the equipment and materials required for 5G room subsystems, improved construction efficiency, and met the needs of rapid project establishment and emergency material preparation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120018160B_ABST
    Figure CN120018160B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, electronic device and storage medium for determining a 5G indoor distribution solution, and relates to the field of communication technology. The method includes: obtaining the building information of the target building, the building information includes: the floor plan of each floor, the number of floors, the floor height and the number of elevators; determining the material list corresponding to all floors according to the floor plan of each floor and the pre-established antenna coverage standard block and the number of standard antennas required for 5G indoor distribution antenna coverage; determining the material list corresponding to all elevators according to the number of floors, floor heights and the number of elevators; determining the material list corresponding to the signal source trunk line according to the number of floors and floor heights; accumulating the material lists corresponding to all floors, all elevators and signal source trunk lines to obtain the 5G indoor distribution solution of the target building. The present application can quickly calculate the equipment and materials required for the 5G indoor distribution solution based on the building information of the target building, thereby improving the construction efficiency of the 5G indoor distribution system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and specifically to a method, device, electronic device and storage medium for determining a 5G indoor distribution solution. Background Art

[0002] 5G networks are the fifth generation of mobile communications networks, with peak theoretical transmission speeds reaching tens of Gigabits per second, hundreds of times faster than 4G networks. As 5G networks are deployed, to meet emerging 5G service demands, indoor networks must deliver even higher performance: supporting user experience rates of 100Mbps to 1Gbps, millisecond-level end-to-end latency, high-precision indoor positioning, and more open applications.

[0003] Indoor is an important application scenario for 5G network coverage. In the 4G era, 70% of applications occurred indoors. In the 5G era, this figure will increase to 85%. The importance of 5G indoor distribution construction is even more prominent. The current traditional 5G indoor distribution system design requires the 5G indoor distribution antenna to be placed on the building plane according to the building structure and antenna coverage. Figure 1 Once the layout is complete, components and connections are configured based on the routing. The floor plan is then converted into a system diagram for link calculation, ultimately resulting in a design drawing. The design process is cumbersome and time-consuming. For projects requiring rapid project approval and urgent material preparation, work can only begin after the complete design is complete. Therefore, a method is needed to quickly calculate the equipment and materials list for a 5G indoor distributed system to address these issues. Summary of the Invention

[0004] The purpose of this application is to provide a method, device, electronic device and storage medium for determining a 5G indoor distribution solution, which can quickly calculate the equipment and materials required for the 5G indoor distribution solution of a building.

[0005] In a first aspect, an embodiment of the present application provides a method for determining a 5G indoor distribution solution, including:

[0006] Obtaining building information of a target building, the building information including: a floor plan of each floor, the number of floors, the floor height, and the number of elevators;

[0007] Determine the bill of materials for all floors based on the floor plan of each floor and the pre-established antenna coverage standard blocks and the standard number of antennas required for 5G indoor antenna coverage;

[0008] Determine the bill of materials for all elevators based on the number of floors, floor heights, and number of elevators;

[0009] Determine the material list corresponding to the signal source trunk line based on the number of floors and floor heights;

[0010] After accumulating the bill of materials corresponding to all floors, all elevators, and signal source trunk lines, the 5G indoor distribution solution for the target building is obtained;

[0011] The bill of materials includes the number of antennas, the number of components, the length of the feeder and the number of feeder connectors, and the number of components is the total number of two power splitters and couplers.

[0012] In one possible implementation, determining the bill of materials corresponding to all floors based on the floor plan of each floor and the pre-established antenna coverage standard block and the standard number of antennas required for 5G indoor antenna coverage includes:

[0013] For each floor plan, divide the floor plan into several polygonal blocks and output a list consisting of each block and its corresponding area.

[0014] Using a segmented threshold algorithm, the equivalent area coefficient of the graphic block and the antenna coverage standard block is calculated;

[0015] Calculating the number of 5G indoor antennas required to cover the graphic block based on the equivalent area coefficient and the standard number of antennas;

[0016] Based on the number of antennas on each floor, the antenna branching algorithm and coupler type array algorithm are used to calculate the number of devices, feeder length, and number of feeder connectors required for each floor.

[0017] In a possible implementation, for each floor plan, the floor plan is divided into a plurality of polygonal graphic blocks, and a list consisting of each graphic block and its corresponding area is output, including:

[0018] Use the Python add-in PyXLL to pre-embed Python code into Excel workbooks;

[0019] After inserting the floor plan into the EXCEL drawing frame, call the Python plug-in PyXLL to extract graphic blocks and calculate the area, and output a list consisting of each graphic block and its corresponding area.

[0020] In one possible implementation, the Python plug-in PyXLL is called to extract graphic blocks and calculate their areas, and a list of each graphic block and its corresponding area is output, including:

[0021] Read the floor plan and convert it into a grayscale image by calling the cv2.cavColor() function;

[0022] Call the cv2.Canny() function to perform edge detection on the grayscale image, and call the cv2.imshow() function to extract the edge information of the image to obtain the edge detection result;

[0023] According to the edge detection result, the cv2.findContours() function is called to extract the contour of the polygon;

[0024] Call the cv2.drawContours() function to sort the extracted contours in a counterclockwise or clockwise direction to ensure that a closed polygon, that is, a graphic block, is formed;

[0025] Using the Thiessen triangulation algorithm, call Voronoi() to split the polygon into a set of triangles;

[0026] For each triangle, convert the ridge_vertices attribute to a numpy array, call the np.linalg.norm() function to calculate the side length, and add up the side lengths of all triangles to get the side length of the entire polygon;

[0027] Call the np.zeros() function to create an all-zero array of the corresponding shape and data type of the polygon, call the contours[0] function to convert the side lengths of the triangle into contour point format to form a closed contour, and then call the contourArea() function to calculate the area of ​​the closed contour. The area of ​​the entire polygon is obtained by adding up the areas of all triangles.

[0028] Use the pandas library to output the list of extracted graphic blocks and corresponding areas to an Excel file.

[0029] In one possible implementation, calculating the number of 5G indoor antennas required to cover the graphic block based on the equivalent area coefficient and the standard number of antennas includes:

[0030] Calculating the number of 5G indoor antennas required to cover the graphic block based on a first formula according to the equivalent area coefficient and the standard number of antennas;

[0031] The first formula is: n=s / s0*x*T;

[0032] Where n represents the number of antennas, s represents the area of ​​the graphic block, s0 represents the area of ​​the standard block covered by the antenna, x represents the equivalent area coefficient, and T represents the number of standard antennas.

[0033] In one possible implementation, determining the bill of materials corresponding to all elevators based on the number of floors, floor heights, and number of elevators includes:

[0034] Calculating the number of antennas required to cover a single elevator based on the second formula according to the number of floors;

[0035] Based on the number of antennas and floor height of a single elevator, a coupler-type array algorithm is used to calculate the number of components, feeder length, and number of feeder connectors required for a single elevator.

[0036] The second formula is: n=(4-MOD(F, 4)+F) / 4;

[0037] Here, n represents the number of antennas, F represents the number of floors, and MOD(F, 4) represents the remainder obtained by dividing F by 4.

[0038] In one possible implementation, determining the bill of materials corresponding to the signal source trunk line based on the number of floors and the floor heights includes:

[0039] According to the number of floors, the number of components corresponding to the signal source trunk line is calculated using the antenna branch algorithm and the coupler type array algorithm;

[0040] According to the floor height and the number of components corresponding to the signal source trunk line, the feeder length and the number of feeder connectors corresponding to the signal source trunk line are calculated.

[0041] In a second aspect, an embodiment of the present application provides a device for determining a 5G indoor distribution solution, including:

[0042] An acquisition module is used to acquire building information of a target building, wherein the building information includes: a floor plan of each floor, the number of floors, the height of each floor, and the number of elevators;

[0043] A determination module is configured to determine a bill of materials corresponding to all floors based on the floor plan of each floor and a pre-established antenna coverage standard block and the number of standard antennas required for 5G indoor antenna coverage;

[0044] The determination module is further configured to determine a bill of materials corresponding to all elevators based on the number of floors, floor heights, and number of elevators;

[0045] The determining module is further configured to determine a bill of materials corresponding to the signal source trunk line based on the number of floors and the floor heights;

[0046] An accumulation module is used to accumulate the bill of materials corresponding to all floors, all elevators, and signal source trunk lines to obtain a 5G indoor distribution solution for the target building;

[0047] The bill of materials includes the number of antennas, the number of components, the length of the feeder and the number of feeder connectors, and the number of components is the total number of two power splitters and couplers.

[0048] In a third aspect, the present application provides an electronic device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the first aspect.

[0049] In a fourth aspect, the present application provides a computer-readable storage medium having computer-readable instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement the method as described in the first aspect.

[0050] Compared with the existing technology, the method for determining the 5G indoor distribution solution provided by this application obtains the architectural information of the target building, which includes: the floor plan of each floor, the number of floors, the floor height and the number of elevators; based on the floor plan of each floor and the pre-established antenna coverage standard block and the number of standard antennas required for 5G indoor distribution antenna coverage, the corresponding bill of materials for all floors are determined; based on the number of floors, floor heights and the number of elevators, the corresponding bill of materials for all elevators are determined; based on the number of floors and floor heights, the corresponding bill of materials for the signal source trunk line is determined; after accumulating the bill of materials corresponding to all floors, all elevators and the signal source trunk line, the 5G indoor distribution solution of the target building is obtained. Compared with the existing technology, this application can quickly calculate the equipment and materials required for the 5G indoor distribution solution based on the architectural information of the target building, thereby improving the construction efficiency of the 5G indoor distribution system. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present application. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:

[0052] Figure 1 A flowchart of a method for determining a 5G indoor distribution solution provided in an embodiment of the present application is shown;

[0053] Figure 2 The following is a flowchart of graphic block extraction and area calculation provided by an embodiment of the present application;

[0054] Figure 3 A schematic diagram of an extracted floor graphic block provided in an embodiment of the present application is shown;

[0055] Figure 4 A schematic diagram of a coverage calculation model for a standard antenna coverage block provided in an embodiment of the present application is shown;

[0056] Figure 5 It shows a schematic diagram of the routing of a single-layer antenna provided by an embodiment of the present application, where the number n is an even number;

[0057] Figure 6 It shows a routing diagram of a single-layer antenna provided by an embodiment of the present application where the number n is an odd number;

[0058] Figure 7 A schematic diagram of a single elevator route provided in an embodiment of the present application is shown;

[0059] Figure 8 A schematic diagram of the trunk line routing provided in an embodiment of the present application is shown;

[0060] Figure 9 A schematic diagram of a device for determining a 5G indoor distribution solution provided in an embodiment of the present application is shown;

[0061] Figure 10 A schematic diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0062] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary 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 limited by the embodiments described herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0063] It should be noted that, unless otherwise specified, the technical or scientific terms used in this application should have the common meanings understood by those skilled in the art to which this application belongs.

[0064] In addition, the terms "first" and "second" are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements, but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.

[0065] Please refer to Figure 1 , Figure 1 This is a flow chart of a method for determining a 5G indoor distribution solution provided in an embodiment of the present application, including the following steps S101 to S105:

[0066] S101. Acquire building information of a target building, wherein the building information includes: a floor plan of each floor, the number of floors, the floor height, and the number of elevators;

[0067] The target building is the one that needs to establish a 5G indoor distributed system. The goal of the 5G indoor distributed solution is to obtain the materials required for the 5G network to cover the entire building, such as antennas and router components that connect to the signal source base station.

[0068] S102. Determine a bill of materials corresponding to all floors based on the floor plan of each floor, the pre-established antenna coverage standard block, and the standard number of antennas required for 5G indoor antenna coverage;

[0069] Specifically, the bill of materials includes the number of antennas, the number of components, the length of the feeder and the number of feeder connectors, and the number of components is the total number of two power splitters and couplers.

[0070] Specifically, the above step S102 can be implemented as follows:

[0071] For each floor plan, divide the floor plan into several polygonal blocks and output a list consisting of each block and its corresponding area.

[0072] Each floor consists of multiple spaces separated by walls. The shapes of the spaces may be the same or different, and each space corresponds to a polygonal block. Specifically, you can use the Python plug-in PyXLL to pre-embed Python code into an Excel workbook. After inserting the floor plan into the Excel drawing frame, call the Python plug-in PyXLL to extract the blocks and calculate their areas, outputting a list of each block and its corresponding area.

[0073] Specifically, the process of calling the Python plug-in PyXLL to extract graphic blocks and calculate the area is as follows:

[0074] S1. Read the floor plan and convert it into a grayscale image by calling the cv2.cavColor() function.

[0075] S2. Call the cv2.Canny() function to perform edge detection on the grayscale image, and call the cv2.imshow() function to extract the edge information of the image to obtain the edge detection result;

[0076] S3. According to the edge detection result, call cv2.findContours() function to extract the outline of the polygon;

[0077] S4. Call the cv2.drawContours() function to sort the extracted contours in a counterclockwise or clockwise direction to ensure that a closed polygon is formed, that is, a polygonal graphic block;

[0078] S5. Using the Thiessen triangulation algorithm, calling Voronoi() to split the polygon into a set of triangles;

[0079] S6. For each triangle, convert the ridge_vertices attribute to a numpy array, call the np.linalg.norm() function to calculate the side length, and add up the side lengths of all triangles to get the side length of the entire polygon;

[0080] S7. Call the np.zeros() function to create an all-zero array of the corresponding shape and data type of the polygon, call the contours[0] function to convert the side lengths of the triangle into contour point format to form a closed contour, and then call the contourArea() function to calculate the area of ​​the closed contour. The area of ​​the entire polygon is obtained by summing the areas of all triangles.

[0081] S8. Use the pandas library to output the list of extracted graphic blocks and their corresponding areas to an Excel file.

[0082] For ease of understanding, this application provides Figure 2 The flowchart of graphic block extraction and area calculation is shown in the figure. For a single floor, the extracted graphic blocks are as follows Figure 3 As shown, graphic blocks 1 to 27 are obtained.

[0083] After obtaining the floor graphic block, a segmented threshold algorithm is used to calculate the equivalent area coefficient between the graphic block and the antenna coverage standard block. Based on the equivalent area coefficient and the standard number of antennas, the number of 5G indoor antennas required to cover the graphic block is calculated;

[0084] Specifically, the step of calculating the number of 5G indoor antennas required to cover the graphic block based on the equivalent area coefficient and the standard number of antennas includes:

[0085] Calculating the number of 5G indoor antennas required to cover the graphic block based on a first formula according to the equivalent area coefficient and the standard number of antennas;

[0086] The first formula is: n=s / s0*x*T;

[0087] Where n represents the number of antennas, s represents the area of ​​the graphic block, s0 represents the area of ​​the standard block covered by the antenna, x represents the equivalent area coefficient, and T represents the number of standard antennas.

[0088] The following introduces the calculation principle of the number of floor antennas.

[0089] (1) Antenna coverage standard block model

[0090] According to the universal characteristics of the 5G indoor distribution system coverage area, a standard office with a width of 4m and a depth of 8m (area s0 = 32m 2 ) is the antenna coverage standard block model. Taking the 5G network NR3.5G frequency calculation as an example, the antenna coverage standard block model establishment process is as follows:

[0091] Figure 4 Shown is the antenna coverage standard block coverage calculation model.

[0092] The distance between the antenna and the test point A is d = 12m, and the spatial propagation loss

[0093] PL(d0)=32.45+20log(d)+20log(f)+path loss attenuation factor*d+wall loss (single wall loss*number of walls)+human body loss

[0094] =32.45+20log(12 / 1000)+20log(3500)+0.5*12+2*12+1=95.91dBm.

[0095] Figure 4 The edge field strength EIRP (dBm) at point A = antenna port power + transmitting antenna gain - spatial propagation loss PL(d0) + receiving antenna gain = -12dBm + 3.5dBi - 95.91dBm + 0dBi = -104.41dBm > -105dBm.

[0096] After calculation, point A, which is the farthest from the antenna, meets the 5G network NR3.5G edge field strength requirements. Since NR3.5G is the highest frequency of the 5G indoor DAS system, according to the Friis transmission equation, when the distance from the antenna is constant, the higher the frequency, the greater the spatial loss. Therefore, 4 / 5G networks in other frequency bands can also meet the coverage requirements. Figure 4 As shown in the figure, a single 5G indoor antenna can cover 4 antenna coverage standard blocks s0, so the number of 5G indoor antennas corresponding to the single antenna coverage standard block is 0.25.

[0097] (2) Graphics block comparison algorithm

[0098] The area s of the graphic blocks extracted from the floor plan are compared with the area s0 of the antenna coverage standard block, and the number of antennas required to cover 5G for each graphic block extracted from the floor plan is automatically calculated.

[0099] Using the segmented threshold algorithm, the equivalent area coefficient between the graphic block extracted from the single floor plan and the antenna coverage standard block is recorded as x, and the calculation formula is x = x(s). The specific segmented threshold expression is as follows:

[0100]

[0101] The number of antennas for extracting graphic blocks in a single floor plan is n=s / s0*x*0.25.

[0102] The calculation process of segmentation threshold parameters:

[0103] The antenna covers a standard block, the spatial loss is PL(d) = 95.91dBm, and the number of walls penetrated by the signal is 2 brick walls.

[0104] 1) The change of the graphic block area s from 32 to 10 is mainly due to the random increase in the number of partition walls as the space becomes smaller, and the increase in space loss is 12dB (1 wall), that is, x = (PL(d0) + 12) / PL(d0) = (95.91 + 12) / 95.91 ≈ 1.1;

[0105] 2) The change of the graphic block area s from 10 to 0 is mainly due to the random increase in the number of partition walls as the space becomes smaller, and the increase in space loss is 48dB (4 walls), that is, x = (PL(d0) + 48) / PL(d0) = (95.91 + 48) / 95.91 ≈ 1.5;

[0106] 3) The change of the graphic block area s from 32 to 50 is mainly due to the random reduction of the number of partition walls as the space becomes larger, and the space loss reduction value is 12dB (1 wall), that is, x = (PL(d0)-12) / PL(d0) = (95.91-12) / 95.91≈0.9;

[0107] 4) The change of the graphic block area s from 50 to 100 is mainly due to the random reduction of the number of partition walls as the space becomes larger, and the space loss reduction value is 24dB (2 walls), that is, x = (PL(d0)-24) / PL(d0) = (95.91-24) / 95.91≈0.75;

[0108] 5) If the area of ​​the graphic block s>100, then the antenna is inside the graphic block, and the spatial loss reduction value is 48dB (4 walls), that is, x = (PL(d0)-48) / PL(d0) = (95.91-48) / 95.91≈0.5;

[0109] Number of antennas per floor: The number of antennas n in each graphic block is accumulated, and the accumulated number of antennas is rounded up to obtain the number of antennas per floor, as shown in Table 1 below.

[0110] Table 1

[0111]

[0112]

[0113] Based on the number of antennas on each floor, the antenna branching algorithm and coupler type array algorithm are used to calculate the number of devices, feeder length, and number of feeder connectors required for each floor.

[0114] Specifically, using the single-layer (i.e., single-floor) antenna number n calculated above, the process of calculating 5G indoor distributed components, feeder length, and feeder connectors is as follows:

[0115] (1) Device calculation

[0116] Using the branching algorithm, the single-layer routing direction is divided into two branches from the single-floor node of the weak current room. The first device of the single-floor node is a two-power splitter. When the number of single-layer antennas n is an even number, the number of antennas in branch 1 is n / 2, and the number of antennas in branch 2 is n / 2. For details, see Figure 5 The number of single-layer antennas n shown is an even number. When the number of single-layer antennas n is an odd number, the number of antennas in branch 1 is (n+1) / 2, and the number of antennas in branch 2 is (n-1) / 2. See Figure 6 The single-layer antenna number n shown is an odd-numbered trace routing.

[0117] Due to the requirement for antenna input power balance, the terminal device of a single branch is generally a two-way power splitter (which can connect to two antennas). Therefore, a single branch needs to be configured with a number of couplers m = n / 2-2. Next, an array algorithm is used to calculate the number of couplers. Commonly used 5dB, 7dB, 10dB, and 15dB coupler types are combined into an array a[4] = {5, 7, 10, 15}. The couplers are configured in ascending order according to their numerical values. The calculation process for branches 1 and 2 is the same.

[0118] ① When m <= 4

[0119] When m=1, 5dB=1, 7dB=0, 10dB=0, 15dB=0;

[0120] When m=2, 5dB=1, 7dB=1, 10dB=0, 15dB=0;

[0121] When m=3, 5dB=1, 7dB=1, 10dB=1, 15dB=0;

[0122] When m=4, 5dB=1, 7dB=1, 10dB=1, 15dB=1.

[0123] ② When m>4, m / 4 gives the quotient i and remainder j.

[0124] When j=1, 5dB=i+1, 7dB=i, 10dB=i, 15dB=i;

[0125] When j=2, 5dB=i+1, 7dB=i+1, 10dB=i, 15dB=i;

[0126] When j=3, 5dB=i+1, 7dB=i+1, 10dB=i+1, 15dB=i;

[0127] When j=0, 5dB=i, 7dB=i, 10dB=i, 15dB=i.

[0128] (2) Feeder calculation

[0129] According to the standard antenna coverage block model, antenna spacing is 8 to 10 meters. Therefore, the main routing of a single branch below the node's second power splitter is calculated based on a 10-meter component-antenna spacing. Specifically, the feeder length for branch L1 is calculated as (two power splitters + couplers) total number of components * 10 + (number of antennas - 1) * 1 (the antenna-to-component connection is 1 meter). The feeder length for branch L2 is calculated similarly to branch L1. The feeder length L3 connecting the node's second power splitter is calculated based on the port number: L3 = port 1 * 10 + port 2 * 10 + port 3 * 1. Therefore, the feeder length per floor, L, is calculated as branch L1 + branch L2 + node L3.

[0130] (3) Feeder connector calculation

[0131] The number of feeder connectors can be calculated by simply calculating the number of feeder lines * 2. The number of branch feeder lines = the number of devices + the number of antennas - 1. The number of node feeder lines = the number of power splitter ports (3).

[0132] (5) Material calculation

[0133] The number of antennas, feeder length, number of components, and feeder connectors on each floor are accumulated.

[0134] S103. Determine a bill of materials corresponding to all elevators based on the number of floors, floor heights, and number of elevators;

[0135] Specifically, the above step S103 includes:

[0136] Calculating the number of antennas required to cover a single elevator based on the second formula according to the number of floors;

[0137] Based on the number of antennas and floor height of a single elevator, a coupler-type array algorithm is used to calculate the number of components, feeder length, and number of feeder connectors required for a single elevator.

[0138] The second formula is: n=(4-MOD(F, 4)+F) / 4;

[0139] Here, n represents the number of antennas, F represents the number of floors, and MOD(F, 4) represents the remainder obtained by dividing F by 4.

[0140] The calculation process of the bill of materials corresponding to the elevator is as follows:

[0141] (1) Calculation of the number of antennas

[0142] Conventional elevator antenna design generally places antennas from the top of the elevator car every 3 to 4 floors, and no antenna is installed at the end of the first floor. Therefore, the elevator antenna algorithm is as follows: the total number of floors F, the number of antennas n = (4-MOD(F,4)+F) / 4, see Figure 7 The single elevator routing diagram is shown.

[0143] (2) Calculation of the number of devices

[0144] According to the requirement of antenna input power balance, the terminal device is generally a two-power splitter (can connect to two antennas), so the number of couplers required is m = n-2. Next, an array algorithm is used to calculate the number of couplers. The commonly used 5dB, 7dB, 10dB, and 15dB coupler types are combined into an array a[4] = {5, 7, 10, 15} and configured in order from low to high coupler values.

[0145] ① When m <= 4

[0146] When m=1, 5dB=1, 7dB=0, 10dB=0, 15dB=0;

[0147] When m=2, 5dB=1, 7dB=1, 10dB=0, 15dB=0;

[0148] When m=3, 5dB=1, 7dB=1, 10dB=1, 15dB=0;

[0149] When m=4, 5dB=1, 7dB=1, 10dB=1, 15dB=1.

[0150] ② When m>4, m / 4 gives the quotient i and remainder j.

[0151] When j=1, 5dB=i+1, 7dB=i, 10dB=i, 15dB=i;

[0152] When j=2, 5dB=i+1, 7dB=i+1, 10dB=i, 15dB=i;

[0153] When j=3, 5dB=i+1, 7dB=i+1, 10dB=i+1, 15dB=i;

[0154] When j=0, 5dB=i, 7dB=i, 10dB=i, 15dB=i.

[0155] (3) Feeder length calculation

[0156] Assuming there is one antenna on the 3rd to 4th floor and the floor height is about 4 meters, the antenna spacing is 16 meters. Therefore, the line is calculated based on a 16-meter spacing between the device and the antenna. Specifically, the feeder length = two power splitters + total number of coupler devices * 16 + (number of antennas - 1) * 1 (the connection between the antenna and the device is 1 meter).

[0157] (4) Calculation of the number of feeder connectors

[0158] The number of feeder connectors can be calculated by simply multiplying the number of feeder bars by 2. The number of feeder bars = the number of components + the number of antennas - 1.

[0159] S104. Determine a bill of materials corresponding to the signal source trunk line based on the number of floors and floor heights;

[0160] Specifically, the above step S104 includes:

[0161] According to the number of floors, the number of components corresponding to the signal source trunk line is calculated using the antenna branch algorithm and the coupler type array algorithm;

[0162] According to the floor height and the number of components corresponding to the signal source trunk line, the feeder length and the number of feeder connectors corresponding to the signal source trunk line are calculated.

[0163] The calculation process of the bill of materials corresponding to the signal source trunk line is as follows:

[0164] (1) Calculation of the number of devices

[0165] Using a branching algorithm, the signal source base station equipment is generally located in the middle of a building. The trunk line is divided into two main branches from the signal source main node. The first device of the signal source main node is a two-power splitter. When the number of floors F is an even number, the number of floors connected to the main branch 1 is F / 2, and the number of floors connected to the main branch 2 is F / 2. When the number of floors F is an odd number, the number of floors connected to the main branch 1 is (F+1) / 2, and the number of floors connected to the main branch 2 is (F-1) / 2.

[0166] According to the requirements of power balance, the terminal device of a single trunk branch is generally a two-power splitter (which can connect to two floors). Therefore, a single trunk branch needs to be configured with the number of couplers m = F / 2-2. Next, an array algorithm is used to calculate the number of couplers. The commonly used 5dB, 7dB, 10dB, and 15dB coupler types are combined into an array a[4] = {5, 7, 10, 15}. The couplers are configured in order from low to high. The calculation process for trunk branches 1 and 2 is the same. See for details. Figure 8 The main line routing diagram is shown.

[0167] ① When m <= 4

[0168] When m=1, 5dB=1, 7dB=0, 10dB=0, 15dB=0;

[0169] When m=2, 5dB=1, 7dB=1, 10dB=0, 15dB=0;

[0170] When m=3, 5dB=1, 7dB=1, 10dB=1, 15dB=0;

[0171] When m=4, 5dB=1, 7dB=1, 10dB=1, 15dB=1.

[0172] ② When m>4, m / 4 gives the quotient i and remainder j.

[0173] When j=1, 5dB=i+1, 7dB=i, 10dB=i, 15dB=i;

[0174] When j=2, 5dB=i+1, 7dB=i+1, 10dB=i, 15dB=i;

[0175] When j=3, 5dB=i+1, 7dB=i+1, 10dB=i+1, 15dB=i;

[0176] When j=0, 5dB=i, 7dB=i, 10dB=i, 15dB=i.

[0177] (2) Feeder length calculation

[0178] The floor-to-floor spacing is approximately 4 meters. Therefore, the routing of a single trunk branch below the signal source's main node, the two power splitters, is calculated based on a 4-meter component spacing. Specifically, the feeder length for trunk branch L1 is calculated as (number of two power splitters + number of couplers + number of floors - 1) * 4. The feeder length for trunk branch L2 is calculated similarly to trunk branch L1. The feeder length L3 connecting the node's two power splitters is calculated based on the number of ports: L3 = port 1 * 4 + port 2 * 4 + port 3 * 4. Therefore, the feeder length per floor, L, is calculated as trunk branch L1 + trunk branch L2 + signal source main node L3.

[0179] (3) Calculation of the number of feeder connectors

[0180] The number of feeder connectors can be calculated by simply multiplying the number of feeder lines by 2. The number of branch feeder lines = the number of devices + the number of floors - 1. The number of node feeder lines = the number of power splitter ports (3).

[0181] S105. After accumulating the bill of materials corresponding to all floors, all elevators and signal source trunk lines, the 5G indoor distribution solution of the target building is obtained.

[0182] By calculating the number of antennas, devices, feeder lengths, and feeder connectors, and adding up the material quantities for each floor, elevator, and trunk line, you can quickly calculate the equipment and materials required for the 5G indoor distribution solution.

[0183] The method for determining a 5G indoor distribution solution provided in the embodiments of the present application can realize rapid calculation of the 5G indoor distribution solution. It mainly extracts a plan view into several polygonal graphic blocks, compares them with the antenna coverage standard block model to calculate the corresponding equivalent area coefficient, and then automatically calculates the data of single-layer antennas, devices, feeders, etc., and then automatically calculates the corresponding antenna, device, feeder, etc. data based on the floor height and the number of elevators. Finally, the equipment and materials list of the entire project is output. The main key technologies are as follows:

[0184] (1) Establish a standard antenna coverage block model and calculate the number of standard antennas for 5G indoor antenna coverage.

[0185] (2) A single-layer plan view is divided into several polygonal blocks. The graphic blocks and the corresponding area lists are extracted and output. A segmented threshold algorithm is used to calculate the equivalent area of ​​the graphic blocks and the antenna coverage standard blocks. The number of 5G indoor antenna coverage antennas of the graphic blocks is then calculated. The number of antennas in the single-layer plan view is calculated by accumulating the graphic blocks from 1 to N.

[0186] (3) The branch and array algorithms calculate the number of components, feeder length, and number of component connectors for a single-story floor plan, trunk line, and elevator.

[0187] Compared with the existing technology, this application can quickly calculate the equipment and materials required for the 5G indoor distributed solution based on the architectural information of the target building, thereby improving the construction efficiency of the 5G indoor distributed system.

[0188] In the above embodiment, a method for determining a 5G indoor distribution solution is provided. Correspondingly, the present application also provides a device for determining a 5G indoor distribution solution. The device for determining a 5G indoor distribution solution provided in the embodiment of the present application can implement the above method for determining a 5G indoor distribution solution. The device for determining a 5G indoor distribution solution can be implemented by software, hardware, or a combination of software and hardware. For example, the device for determining a 5G indoor distribution solution may include integrated or separate functional modules or units to perform the corresponding steps in the above methods. Please refer to Figure 9 As shown, the 5G indoor distribution solution determination device 10 of the present application includes:

[0189] An acquisition module 101 is configured to acquire building information of a target building, wherein the building information includes: a floor plan of each floor, the number of floors, the height of each floor, and the number of elevators;

[0190] A determination module 102 is configured to determine a bill of materials corresponding to all floors based on the floor plan of each floor and the pre-established antenna coverage standard block and the standard number of antennas required for 5G indoor antenna coverage;

[0191] The determining module 102 is further configured to determine a bill of materials corresponding to all elevators based on the number of floors, floor heights, and number of elevators;

[0192] The determining module 102 is further configured to determine a bill of materials corresponding to the signal source trunk line based on the number of floors and the floor heights;

[0193] An accumulation module 103 is configured to accumulate the bills of materials corresponding to all floors, all elevators, and signal source trunk lines to obtain a 5G indoor distribution solution for the target building;

[0194] The bill of materials includes the number of antennas, the number of components, the length of the feeder and the number of feeder connectors, and the number of components is the total number of two power splitters and couplers.

[0195] In a possible implementation, the determining module 102 is specifically configured to:

[0196] For each floor plan, divide the floor plan into several polygonal blocks and output a list consisting of each block and its corresponding area.

[0197] Using a segmented threshold algorithm, the equivalent area coefficient of the graphic block and the antenna coverage standard block is calculated;

[0198] Calculating the number of 5G indoor antennas required to cover the graphic block based on the equivalent area coefficient and the standard number of antennas;

[0199] Based on the number of antennas on each floor, the antenna branching algorithm and coupler type array algorithm are used to calculate the number of devices, feeder length, and number of feeder connectors required for each floor.

[0200] In a possible implementation, the determining module 102 is specifically configured to:

[0201] Use the Python add-in PyXLL to pre-embed Python code into Excel workbooks;

[0202] After inserting the floor plan into the EXCEL drawing frame, call the Python plug-in PyXLL to extract graphic blocks and calculate the area, and output a list consisting of each graphic block and its corresponding area.

[0203] In a possible implementation, the determining module 102 is specifically configured to:

[0204] Read the floor plan and convert it into a grayscale image by calling the cv2.cavColor() function;

[0205] Call the cv2.Canny() function to perform edge detection on the grayscale image, and call the cv2.imshow() function to extract the edge information of the image to obtain the edge detection result;

[0206] According to the edge detection result, the cv2.findContours() function is called to extract the contour of the polygon;

[0207] Call the cv2.drawContours() function to sort the extracted contours in a counterclockwise or clockwise direction to ensure that a closed polygon, that is, a graphic block, is formed;

[0208] Using the Thiessen triangulation algorithm, call Voronoi() to split the polygon into a set of triangles;

[0209] For each triangle, convert the ridge_vertices attribute to a numpy array, call the np.linalg.norm() function to calculate the side length, and add up the side lengths of all triangles to get the side length of the entire polygon;

[0210] Call the np.zeros() function to create an all-zero array of the corresponding shape and data type of the polygon, call the contours[0] function to convert the side lengths of the triangle into contour point format to form a closed contour, and then call the contourArea() function to calculate the area of ​​the closed contour. The area of ​​the entire polygon is obtained by adding up the areas of all triangles.

[0211] Use the pandas library to output the list of extracted graphic blocks and corresponding areas to an Excel file.

[0212] In a possible implementation, the determining module 102 is specifically configured to:

[0213] Calculating the number of 5G indoor antennas required to cover the graphic block based on a first formula according to the equivalent area coefficient and the standard number of antennas;

[0214] The first formula is: n=s / s0*x*T;

[0215] Where n represents the number of antennas, s represents the area of ​​the graphic block, s0 represents the area of ​​the standard block covered by the antenna, x represents the equivalent area coefficient, and T represents the number of standard antennas.

[0216] In a possible implementation, the determining module 102 is specifically configured to:

[0217] Calculating the number of antennas required to cover a single elevator based on the second formula according to the number of floors;

[0218] Based on the number of antennas and floor height of a single elevator, a coupler-type array algorithm is used to calculate the number of components, feeder length, and number of feeder connectors required for a single elevator.

[0219] The second formula is: n=(4-MOD(F, 4)+F) / 4;

[0220] Here, n represents the number of antennas, F represents the number of floors, and MOD(F, 4) represents the remainder obtained by dividing F by 4.

[0221] In a possible implementation, the determining module 102 is specifically configured to:

[0222] According to the number of floors, the number of components corresponding to the signal source trunk line is calculated using the antenna branch algorithm and the coupler type array algorithm;

[0223] According to the floor height and the number of components corresponding to the signal source trunk line, the feeder length and the number of feeder connectors corresponding to the signal source trunk line are calculated.

[0224] The device for determining the 5G indoor distribution solution provided in the embodiment of the present application and the method for determining the 5G indoor distribution solution provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.

[0225] An embodiment of the present application also provides an electronic device corresponding to the method provided in the aforementioned embodiment, and the electronic device may be an electronic device for a client, such as a mobile phone, a laptop computer, a tablet computer, a desktop computer, etc., to execute the above-mentioned method for determining the 5G indoor distribution solution.

[0226] Please refer to Figure 10 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. Figure 10 As shown, the electronic device 20 includes: a processor 200, a memory 201, a bus 202 and a communication interface 203, and the processor 200, the communication interface 203 and the memory 201 are connected through the bus 202; the memory 201 stores a computer program that can be run on the processor 200, and when the processor 200 runs the computer program, it executes the method for determining the 5G indoor distribution solution provided in any of the aforementioned embodiments of the present application.

[0227] The memory 201 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage. The system network element communicates with at least one other network element via at least one communication interface 203 (which may be wired or wireless), and may utilize the Internet, a wide area network, a local area network, a metropolitan area network, or the like.

[0228] Bus 202 may be an ISA bus, a PCI bus, or an EISA bus. The bus may be divided into an address bus, a data bus, a control bus, etc. Memory 201 is used to store programs, and processor 200 executes the programs upon receiving execution instructions. The method for determining the 5G indoor distribution solution disclosed in any of the aforementioned embodiments of the present application may be applied to or implemented by processor 200.

[0229] The processor 200 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in the processor 200 or by software instructions. The above processor 200 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in conjunction with the embodiments of this application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory 201 , and the processor 200 reads the information in the memory 201 and completes the steps of the above method in combination with its hardware.

[0230] The electronic device provided in the embodiment of the present application and the method for determining the 5G indoor distribution solution provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.

[0231] An embodiment of the present application also provides a computer-readable storage medium corresponding to the method for determining the 5G indoor distribution solution provided in the aforementioned embodiment, on which a computer program (i.e., a program product) is stored. When the computer program is run by a processor, it will execute the method for determining the 5G indoor distribution solution provided in any of the aforementioned embodiments.

[0232] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.

[0233] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the method for determining the 5G indoor distribution solution provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.

[0234] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and description of the present application.

Claims

1. A method for determining a 5G indoor distribution solution, characterized in that: include: Obtaining building information of a target building, the building information including: a floor plan of each floor, the number of floors, the floor height, and the number of elevators; Determining a bill of materials corresponding to all floors based on the floor plan of each floor and the pre-established antenna coverage standard block and the number of standard antennas required for 5G indoor antenna coverage, including: dividing the floor plan of each floor into a plurality of polygonal graphic blocks, and outputting a list consisting of each graphic block and its corresponding area; using a segmented threshold algorithm to calculate the equivalent area coefficient of the graphic block and the antenna coverage standard block; calculating the number of 5G indoor antennas required to cover the graphic block based on the equivalent area coefficient and the number of standard antennas; and calculating the number of components, feeder length, and feeder connectors required for each floor based on the number of antennas on each floor using an antenna branching algorithm and a coupler-type array algorithm. Determining a bill of materials corresponding to all elevators based on the number of floors, floor heights, and number of elevators includes: calculating the number of antennas required to cover a single elevator based on a second formula, based on the number of floors; calculating the number of components, feeder length, and number of feeder connectors required for a single elevator using a coupler-type array algorithm based on the number of antennas and the floor height of the single elevator; the second formula is: n = (4-MOD(F, 4) + F) / 4; where n represents the number of antennas, F represents the number of floors, and MOD(F, 4) represents the remainder obtained by dividing F by 4; Determining a bill of materials corresponding to a signal source trunk line based on the number of floors and the floor heights, including: calculating the number of components corresponding to the signal source trunk line using an antenna branching algorithm and a coupler-type array algorithm based on the number of floors; and calculating a feeder length and a number of feeder connectors corresponding to the signal source trunk line based on the floor heights and the number of components corresponding to the signal source trunk line. After accumulating the bill of materials corresponding to all floors, all elevators, and signal source trunk lines, the 5G indoor distribution solution for the target building is obtained; The bill of materials includes the number of antennas, the number of components, the length of the feeder and the number of feeder connectors, and the number of components is the total number of two power splitters and couplers.

2. The method according to claim 1, characterized in that For each floor plan, the floor plan is divided into a plurality of polygonal graphic blocks, and a list consisting of each graphic block and its corresponding area is output, including: Use the Python add-in PyXLL to pre-embed Python code into Excel workbooks; After inserting the floor plan into the EXCEL drawing frame, call the Python plug-in PyXLL to extract graphic blocks and calculate the area, and output a list consisting of each graphic block and its corresponding area.

3. The method according to claim 2, characterized in that The Python plug-in PyXLL is called to extract graphic blocks and calculate their areas, and a list consisting of each graphic block and its corresponding area is output, including: Read the floor plan and convert it into a grayscale image by calling the cv2.cavColor() function; Call the cv2.Canny() function to perform edge detection on the grayscale image, and call the cv2.imshow() function to extract the edge information of the image to obtain the edge detection result; According to the edge detection result, the cv2.findContours() function is called to extract the contour of the polygon; Call the cv2.drawContours() function to sort the extracted contours in a counterclockwise or clockwise direction to ensure that a closed polygon, that is, a graphic block, is formed; Using the Thiessen triangulation algorithm, call Voronoi() to split the polygon into a set of triangles; For each triangle, convert the ridge_vertices attribute to a numpy array, call the np.linalg.norm() function to calculate the side length, and add up the side lengths of all triangles to get the side length of the entire polygon; Call the np.zeros() function to create an all-zero array of the corresponding shape and data type of the polygon, call the contours[0] function to convert the side lengths of the triangle into contour point format to form a closed contour, and then call the contourArea() function to calculate the area of ​​the closed contour. The area of ​​the entire polygon is obtained by adding up the areas of all triangles. Use the pandas library to output the list of extracted graphic blocks and corresponding areas to an Excel file.

4. The method according to claim 1, wherein The calculating, based on the equivalent area coefficient and the standard number of antennas, the number of 5G indoor antennas required to cover the graphic block includes: Calculating the number of 5G indoor antennas required to cover the graphic block based on a first formula according to the equivalent area coefficient and the standard number of antennas; The first formula is: ; Where n represents the number of antennas, represents the area of ​​the graphic block, represents the area of ​​the standard block covered by the antenna, represents the equivalent area coefficient, and T represents the number of standard antennas.

5. A device for determining a 5G indoor distribution solution, characterized in that: include: An acquisition module is used to acquire building information of a target building, wherein the building information includes: a floor plan of each floor, the number of floors, the height of each floor, and the number of elevators; A determination module is configured to determine a bill of materials corresponding to all floors based on the floor plan of each floor and a pre-established antenna coverage standard block and the standard number of antennas required for 5G indoor antenna coverage, including: dividing the floor plan of each floor into a plurality of polygonal graphic blocks, and outputting a list consisting of each graphic block and its corresponding area; using a segmented threshold algorithm to calculate the equivalent area coefficient of the graphic block and the antenna coverage standard block; calculating the number of 5G indoor antennas required to cover the graphic block based on the equivalent area coefficient and the standard number of antennas; and calculating the number of components, feeder length, and feeder connectors required for each floor based on the number of antennas on each floor using an antenna branching algorithm and a coupler-type array algorithm. The determination module is further configured to determine a bill of materials corresponding to all elevators based on the number of floors, floor heights, and number of elevators, including: calculating, based on the number of floors, the number of antennas required to cover a single elevator using a second formula; and calculating, based on the number of antennas and floor heights of a single elevator, the number of components, feeder length, and number of feeder connectors required for the single elevator using a coupler-type array algorithm; the second formula being: n = (4-MOD(F, 4) + F) / 4; wherein n represents the number of antennas, F represents the number of floors, and MOD(F, 4) represents the remainder obtained by dividing F by 4. The determination module is further configured to determine a bill of materials corresponding to a signal source trunk line based on the number of floors and the floor heights, including: calculating the number of components corresponding to the signal source trunk line using an antenna branching algorithm and a coupler-type array algorithm based on the number of floors; and calculating a feeder length and a number of feeder connectors corresponding to the signal source trunk line based on the floor heights and the number of components corresponding to the signal source trunk line. An accumulation module is used to accumulate the bill of materials corresponding to all floors, all elevators, and signal source trunk lines to obtain a 5G indoor distribution solution for the target building; The bill of materials includes the number of antennas, the number of components, the length of the feeder and the number of feeder connectors, and the number of components is the total number of two power splitters and couplers.

6. An electronic device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 4 when executing the computer program.

7. A computer-readable storage medium, characterized in that Computer-readable instructions are stored thereon, and the computer-readable instructions can be executed by a processor to implement the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Automatic distribution method of LTE indoor distribution system antenna

    CN108551374A

  • Elevator antenna laying method, device and equipment and storage medium

    CN119012219A