5G indoor distribution scheme determination method and device, electronic equipment and storage medium
By obtaining building information and calculating the required equipment and materials using antenna coverage standard blocks and segmented threshold algorithms, the cumbersome problem of the design process of the existing 5G room system is solved, and the equipment and materials required for the 5G room system is quickly calculated, which improves the construction efficiency.
Patent Information
- Application Number
- CN202510078710.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2045-01-17
AI Technical Summary
The design process of the existing 5G room subsystem is cumbersome and takes a long time, making it difficult to quickly calculate the required equipment and materials list, which affects the rapid project establishment and emergency material preparation of the project.
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, using the pre-established antenna coverage standard blocks and segmented threshold algorithm, the required number of antennas, devices, feeder length and feeder connectors are calculated, and the equipment and materials list of the 5G room solution is accumulated.
It realizes the rapid calculation of the equipment and materials required for the 5G partition system, improves the construction efficiency of the 5G partition system, and can respond more quickly to project needs.
Smart Images

Figure CN120018160A_ABST
Abstract
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 network is the fifth generation of mobile communication network, and its peak theoretical transmission speed can reach tens of Gb per second, which is hundreds of times faster than that of 4G network. With the construction of 5G network, in order to meet the new business needs of 5G, indoor network needs to have higher performance: support user experience rate of 100Mbps~1Gbps, millisecond end-to-end delay, high-precision indoor positioning and more open applications.
[0003] Indoors 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 completed, the devices and connectors are configured according to the routing direction, and then the floor plan is converted into a system diagram for link calculation, and finally the design drawing is output. The design process is cumbersome and time-consuming. For some projects that require rapid project establishment and emergency material preparation, the corresponding work can only be carried out after the full set of scheme design is completed. Therefore, a method is needed to quickly calculate the equipment and material list of the 5G indoor distributed system to solve the above problems. 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 plan, which can quickly calculate the equipment and materials required for the 5G indoor distribution plan 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] Acquire building information of the target building, the building information including: a floor plan of each floor, the number of floors, the height of the floor, and the number of elevators;
[0007] Determine the material list corresponding to all floors based on the floor plan of each floor and the pre-established antenna coverage standard blocks and the number of standard antennas required for 5G indoor antenna coverage;
[0008] Determine a bill of materials for all elevators based on the number of floors, floor heights, and number of elevators;
[0009] Determine a material list corresponding to the signal source trunk line according to 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 of the target building is obtained;
[0011] The bill of materials includes the number of antennas, the number of components, the length of feeder lines and the number of feeder line connectors, and the number of components is the total number of power dividers and couplers.
[0012] In a possible implementation, the material list corresponding to all floors is determined 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 antenna coverage, including:
[0013] For each floor plan, the floor plan is divided into a number of polygonal graphic blocks, and a list consisting of each graphic block and its corresponding area is output;
[0014] Using a segmented threshold algorithm, the equivalent area coefficient of the graphic block and the antenna coverage standard block is calculated;
[0015] Calculate the number of 5G indoor antennas required to cover the graphic block according to 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 plugin 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 a possible implementation, the calling of the Python plug-in PyXLL to extract graphic blocks and calculate the area, and outputting a list consisting of each graphic block and its corresponding area, includes:
[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 cv2.drawContours() function to sort the extracted contours in counterclockwise or clockwise direction to ensure that a closed polygon, i.e., 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 array of all zeros of the corresponding shape and data type of the polygon, call the contours[0] function to convert the side length of the triangle into a 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 their corresponding areas into an Excel file.
[0029] In a possible implementation, the calculating, according to the equivalent area coefficient and the standard number of antennas, the number of 5G room antennas required to cover the graphic block includes:
[0030] According to the equivalent area coefficient and the standard number of antennas, the number of 5G room antennas required to cover the graphic block is calculated based on a first formula;
[0031] The first formula is: n = s / s 0 *x*T;
[0032] Where n represents the number of antennas, s represents the area of the graphic block, and s 0 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 a possible implementation, determining the material list corresponding to all elevators according to the number of floors, floor heights, and number of elevators includes:
[0034] According to the number of floors, the number of antennas required to cover a single elevator is calculated based on a second formula;
[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 a possible implementation, determining a material list corresponding to a signal source trunk line according to 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 path 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, used to determine 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 antenna coverage;
[0044] The determination module is further used to determine the material list corresponding to all elevators according to the number of floors, floor heights and number of elevators;
[0045] The determination module is further used to determine a material list corresponding to the signal source trunk line according to 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 feeder lines and the number of feeder line connectors, and the number of components is the total number of power dividers 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, wherein the computer-readable instructions can be executed by a processor to implement the method as described in the first aspect.
[0050] Compared with the prior art, the method for determining the 5G indoor distribution solution provided by the present application obtains the architectural information of the target building, and the architectural information includes: the floor plan of each floor, the number of floors, the floor height and the number of elevators; 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, the corresponding list of materials for all floors is determined; according to the number of floors, the floor height and the number of elevators, the list of materials for all elevators is determined; according to the number of floors and the floor height, the list of materials corresponding to the signal source trunk line is determined; after accumulating the list 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 prior art, the present application can quickly calculate the equipment and materials required for the 5G indoor distribution solution according to 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 of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0052] Figure 1 A flow chart of a method for determining a 5G indoor distribution solution provided in an embodiment of the present application is shown;
[0053] Figure 2 A flowchart of graphic block extraction and area calculation provided by an embodiment of the present application is shown;
[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 calculation model for the coverage range of a standard block of antenna coverage provided in an embodiment of the present application is shown;
[0056] Figure 5 It shows a schematic diagram of routing of a single-layer antenna provided in an embodiment of the present application when the number n is an even number;
[0057] Figure 6 It shows a schematic diagram of the routing of a single-layer antenna provided in an embodiment of the present application when the number n is an odd number;
[0058] Figure 7 A schematic diagram of a single elevator routing 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] Fig. 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] Fig.10 A schematic diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0062] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the 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. On the contrary, these embodiments are provided in order 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 terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.
[0064] In addition, the terms "first" and "second" etc. are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0065] Please refer to Figure 1 , Figure 1 It 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, obtaining 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;
[0067] The target building is the building where a 5G indoor distributed system needs to be established. 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 connected to the signal source base station.
[0068] S102, determining a list of materials 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 antenna coverage;
[0069] Specifically, the bill of materials includes the number of antennas, the number of components, the length of feeder lines and the number of feeder line connectors, and the number of components is the total number of two power dividers and couplers.
[0070] Specifically, the above step S102 can be implemented as follows:
[0071] For each floor plan, the floor plan is divided into a number of polygonal graphic blocks, and a list consisting of each graphic block and its corresponding area is output;
[0072] Each floor includes multiple spaces separated by walls. The shapes of the spaces may be the same or different, and each space corresponds to a polygonal graphic block. Specifically, the Python plug-in PyXLL can be used to embed Python code into the Excel workbook in advance; after inserting the floor plan into the EXCEL drawing frame, the Python plug-in PyXLL is called to extract the graphic blocks and calculate the area, and a list consisting of each graphic block and its corresponding area is output.
[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 cv2.cavColor() function.
[0075] S2, calling cv2.Canny() function to perform edge detection on the grayscale image, and calling cv2.imshow() function to extract edge information of the image to obtain edge detection result;
[0076] S3. According to the edge detection result, call cv2.findContours() function to extract the contour of the polygon;
[0077] S4. Call cv2.drawContours() function to sort the extracted contours in counterclockwise or clockwise direction to ensure that a closed polygon, i.e., a polygonal graphic block, is formed;
[0078] S5, using the Thiessen triangulation algorithm, calling Voronoi() to split the polygon into a group 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, calling the np.zeros() function to create an array of all zeros of the corresponding shape and data type of the polygon, calling the contours[0] function to convert the side length of the triangle into a contour point format to form a closed contour, and then calling the contourArea() function to calculate the area of the closed contour, and accumulating the areas of all triangles to obtain the area of the entire polygon;
[0081] S8. Use the pandas library to output the list of extracted graphic blocks and their corresponding areas into an Excel file.
[0082] For ease of understanding, this application provides Figure 2 The figure block extraction and area calculation flow chart is shown in Figure 1. For a single floor, the extracted figure blocks are as follows: Figure 3 As shown, graphic blocks 1 to 27 are obtained.
[0083] After obtaining the graphic block of the floor, the segmented threshold algorithm is used to calculate the equivalent area coefficient of the graphic block and the antenna coverage standard block. According to 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 antennas of the 5G room antenna required to cover the graphic block according to the equivalent area coefficient and the standard number of antennas includes:
[0085] According to the equivalent area coefficient and the standard number of antennas, the number of 5G room antennas required to cover the graphic block is calculated based on a first formula;
[0086] The first formula is: n = s / s 0 *x*T;
[0087] Where n represents the number of antennas, s represents the area of the graphic block, and s 0 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 is an introduction to 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 s 0 =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(d 0 )=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 at point A EIRP (dBm) = antenna port power + transmitting antenna gain - spatial propagation loss PL (d 0 )+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 the antenna coverage standard block s 0 If the number is 4, then the number of 5G indoor antennas corresponding to a single antenna covering a standard block is 0.25.
[0097] (2) Graphics Block Comparison Algorithm
[0098] Compare the area of the extracted graphic block s from the floor plan with the area of the antenna coverage standard block s 0 Compare them separately and automatically calculate the number of antennas required to cover 5G for each graphic block extracted from the floor plan.
[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 from a single floor plan n = s / s 0 *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 (d 0 )+12) / PL(d 0 )=(95.91+12) / 95.91≈1.1;
[0105] 2) The change process of the graphic block area s from 10 to 0 is mainly that as the space becomes smaller, the number of partition walls increases randomly, and the space loss increase value is 48dB (4 walls), that is, x = (PL (d 0 )+48) / PL(d 0 )=(95.91+48) / 95.91≈1.5;
[0106] 3) The change process of the graphic block area s from 32 to 50 is mainly that as the space becomes larger, the number of partition walls decreases randomly, and the space loss reduction value is 12dB (1 wall), that is, x = (PL (d 0 )-12) / PL(d 0 )=(95.91-12) / 95.91≈0.9;
[0107] 4) The change process of the graphic block area s from 50 to 100 is mainly that as the space becomes larger, the number of partition walls decreases randomly, and the space loss reduction value is 24dB (2 walls), that is, x = (PL (d 0 )-24) / PL(d 0 )=(95.91-24) / 95.91≈0.75;
[0108] 5) If the area of the graphic block s>100, the antenna is inside the graphic block, and the space loss reduction value is 48dB (4 walls), that is, x = (PL (d 0 )-48) / PL(d 0 )=(95.91-48) / 95.91≈0.5;
[0109] Number of antennas per floor: The number of antennas n of 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, the process of calculating the 5G indoor distributed devices, feeder length, and feeder connector is as follows based on the single-layer (i.e. single-floor) antenna number n calculated above:
[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 single-layer antenna number n shown is an even number routing. When the single-layer antenna number 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. For details, see Figure 6 The single-layer antenna number n shown is an odd-numbered routing.
[0117] According to the requirement of antenna input power balance, the terminal device of a single branch is generally a two-power splitter (which can connect to two antennas), so a single branch needs to be configured with the number of couplers m = n / 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}, and the coupler values are configured in order from low to high. The calculation process of branch 1 and branch 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 antenna coverage standard block model, the antenna spacing is 8 to 10 meters. Therefore, the main routing of a single branch below the node two power splitters is calculated based on the device and antenna spacing of 10 meters. Specifically, the feeder length of branch L1 = (two power splitters + couplers) total number of devices * 10 + (number of antennas - 1) * 1 (the connection between the antenna and the device is 1 meter), and the feeder length of branch L2 is calculated in the same way as branch L1. The feeder length L3 of the node two power splitter connection is calculated based on the port, L3 = port 1 * 10 + port 2 * 10 + port 3 * 1. Then the feeder length of a single floor L = branch L1 + branch L2 + node L3.
[0130] (3) Feeder connector calculation
[0131] You only need to calculate the number of feeder lines*2 to calculate the number of feeder connectors. The number of branch feeder lines = the number of devices + the number of antennas - 1. The number of node feeder lines = the number of ports on the power splitter 3.
[0132] (5) Material calculation
[0133] The number of antennas, feeder length, number of components, and feeder connectors on each floor are added up.
[0134] S103. Determine a material list corresponding to all elevators according to the number of floors, floor heights, and number of elevators;
[0135] Specifically, the above step S103 includes:
[0136] According to the number of floors, the number of antennas required to cover a single elevator is calculated based on a second formula;
[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 usually places antennas from the top to the bottom of the elevator car every 3 to 4 floors, and no antenna is set at the end of the 1st 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 Single elevator routing diagram 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 m=n-2 needs to be configured. Next, the array algorithm is used to calculate the number of couplers, and 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] According to the 3rd to 4th floor with one antenna and the floor height of about 4 meters, the antenna spacing is 16 meters. Therefore, the line is calculated based on the 16-meter spacing between the device and the antenna. Specifically, the feeder length = two power dividers + 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] You only need to calculate the number of feeder lines*2 to calculate the number of feeder connectors. The number of feeder lines = the number of devices + the number of antennas - 1.
[0159] S104, determining a material list corresponding to the signal source trunk line according to the number of floors and the 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 path 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 the branching algorithm, the signal source base station equipment is generally set in the middle of the building. The trunk line is divided into two trunk 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 trunk branch 1 is F / 2, and the number of floors connected to trunk branch 2 is F / 2. When the number of floors F is an odd number, the number of floors connected to trunk branch 1 is (F+1) / 2, and the number of floors connected to trunk 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 of trunk branch 1 and trunk branch 2 is the same. For details, see 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 height spacing is about 4 meters, so the main routing of a single trunk branch below the signal source main node two power splitters is calculated based on the device spacing of 4 meters, specifically the trunk branch L1 feeder length = (number of two power splitters + number of couplers + number of floors - 1) * 4, and the trunk branch L2 feeder length is calculated in the same way as the trunk branch L1. The feeder length L3 connected to the node two power splitter is calculated based on the port, L3 = port 1 * 4 + port 2 * 4 + port 3 * 4. Then the single floor feeder length L = trunk branch L1 + trunk branch L2 + signal source main node L3.
[0179] (3) Calculation of the number of feeder connectors
[0180] You only need to calculate the number of feeder lines*2 to calculate the number of feeder connectors. The number of branch feeder lines = the number of devices + the number of floors - 1. The number of node feeder lines = the number of ports on the two-power splitter 3.
[0181] S105. After accumulating the material lists 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 number of materials 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 the 5G indoor distribution solution provided in the embodiment of the present application can realize the rapid calculation of the 5G indoor distribution solution. It mainly extracts the 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 single-layer antenna, device, feeder and other data, and then automatically calculates the corresponding antenna, device, feeder and other data according to the floor height and the number of elevators, and finally outputs the equipment and material list of the entire project. The main key technologies are as follows:
[0184] (1) Establish a standard block model for antenna coverage and calculate the number of standard antennas for 5G indoor antenna coverage.
[0185] (2) A single-layer floor plan is divided into several polygonal blocks. The graphic blocks and the corresponding area lists are extracted and output. The segmented threshold algorithm is used to calculate the equivalent area of the graphic block and the antenna coverage standard block. Then, the number of 5G indoor antenna coverage antennas of the graphic block is calculated. The graphic blocks are accumulated from 1 to N to calculate the number of antennas in the single-layer floor plan.
[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, the present 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-mentioned 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-mentioned 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-mentioned methods. Please refer to Fig. 9 As shown, the 5G indoor distribution solution determination device 10 of the present application includes:
[0189] The acquisition module 101 is used to acquire the building information of the target building, wherein the building information includes: the floor plan of each floor, the number of floors, the height of the floor and the number of elevators;
[0190] A determination module 102 is used to determine a 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 antenna coverage;
[0191] The determination module 102 is further used to determine a material list corresponding to all elevators according to the number of floors, floor heights and number of elevators;
[0192] The determination module 102 is further used to determine a material list corresponding to the signal source trunk line according to the number of floors and the floor heights;
[0193] The accumulation module 103 is used to accumulate 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;
[0194] The bill of materials includes the number of antennas, the number of components, the length of feeder lines and the number of feeder line connectors, and the number of components is the total number of power dividers and couplers.
[0195] In a possible implementation, the determining module 102 is specifically configured to:
[0196] For each floor plan, the floor plan is divided into a number of polygonal graphic blocks, and a list consisting of each graphic block and its corresponding area is output;
[0197] Using a segmented threshold algorithm, the equivalent area coefficient of the graphic block and the antenna coverage standard block is calculated;
[0198] Calculate the number of 5G indoor antennas required to cover the graphic block according to 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 plugin 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 cv2.drawContours() function to sort the extracted contours in counterclockwise or clockwise direction to ensure that a closed polygon, i.e., 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 array of all zeros of the corresponding shape and data type of the polygon, call the contours[0] function to convert the side length of the triangle into a 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 their corresponding areas into an Excel file.
[0212] In a possible implementation, the determining module 102 is specifically configured to:
[0213] According to the equivalent area coefficient and the standard number of antennas, the number of 5G room antennas required to cover the graphic block is calculated based on a first formula;
[0214] The first formula is: n = s / s 0 *x*T;
[0215] Where n represents the number of antennas, s represents the area of the graphic block, and s 0 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] According to the number of floors, the number of antennas required to cover a single elevator is calculated based on a second formula;
[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 path 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 Fig.10 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. Fig.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 via 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 a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 203 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0228] The bus 202 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. Among them, the memory 201 is used to store a program, and the processor 200 executes the program after receiving an execution instruction. The method for determining the 5G indoor distribution solution disclosed in any implementation of the embodiment of the present application may be applied to the processor 200, or implemented by the processor 200.
[0229] The processor 200 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 200. The above processor 200 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field 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, 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 it. 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 replace some or all of the technical features therein by equivalents. 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 specification of the present application.
Claims
1. A method for determining a 5G indoor distribution solution, characterized in that: include: Acquire building information of the target building, the building information including: a floor plan of each floor, the number of floors, the height of the floor, and the number of elevators; Determine the material list corresponding to all floors based on the floor plan of each floor and the pre-established antenna coverage standard blocks and the number of standard antennas required for 5G indoor antenna coverage; Determine a bill of materials for all elevators based on the number of floors, floor heights, and number of elevators; Determine a material list corresponding to the signal source trunk line according to the number of floors and floor heights; 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; The bill of materials includes the number of antennas, the number of components, the length of feeder lines and the number of feeder line connectors, and the number of components is the total number of power dividers and couplers.
2. The method according to claim 1, characterized in that 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 antenna coverage, the material list corresponding to all floors is determined, including: For each floor plan, the floor plan is divided into a number of polygonal graphic blocks, and a list consisting of each graphic block and its corresponding area is output; Using a segmented threshold algorithm, the equivalent area coefficient of the graphic block and the antenna coverage standard block is calculated; Calculate the number of 5G indoor antennas required to cover the graphic block according to the equivalent area coefficient and the standard number of antennas; 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.
3. The method according to claim 2, 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 plugin 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.
4. The method according to claim 3, characterized in that The calling of the Python plug-in PyXLL to extract graphic blocks and calculate the area, outputs a list consisting of each graphic block and its corresponding area, 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 cv2.drawContours() function to sort the extracted contours in counterclockwise or clockwise direction to ensure that a closed polygon, i.e., 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 array of all zeros of the corresponding shape and data type of the polygon, call the contours[0] function to convert the side length of the triangle into a 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 their corresponding areas into an Excel file.
5. The method according to claim 2, characterized in that: The calculating, according to the equivalent area coefficient and the standard number of antennas, the number of 5G room antennas required to cover the graphic block comprises: According to the equivalent area coefficient and the standard number of antennas, the number of 5G room antennas required to cover the graphic block is calculated based on a first formula; The first formula is: n=s / s0*x*T; Among them, 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.
6. The method according to claim 1, characterized in that Determining the material list corresponding to all elevators according to the number of floors, floor heights and number of elevators includes: According to the number of floors, the number of antennas required to cover a single elevator is calculated based on a second formula; 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; The second formula is: n=(4-MOD(F, 4)+F) / 4; 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.
7. The method according to claim 1, characterized in that Determining the material list corresponding to the signal source trunk line according to the number of floors and the floor heights includes: According to the number of floors, the number of components corresponding to the signal source trunk line is calculated using the antenna branch path algorithm and the coupler type array algorithm; 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.
8. 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, used to determine 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 antenna coverage; The determination module is further used to determine the material list corresponding to all elevators according to the number of floors, floor heights and number of elevators; The determination module is further used to determine a material list corresponding to the signal source trunk line according to the number of floors and the floor heights; 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 feeder lines and the number of feeder line connectors, and the number of components is the total number of power dividers and couplers.
9. 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 7 when executing the computer program.
10. 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 7.
Citation Information
Patent Citations
Automatic distribution method of LTE indoor distribution system antenna
CN108551374A
5G wireless communication indoor distribution system and method
CN115696358A
Indoor distribution system determination method and device, electronic equipment and storage medium
CN115866628A
Elevator antenna laying method, device and equipment and storage medium
CN119012219A
Apparatus for supporting layout of wireless base stations in building
US20130194276A1