Method, device and equipment for constructing wireless signal heat map and storage medium
By adjusting the sparsity of measurement points on a house floor plan to generate a target grayscale image, the problem of the authenticity of wireless signal heatmaps caused by dense sampling points is solved, and full visualization of wireless signal quality is achieved.
Patent Information
- Application Number
- CN202510092858.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2045-01-21
AI Technical Summary
Existing technologies, when measuring the strength of indoor wireless networks, suffer from overly dense sampling points, leading to overlapping areas that affect the accuracy of the network strength distribution map and fail to provide a clear view of the network situation.
By determining initial measurement points on the house floor plan, obtaining wireless signal strength to generate an initial grayscale image, determining the overlapping area, adjusting the sparsity of the measurement points, generating a target grayscale image, performing rendering processing, and constructing a wireless signal heatmap.
It improves the realism and effectiveness of wireless signal heatmaps, and realizes full visualization of wireless signal quality, allowing users to have a clearer understanding of the current true quality of wireless signals.
Smart Images

Figure CN120018171B_ABST
Abstract
Description
Technical Field
[0001] This application relates to, but is not limited to, the field of wireless communication technology, and in particular to a method, apparatus, device, and storage medium for constructing a wireless signal heatmap. Background Technology
[0002] In the digital age, the importance of home networks is constantly increasing. As more and more smart home IoT devices enter households, a stable, high-quality network experience has become a pressing need for every family. Unstable home networks, poor signal coverage, slow response times to repairs and complaints, unclear repair outcomes, and a poor user experience are common problems. Currently, industry standards for measuring indoor Wi-Fi solutions typically present these metrics to customers or in reports, which fail to provide a clear and intuitive view of the actual network conditions in the home.
[0003] In related technologies, the method of obtaining wireless network strength by setting sampling points usually estimates and draws a network strength distribution map with the sampling points as the center of a certain area based on the wireless network strength collected by the sampling points. However, when the sampling points are too dense, there is overlap between the estimated areas. The addition of the overlapping parts will affect the accuracy of the network strength distribution map. Summary of the Invention
[0004] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of the claims.
[0005] This application provides a method, apparatus, device, and storage medium for constructing a wireless signal heatmap, which can effectively improve the authenticity of the wireless signal heatmap and achieve full visibility of wireless signal quality.
[0006] To achieve the above objectives, a first aspect of this application proposes a method for constructing an indoor wireless signal heatmap, comprising: acquiring a house floor plan and determining initial measurement points on the house floor plan; sequentially acquiring wireless signal strength at each of the initial measurement points; generating an initial grayscale image based on the wireless signal strength, with the initial measurement point as the center point, wherein the grayscale values on the initial grayscale image are related to the wireless signal strength, and the edge grayscale values of the initial grayscale image are equal to a preset grayscale threshold; determining target measurement points on the house floor plan when there is overlap between adjacent initial grayscale images, and the overlap area between two initial grayscale images is greater than a preset area threshold, wherein the sparsity of the target measurement points is greater than the sparsity of the initial measurement points; acquiring the wireless signal strength at each of the target measurement points; determining a target center grayscale value based on the wireless signal strength at the target measurement points; generating a target grayscale image based on the target center grayscale value; and rendering the house floor plan to obtain an indoor wireless signal heatmap.
[0007] In some embodiments, the step of sequentially acquiring wireless signal strength at each of the initial measurement points includes: determining the first initial measurement point and an initial direction of travel indoors; continuously acquiring the obstacle distance between the current position and indoor obstacles; adjusting the initial direction of travel based on the obstacle distance and the positions of adjacent initial measurement points; and traversing each of the initial measurement points to measure the wireless signal strength at each of the initial measurement points.
[0008] In some embodiments, generating an initial grayscale image based on the wireless signal strength includes: acquiring wireless signal parameters and the propagation coefficient of the wireless signal indoors; determining a planar adjustment coefficient for the grayscale values on the initial grayscale image from the center outwards; determining the initial center grayscale value of the initial measurement point based on the wireless signal strength measured at the initial measurement point; determining the initial grayscale range of the initial grayscale image based on the initial measurement point as the center, according to the planar adjustment coefficient and a preset boundary strength threshold; determining the grayscale values of each point within the initial grayscale range based on the planar adjustment coefficient and the initial center grayscale value at the initial measurement point, thereby obtaining the initial grayscale image.
[0009] In some embodiments, before rendering all the target grayscale images on the house floor plan, the method further includes: supplementing the grayscale values of the blank areas between adjacent target grayscale images on the house floor plan based on the target center grayscale values of adjacent target measurement points; and blurring the areas between adjacent target grayscale images and between the target grayscale images and the supplemented blank areas.
[0010] In some embodiments, supplementing the grayscale values of the blank areas between adjacent target grayscale images based on the target center grayscale values of adjacent target measurement points includes: determining an estimated measurement point between adjacent target measurement points; interpolating the grayscale values at the estimated measurement point based on the target center grayscale values of the target measurement points to obtain an estimated center grayscale value; and supplementing the blank areas between adjacent target grayscale images based on the estimated center grayscale values at the estimated measurement points.
[0011] In some embodiments, supplementing the blank areas between adjacent target grayscale images based on the wireless signal strength at the estimated measurement point includes: determining an interpolation segment in the blank area, one end of the interpolation segment being at the estimated measurement point and the other end of the interpolation segment being at the edge of the target grayscale image; determining a grayscale supplementation function based on the grayscale values at both ends of the interpolation segment; and determining the grayscale value on the corresponding interpolation segment based on the grayscale supplementation function.
[0012] In some embodiments, determining the initial measurement point on the house floor plan includes: converting the house floor plan to grayscale to obtain a grayscale house image; calling a pre-trained grayscale recognition model in the grayscale house image to identify the floor plan border; and determining the initial measurement point in the area outside the floor plan border.
[0013] In addition, to achieve the above objectives, a second aspect of this application proposes an apparatus for constructing an indoor wireless signal heat map, comprising: an acquisition module for acquiring a house floor plan and determining initial measurement points on the house floor plan; a first generation module for sequentially acquiring wireless signal strength at each of the initial measurement points, generating an initial grayscale image based on the wireless signal strength with the initial measurement point as the center point, wherein the grayscale values on the initial grayscale image are related to the wireless signal strength, and the edge grayscale values of the initial grayscale image are equal to a preset grayscale threshold; a discrimination module for determining a target measurement point on the house floor plan based on the overlapping area when there is overlap between adjacent initial grayscale images and the overlapping area between two initial grayscale images is greater than a preset area threshold; and a second generation module for acquiring the wireless signal strength at each of the target measurement points, determining a target center grayscale value based on the wireless signal strength at the target measurement point, generating a target grayscale image based on the target center grayscale value, and rendering the house floor plan to obtain an indoor wireless signal heat map.
[0014] In addition, to achieve the above objectives, a third aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the method for constructing an indoor wireless signal heat map as described in the first aspect.
[0015] In addition, to achieve the above objectives, a fourth aspect of this application provides a storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the method for constructing an indoor wireless signal heat map as described in the first aspect.
[0016] The embodiments of this application include at least the following beneficial effects: On a house floor plan, initial measurement points are first determined. Wireless signal strength is sequentially acquired at each initial measurement point within the house. Grayscale values are related to wireless signal strength. Based on the wireless signal strength, the initial center grayscale value at the initial measurement point can be determined. With the initial measurement point as the center, the wireless signal strength gradually changes outwards. The edge grayscale value of the initial grayscale image is defined as equal to a preset grayscale threshold. This results in an initial grayscale image that gradually changes from the center outwards and is closed. Since the initial center grayscale values are different, the corresponding areas of the initial grayscale images are also different. It is determined whether there is overlap between adjacent initial grayscale images. If there is overlap between two initial grayscale images, the area of the overlapping area is determined. When the area exceeds the preset threshold, it indicates that the two initial measurement points are too close. More sparse target measurement points are then identified on the house floor plan. The target measurement points are then re-traversed, and the wireless signal strength at each point is measured. Based on the wireless signal strength, the target center grayscale value at each measurement point is determined. This grayscale value is then used to determine the target grayscale map centered on the target measurement point. Synchronously rendering all the target grayscale maps yields a wireless signal heatmap representing the wireless signal strength in grayscale values. This effectively improves the realism and effectiveness of the wireless signal heatmap, enabling full visibility of wireless signal quality and allowing users to clearly understand the true quality of the current wireless signal, thus enhancing user perception.
[0017] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the description, claims and drawings. Attached Figure Description
[0018] The accompanying drawings are used to provide a further understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.
[0019] Figure 1A schematic flowchart of an optional method for constructing a wireless signal heatmap provided in an embodiment of this application;
[0020] Figure 2 A schematic diagram of an optional process for measuring wireless signal strength provided in an embodiment of this application;
[0021] Figure 3 A schematic diagram illustrating an optional specific process for drawing an initial grayscale image provided in an embodiment of this application;
[0022] Figure 4 An optional flowchart illustrating the supplementary blank areas provided in the embodiments of this application;
[0023] Figure 5 An optional system block diagram for the wireless signal heatmap construction system provided in the embodiments of this application;
[0024] Figure 6 An optional schematic diagram of the initial grayscale image and overlapping area provided for an embodiment of this application;
[0025] Figure 7 This is an optional schematic diagram illustrating the construction of a sector-shaped region as provided in an embodiment of this application.
[0026] Figure 8 An optional schematic diagram illustrating interpolation for supplementing blank areas in an embodiment of this application;
[0027] Figure 9 This is an optional schematic diagram of a wireless signal heatmap provided in an embodiment of this application;
[0028] Figure 10 A schematic diagram of an optional structure of the apparatus for constructing a wireless signal heatmap provided in an embodiment of this application;
[0029] Figure 11 This is a schematic diagram of an optional hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0031] In the description of this application, "several" means one or more, "multiple" means two or more, "greater than", "less than", "exceeding" etc. are understood to exclude the number itself, and "above", "below", "within" etc. are understood to include the number itself.
[0032] It should be noted that although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first," "second," etc., in the specification, claims, or the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0033] In related technologies, the method of obtaining wireless network strength by setting sampling points usually estimates and draws a network strength distribution map with the sampling points as the center of a certain area based on the wireless network strength collected by the sampling points. However, when the sampling points are too dense, there is overlap between the estimated areas. The addition of the overlapping parts will affect the accuracy of the network strength distribution map.
[0034] Based on this, embodiments of this application provide a method, apparatus, device, and storage medium for constructing a wireless signal heatmap, which can effectively improve the authenticity of the wireless signal heatmap, realize full visibility of wireless signal quality, allow users to have a clearer understanding of the true quality of the current wireless signal, and effectively improve user perception.
[0035] The wireless signal heatmap construction method, apparatus, device, and storage medium provided in this application are specifically described through the following embodiments. First, the wireless signal heatmap construction method in this application embodiment is described.
[0036] The embodiments of this application will be further described below with reference to the accompanying drawings.
[0037] like Figure 1 , Figure 5 and Figure 6 As shown, Figure 1 This is an optional flowchart illustrating a method for constructing a wireless signal heatmap according to an embodiment of this application. The method can be executed by a server, a terminal, or a server in conjunction with a terminal. The method includes, but is not limited to, the following steps S110 to S140:
[0038] Step S110: Obtain the house floor plan and determine the initial measurement points on the house floor plan;
[0039] Step S120: The wireless signal strength is acquired at each initial measurement point in sequence. An initial grayscale image is generated based on the wireless signal strength, with the initial measurement point as the center point. The grayscale values on the initial grayscale image are related to the wireless signal strength. The edge grayscale values of the initial grayscale image are equal to the preset grayscale threshold.
[0040] Step S130: When there is an overlap between adjacent initial grayscale images and the overlap area between two initial grayscale images is greater than a preset area threshold, a target measurement point is determined on the house floor plan, wherein the sparsity of the target measurement point is greater than the sparsity of the initial measurement points.
[0041] Step S140: Obtain the wireless signal strength at each target measurement point, determine the target center grayscale value based on the wireless signal strength at the target measurement point, generate a target grayscale map based on the target center grayscale value, and render the house floor plan to obtain an indoor wireless signal heat map.
[0042] Based on this, on the house floor plan, initial measurement points are first determined. Wireless signal strength is then acquired sequentially at each initial measurement point within the house. Grayscale values are related to wireless signal strength. Based on the wireless signal strength, the initial center grayscale value at each initial measurement point can be determined. With the initial measurement point as the center, the wireless signal strength gradually changes outwards. The edge grayscale values of the initial grayscale image are set to equal a preset grayscale threshold. This results in a gradually changing and enclosed initial grayscale image from the center outwards. Since the initial center grayscale values are different, the corresponding areas of the initial grayscale images are also different. It is then determined whether adjacent initial grayscale images overlap. If there is an overlap between two initial grayscale images, and the overlapping area is greater than a preset threshold... When the area threshold is reached, it indicates that the two initial measurement points are relatively close. More sparse target measurement points are then determined on the house floor plan. The target measurement points are then re-traversed, and the wireless signal strength at each point is measured. Based on the wireless signal strength, the target center grayscale value at each measurement point is determined, and a target grayscale map centered on the target measurement point is determined from the target center grayscale value. Synchronous rendering of all target grayscale maps yields a wireless signal heatmap representing the wireless signal strength in grayscale values. This effectively improves the realism of the wireless signal heatmap, enabling full visibility of wireless signal quality and allowing users to more clearly understand the true quality of the current wireless signal, thus effectively enhancing user perception.
[0043] by Figure 5 As shown, with the initial measurement point as the center, the grayscale threshold is set to zero. The initial center grayscale value, which is related to the wireless signal strength at that point, is attenuated outwards to obtain an initial grayscale image with a high center grayscale value, zero edge grayscale values, and diverging outwards from the center.
[0044] When a house floor plan is obtained, it is converted to grayscale to obtain a grayscale image. In the grayscale image, dark areas represent walls, doors, windows, and pre-known obstacles. A pre-trained grayscale recognition model is called to identify the non-walkable floor plan borders on the grayscale image, thereby obtaining the walkable area outside the floor plan borders. Within the area outside the floor plan borders, initial measurement points are determined according to preset distances.
[0045] Additionally, refer to Figure 2 As shown in some embodiments of this application, Figure 1 Step S120 includes, but is not limited to, steps S210 to S220:
[0046] Step S210: Determine the first initial measurement point and initial direction of travel indoors, continuously obtain the obstacle distance between the current position and indoor obstacles, and adjust the initial direction of travel based on the obstacle distance and the position of adjacent initial measurement points;
[0047] Step S220: Traverse each initial measurement point and measure the wireless signal strength at each initial measurement point.
[0048] Reference Figure 7 The construction method proposed in this application is applicable to, for example, Figure 7 The indoor wireless signal heat map construction system shown includes a mobile module 710, a measurement module 720, a lidar 730, and a control module 740. The mobile module 710, measurement module 720, and lidar 730 are electrically connected to the control module 740. The measurement module 720 and lidar 730 are mounted on the mobile module 710, which is used to move the measurement module 720 and lidar 730 within the room. The control module 740 determines the current location of the measurement module 720 through the lidar 730. After the mobile module 710 reaches the measurement point, the control module 740 records the wireless signal strength through the measurement module 720.
[0049] The LiDAR 730 is also used to detect obstacles such as walls, tables, and chairs inside a house. When the LiDAR 730 detects an obstacle in the direction of travel, the control module 740 adjusts the travel direction of the moving module 710 according to the position and size of the obstacle. If the control module 740 determines that the obstacle is obstructing one of the measurement points, preventing the moving module 710 from reaching the measurement point, the control module 740 selects a new measurement point that is closest to the obstructed measurement point and is not blocked by the obstacle, based on the position of the obstacle on the house floor plan. At the new measurement point, the measurement module 720 measures the wireless signal strength. Subsequently, the control module 740 will draw a grayscale image based on the position of the new measurement point and the corresponding wireless signal strength.
[0050] In addition, such as Figure 3 As shown in some embodiments of this application, step S120 in the figure also includes, but is not limited to, the following steps S310 to S330:
[0051] Step S310: Obtain wireless signal parameters and the propagation coefficient of wireless signal indoors, and determine the planar adjustment coefficient of grayscale values from the center to the periphery on the initial grayscale image;
[0052] Step S320: Determine the initial center gray value of the initial measurement point based on the wireless signal strength measured at the initial measurement point;
[0053] Step S330: Taking the initial measurement point as the center, determine the initial grayscale range of the initial grayscale image based on the plane adjustment coefficient and the preset boundary strength threshold. Determine the grayscale value of each point within the initial grayscale range based on the plane adjustment coefficient and the initial center grayscale value at the initial measurement point to obtain the initial grayscale image.
[0054] Specifically, the wireless signal parameters include the wireless signal's transmit power, frequency band, signal-to-noise ratio, and antenna gain. Based on these parameters and the propagation coefficient, the attenuation coefficient of the wireless signal within the room is determined by distance. A plane adjustment coefficient is determined based on the attenuation coefficient and a preset conversion ratio between grayscale values and wireless signal strength. The plane adjustment coefficient determines the rate of change of grayscale values from the center outwards on the initial grayscale image. If the wireless signal parameters and propagation coefficient indicate a larger propagation range and slower signal attenuation within the room, then the plane adjustment coefficient is larger, and the area of the initial grayscale image is larger. Conversely, if the wireless signal parameters and propagation coefficient indicate a smaller propagation range within the room, then the plane adjustment coefficient is smaller, and the area of the initial grayscale image is smaller.
[0055] After determining the initial center grayscale value and the plane adjustment coefficient in sequence, the size of the initial grayscale image is determined in advance on the house floor plan according to the grayscale threshold. Within the range of the initial grayscale image, the distance between each pixel and the initial measurement point is calculated. The grayscale value of the pixel is determined according to the product of the distance between the pixel and the initial measurement point and the plane adjustment coefficient, thus obtaining the initial grayscale image.
[0056] Additionally, refer to Figure 4 As shown in some embodiments of this application, Figure 1 Step S140 includes, but is not limited to, steps S410 to S420:
[0057] Step S410: On the house floor plan, the gray values of the blank areas between adjacent target grayscale images are supplemented based on the target center grayscale values of adjacent target measurement points.
[0058] Step S420: Blur processing is performed between adjacent target grayscale images and between the target grayscale image and the supplemented blank area.
[0059] Specifically, after determining the target measurement points, through Figure 7The indoor wireless signal heatmap construction system shown traverses various target measurement points within the building. When the system reaches a target measurement point, it detects the wireless signal strength at that point and determines the target center grayscale value based on the wireless signal strength. Here, the numerical correlation between the grayscale value on the target grayscale map and the wireless signal strength at the corresponding measurement point is the same as the numerical correlation between the grayscale value on the initial grayscale map and the wireless signal strength at the corresponding measurement point. Therefore, if the attenuation coefficient of the wireless signal strength within the range shown in the target grayscale map is the same as the attenuation coefficient within the range shown in a certain initial grayscale map, then the plane adjustment coefficient of the grayscale value within the range shown in the target grayscale map is also the same as the plane adjustment coefficient of the grayscale value within the range shown in the initial grayscale map.
[0060] In one specific implementation, a grayscale threshold is determined based on the grayscale value of the target center, with the target measurement point as the center. The grayscale threshold and the grayscale value of the target center have a preset linear relationship. The range of the target grayscale image is determined by the grayscale threshold as the boundary. The distance between each point and the target measurement point within the target grayscale image is calculated. The grayscale value at each point is determined by the plane adjustment coefficient calculated according to the above embodiment. The grayscale difference between the grayscale value of each point in the target grayscale image and the grayscale value of the target center changes linearly with the distance between the corresponding point and the target measurement point. The coefficient of linear change is equal to the plane adjustment coefficient. The numerical relationship between the grayscale difference and the distance satisfies the calculation formula that the grayscale difference is equal to the grayscale value of the target center minus the product of the distance and the plane adjustment coefficient.
[0061] In another specific implementation, refer to Figure 8 As shown, the method for drawing the target grayscale image can also be as follows: Taking one target measurement point as a reference, determine multiple adjacent target measurement points. Based on the distance and direction between the adjacent target measurement points and the reference target measurement point, determine multiple sector areas with the reference target measurement point as the center. Determine the grayscale value of each point in the sector area based on the grayscale value of the target center and the plane adjustment coefficient. There are three calculation rules for the grayscale value of the sector area. When the wireless signal strength at the adjacent target measurement point is greater than the wireless signal strength at the reference target measurement point, the gradient rule for all points in the sector area corresponding to the adjacent target measurement point is that the grayscale value increases linearly from the target measurement point to the surrounding areas. When the wireless signal strength at the adjacent target measurement point is less than the wireless signal strength at the reference target measurement point, the gradient rule for all points in the sector area corresponding to the adjacent target measurement point is that the grayscale value decreases linearly from the target measurement point to the surrounding areas. When the wireless signal strength at the adjacent target measurement point is equal to the wireless signal strength at the reference target measurement point, the grayscale value in the sector area corresponding to the adjacent target measurement point is equal to the grayscale value at the target center.
[0062] After determining the target grayscale images one by one, as follows Figure 9As shown, all target grayscale images are circular. Provided the overlapping area between target grayscale images is less than the area threshold, there are blank areas with unfilled grayscale values between them. Two relatively symmetrical target measurement points are selected. An estimated measurement point is determined within the blank area based on the midpoint of the line connecting the two target measurement points. Linear interpolation is performed based on the target center grayscale values at the two target measurement points to determine the estimated center grayscale value at the estimated measurement point. Multiple interpolation segments are determined within the blank area centered on the estimated measurement point. One end of each interpolation segment is at the estimated measurement point, and the other end is at the edge of the target grayscale image. The grayscale value at the end of the interpolation segment at the estimated measurement point is equal to the estimated center grayscale value, and the grayscale value at the edge of the target grayscale image is equal to the edge grayscale value. A grayscale supplementation function is determined based on the grayscale values at both ends of the interpolation segment. Through the grayscale supplementation function, the grayscale values on the interpolation segment change linearly. The coefficient of this linear change is not necessarily equal to the plane adjustment coefficient.
[0063] After determining the target grayscale image and filling the blank areas between the target grayscale images with grayscale values, the grayscale values between adjacent target grayscale images and between the target grayscale image and the filled blank areas are blurred to make the grayscale value changes more uniform. Then, the house floor plan is rendered based on the grayscale values to obtain the indoor wireless signal heat map.
[0064] Additionally, refer to Figure 10 This application also provides an indoor wireless signal heat map construction device 1000, comprising:
[0065] The acquisition module 1001 is used to acquire the house floor plan and determine the initial measurement points on the house floor plan;
[0066] The first generation module 1002 is used to sequentially acquire the wireless signal strength at each initial measurement point, and generate an initial grayscale image based on the wireless signal strength with the initial measurement point as the center point. The grayscale values on the initial grayscale image are related to the wireless signal strength, and the edge grayscale values of the initial grayscale image are equal to the preset grayscale threshold.
[0067] The discrimination module 1003 is used to determine the target measurement point on the house floor plan based on the overlapping area when there is an overlap between adjacent initial grayscale images and the overlapping area between two initial grayscale images is greater than a preset area threshold.
[0068] The second generation module 1004 is used to acquire the wireless signal strength at each target measurement point, determine the target center gray value based on the wireless signal strength at the target measurement point, generate a target gray map based on the target center gray value, and render all target gray maps on the house floor plan to obtain an indoor wireless signal heat map.
[0069] The above-mentioned indoor wireless signal heat map construction device 1000 and indoor wireless signal heat map construction method are based on the same inventive concept, and will not be described again here.
[0070] Additionally, refer to Figure 11 , Figure 11 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes:
[0071] The processor 1101 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application.
[0072] The memory 1102 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 1102 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1102 and called by the processor 1101 to execute the wireless signal heatmap construction method of the embodiments of this application, for example, executing the above-described... Figure 1 Method steps S110 to S140, Figure 2 Method steps S210 to S220, Figure 3 Method steps S310 to S330, Figure 4 Method steps S410 to S420;
[0073] Input / output interface 1103 is used to implement information input and output;
[0074] The communication interface 1104 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0075] Bus 1105 transmits information between various components of the device (e.g., processor 1101, memory 1102, input / output interface 1103, and communication interface 1104);
[0076] The processor 1101, memory 1102, input / output interface 1103 and communication interface 1104 are connected to each other within the device via bus 1105.
[0077] This application embodiment also provides a storage medium, which is a computer-readable storage medium for computer-readable storage. The storage medium stores one or more programs, which can be executed by one or more processors to implement the above-described method for constructing a wireless signal heatmap. For example, it executes the above-described... Figure 1 Method steps S110 to S140, Figure 2 Method steps S210 to S220, Figure 3 Method steps S310 to S330, Figure 4 Method steps S410 to S420.
[0078] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0079] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0080] It will be understood by those skilled in the art that Figures 1 to 4 The technical solutions shown do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0081] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0082] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0083] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0084] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0085] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0086] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0087] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0088] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0089] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.
Claims
1. A method for constructing an indoor wireless signal heat map, characterized in that, The method comprises: acquiring a house layout map, and determining initial measurement points on the house layout map; acquiring wireless signal strengths at the initial measurement points in sequence, and generating an initial grayscale map based on the wireless signal strengths, the grayscale values on the initial grayscale map being related to the wireless signal strengths, and the edge grayscale values of the initial grayscale map being equal to a preset grayscale threshold value; when there is an overlap between adjacent initial grayscale maps, and the overlap area between two initial grayscale maps is greater than a preset area threshold value, determining target measurement points on the house layout map, wherein the sparsity of the target measurement points is greater than the sparsity of the initial measurement points; acquiring the wireless signal strengths at the target measurement points, determining target center grayscale values based on the wireless signal strengths at the target measurement points, generating a target grayscale map based on the target center grayscale values, and performing rendering processing on the house layout map to obtain an indoor wireless signal heat map.
2. The method of claim 1, wherein, The method comprises: determining a first initial measurement point and an initial moving direction indoors, continuously acquiring an obstacle distance between a current position and an indoor obstacle, and adjusting the initial moving direction based on the obstacle distance and the positions of adjacent initial measurement points; traversing the initial measurement points to measure the wireless signal strengths at the initial measurement points.
3. The method of claim 1, wherein, The method comprises: acquiring wireless signal parameters and a propagation coefficient of a wireless signal in an indoor environment, determining a plane adjustment coefficient of grayscale values from a center to a periphery on the initial grayscale map; determining an initial center grayscale value of the initial measurement points based on the wireless signal strengths measured at the initial measurement points; determining an initial grayscale range of the initial grayscale map based on the plane adjustment coefficient and a preset boundary intensity threshold value, and determining grayscale values of points in the initial grayscale range based on the plane adjustment coefficient and the initial center grayscale value at the initial measurement points, to obtain the initial grayscale map.
4. The method of claim 1, wherein, Before the rendering of all the target grayscale maps on the house layout map, the method further comprises: complementing the grayscale values of blank areas between adjacent target grayscale maps on the house layout map based on the target center grayscale values of adjacent target measurement points; performing blur processing between adjacent target grayscale maps and between the target grayscale maps and the complemented blank areas.
5. The method of claim 4, wherein, The method of complementing the grayscale values of blank areas between adjacent target grayscale maps based on the target center grayscale values of adjacent target measurement points comprises: determining estimated measurement points between adjacent target measurement points, performing interpolation processing on the grayscale values at the estimated measurement points based on the target center grayscale values of the target measurement points to obtain estimated center grayscale values, and complementing the blank areas between adjacent target grayscale maps based on the estimated center grayscale values at the estimated measurement points.
6. The method of claim 5, wherein, The blank area between the adjacent target gray scale maps is supplemented according to the wireless signal strength at the estimated measurement point, and the supplementing comprises: An interpolation line segment is determined on the blank area, one end of the interpolation line segment being on the estimated measurement point, and the other end of the interpolation line segment being on the edge of the target gray scale map; A gray scale supplement function is determined according to the gray scale values at the two ends of the interpolation line segment, and the gray scale value on the corresponding interpolation line segment is determined according to the gray scale supplement function.
7. The method of claim 1, wherein, The initial measurement points are determined on the house plan, and the determining comprises: The house plan is subjected to gray scale processing to obtain a house gray scale map; In the house gray scale map, a pre-trained gray scale recognition model is called to recognize a house plan frame; The initial measurement points are determined in the area outside the house plan frame.
8. A device for constructing an indoor wireless signal heat map, characterized in that, The method comprises: An acquisition module is configured to acquire a house plan and determine initial measurement points on the house plan; A first generation module is configured to acquire wireless signal strengths at the initial measurement points in sequence, generate an initial gray scale map with the initial measurement points as center points and according to the wireless signal strengths, the gray scale values on the initial gray scale map being related to the wireless signal strengths, and the edge gray scale value of the initial gray scale map being equal to a preset gray scale threshold value; A discrimination module is configured to determine target measurement points on the house plan when there is an overlap between adjacent initial gray scale maps and the overlap area between two initial gray scale maps is greater than a preset area threshold value, wherein the sparsity of the target measurement points is greater than the sparsity of the initial measurement points; A second generation module is configured to acquire the wireless signal strengths at the target measurement points, determine target center gray scale values according to the wireless signal strengths at the target measurement points, generate a target gray scale map based on the target center gray scale values, and render the house plan to obtain an indoor wireless signal heat map.
9. An electronic device, comprising: The electronic device comprises a memory and a processor, the memory storing a computer program, and the processor implements the construction method of the indoor wireless signal heat map according to any one of claims 1 to 7 when executing the computer program.
10. A storage medium storing a computer program, characterized by The computer program is executed by the processor to implement the construction method of the indoor wireless signal heat map according to any one of claims 1 to 7.
Citation Information
Patent Citations
Railway wireless signal prediction method and device, electronic equipment and storage medium
CN113938895A
Method for the computer-aided determination of the course of a number of propagation paths of radio waves between a transmitter and a receiver of a radio network, associated device, computer programme product, and computer programme
WO2024170342A1