Indoor signal strength detection method and device based on ARCore

Combining device attitude and inertial measurement data with ARCore technology, the position and orientation of the detection point are calibrated in real time, and a signal strength heat map is generated, which solves the problem of indoor Wi-Fi signal coverage detection that cannot be separated from the house model in the existing technology, and achieves a more realistic Display of signal coverage.

CN118250736BActive Publication Date: 2024-09-24JUQING NETWORK TECH (JINAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410476616.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2023-07-27
Filing Date
2024-04-19
Publication Date
2024-09-24
Estimated Expiration
2044-04-19

AI Technical Summary

Technical Problem

Existing indoor Wi-Fi signal coverage detection methods cannot be separated from the house model or floor plan, resulting in the generated signal coverage heat map that cannot truly reflect the actual scene.

Method used

The indoor signal strength detection method based on ARCore is used to calibrate the position and orientation of the detection point in real time through the combination of device posture information and inertial measurement data, generate a signal strength heat map, and draw an indoor signal coverage heat map to directly reflect the actual scene signal coverage.

Benefits of technology

You can intuitively understand the indoor signal coverage without the need for a floor plan model, and the generated heat map is more realistic, which is suitable for the three-dimensional display of signal coverage in multi-story buildings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118250736B_ABST
    Figure CN118250736B_ABST
Patent Text Reader

Abstract

The present invention discloses an indoor signal strength detection method and device based on ARCore, which belongs to the field of signal strength detection technology, and is used to solve the technical problem that the current indoor Wi-Fi signal coverage detection method cannot be separated from the apartment model or apartment diagram, and the obtained signal coverage situation cannot truly reflect the signal coverage situation in the actual scene. The method includes: according to the device posture information of the signal strength detection device, the first position information of the current detection point is determined and calibrated to obtain the second position information of the current detection point; the device posture information is combined with the inertial measurement data of the signal strength detection device to determine the device orientation of the signal strength detection device; according to the second position information and the device orientation information, the real-time path point of the current detection point on the detection path is drawn; according to the signal strength information collected by the signal strength detection device at the current detection point, the corresponding signal strength thermal area is generated at the real-time path point.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal strength detection, and in particular to an indoor signal strength detection method and device based on ARCore. Background Art

[0002] With the popularity of smart phones and the development of wireless Wi-Fi networks, people have higher and higher requirements for the quality of indoor wireless network coverage. Currently, commonly used AC+AP and multi-router networking are all aimed at improving the quality of indoor wireless network coverage. Good indoor wireless network coverage is the basis for improving indoor wireless Internet experience. Therefore, understanding the indoor Wi-Fi signal coverage is conducive to optimizing the indoor Wi-Fi coverage quality with fewer devices.

[0003] Currently, there are two main ways to detect indoor Wi-Fi signal coverage: one is to use a floor plan model, in which walls, windows, doors, etc. can be identified in a two-dimensional floor plan, and a specific algorithm can be used to simulate the indoor Wi-Fi signal heat map when the location of the router or AP is known. The advantage of this method is that it can quickly generate an indoor Wi-Fi signal heat map. The disadvantage is that it takes a lot of manpower to generate the floor plan model, and the simulated signal heat map is not a field measurement and may not match the actual scene.

[0004] The second method does not require a floor plan model, but only requires a floor plan picture. Test points are added to the floor plan, and the Wi-Fi signal strength of each test point is tested. The indoor Wi-Fi signal heat map is simulated through a specific algorithm based on the location of the router or AP and the test point signal. The advantage of this method is that the generated indoor Wi-Fi signal heat map is based on the Wi-Fi signal data measured in the field. The disadvantage is that the floor plan picture needs to be recognized, and the recognition effect is greatly affected by the floor plan picture. For example, if the hand-drawn floor plan is not standardized, the heat map generated in the end may not be able to intuitively express the Wi-Fi signal coverage; and this method only detects the signal strength of the set test points, and other areas are generated through algorithm simulation, which may still be different from the actual scene.

[0005] In summary, the current indoor Wi-Fi signal coverage detection method cannot be separated from the apartment model or floor plan, and the obtained signal coverage heat map is also generated through algorithm simulation, which cannot truly reflect the signal coverage in actual scenarios. Summary of the invention

[0006] The embodiment of the present invention provides an indoor signal strength detection method and device based on ARCore, which are used to solve the following technical problems: the current indoor Wi-Fi signal coverage status detection method cannot be separated from the house model or house plan, and the obtained signal coverage status cannot truly reflect the signal coverage status in the actual scene.

[0007] The embodiment of the present invention adopts the following technical solutions:

[0008] On the one hand, an embodiment of the present invention provides an indoor signal strength detection method based on ARCore, the method comprising: during indoor signal strength detection, determining the first position information of the current detection point according to the device posture information of the signal strength detection device; wherein the device posture information at least includes spatial feature point information; based on the distance measurement data between the current detection point and the previous detection point, calibrating the first position information of the current detection point to obtain the second position information of the current detection point; combining the device posture information with the inertial measurement data of the signal strength detection device to determine the device orientation of the signal strength detection device at the current detection point; according to the second position information and the device orientation, drawing the real-time path point of the current detection point on the detection path in the visualization screen of the signal strength detection device; according to the signal strength information collected by the signal strength detection device at the current detection point, generating a corresponding signal strength thermal area at the real-time path point; after the indoor signal strength detection is completed, obtaining the indoor signal coverage information based on the signal coverage heat map formed by the signal strength thermal areas of all path points in the visualization screen; wherein the signal coverage information at least includes the signal coverage rate and the network signal quality.

[0009] In a feasible implementation manner, based on the distance measurement data between the current detection point and the previous detection point, the first position information of the current detection point is calibrated to obtain the second position information of the current detection point, specifically including: measuring the distance between the first position information of the current detection point and the position information of the stored previous detection point to obtain the distance measurement data; if the distance measurement data is greater than or equal to a first preset threshold, the first position information is determined to be erroneous position information; at this time, the operator is prompted to rotate the signal strength detection device, and the spatial feature point information around the current detection point is re-identified through the ARCore software; based on the re-identified spatial feature point information, the position information of the current detection point is recalculated, and the distance between the current detection point and the previous detection point is recalculated until the distance is less than the first preset threshold, and the position information at this time is determined as the second position information of the current detection point; if the number of valid spatial feature points obtained at the current detection point is lower than the second preset threshold, the signal strength detection is automatically paused, and the pause point position is marked in the detection path layer; after the ARCore software detects enough valid spatial feature points again, the signal strength detection is restarted, and the restart point position is marked in the detection path layer.

[0010] In a feasible implementation, the device posture information is combined with the inertial measurement data of the signal strength detection device to determine the device orientation of the signal strength detection device at the current detection point, specifically including: extracting the rotation quaternion of the signal strength detection device in the three-dimensional space coordinate system from the device posture information; wherein the three-dimensional space coordinate system is a right-handed coordinate system established with the starting position of the signal strength detection device as the origin, and the y-axis is the direction perpendicular to the ground; according to the rotation quaternion, calculating the first angle value of the signal strength detection device rotating around the y-axis; collecting the inertial measurement data of the signal strength detection device through an inertial sensor installed on the signal strength detection device; obtaining the azimuth of the signal strength detection device from the inertial measurement data; according to the azimuth, optimizing the first angle value to obtain the second angle value of the signal strength detection device rotating around the y-axis; determining the device orientation of the current detection point according to the second angle value of the signal strength detection device rotating around the y-axis and the initial orientation of the signal strength detection device.

[0011] In a feasible implementation manner, the first angle value is optimized according to the azimuth to obtain a second angle value of the signal strength detection device rotated around the y-axis, specifically including: when the azimuth angle is less than or equal to 90 degrees, the second angle value is equal to the first angle value; when the azimuth angle is greater than 90 degrees and the first angle value is greater than or equal to 0 degrees, the second angle value γ is obtained by γ=180-α*(-1); wherein α is the first angle value; when the azimuth angle is greater than 90 degrees and the first angle value is less than 0 degrees, the second angle value γ is obtained by γ=180-α*(-1).

[0012] In a feasible implementation, the first position information of the current detection point is determined according to the device posture information of the signal strength detection device, specifically including: collecting spatial feature point information around the current detection point through ARCore software loaded in the signal strength detection device; determining the translation components tx, ty and tz of the signal strength detection device in the x-axis, y-axis and z-axis compared to the starting position according to the spatial feature point information, and obtaining the three-dimensional spatial coordinates of the current detection point; projecting the three-dimensional spatial coordinates into the screen coordinate system to obtain the first position information of the current detection point in the display screen of the signal strength detection device.

[0013] In a feasible implementation, based on the signal strength information collected by the signal strength detection device at the current detection point, a corresponding signal strength thermal area is generated at the real-time path point, specifically including: obtaining the signal strength information of the current detection point through the signal strength detection device; wherein the signal strength detection device performs signal strength detection at a preset detection frequency; based on the signal strength information of the current detection point, searching for the corresponding thermal mapping color in a preset signal strength-color comparison table; rendering the thermal mapping color to the real-time path point with the real-time path point as the center and the preset rendering radius as the radius to obtain the corresponding signal strength thermal area; processing the junction of the signal strength thermal area of ​​the real-time path point and the signal strength thermal area of ​​the previous path point as a color gradient transition effect.

[0014] In a feasible implementation, after searching for the corresponding thermal mapping color in a preset signal strength-color comparison table based on the signal strength information of the current detection point, the method further includes: storing a thermal binding record of the second position information of each detection point and the thermal mapping color, and recording the storage time; after receiving an instruction to reproduce the thermal map within a specified time period, retrieving the stored thermal binding record within the specified time period; based on the thermal binding record, generating signal strength thermal areas corresponding to each second position information in the visualization screen to reproduce the signal coverage thermal map within the specified time period.

[0015] In a feasible implementation, after generating a corresponding signal strength thermal area at the real-time path point based on the signal strength information collected by the signal strength detection device at the current detection point, the method further includes: if a Wi-Fi signal switch occurs when the signal strength detection device moves to the current detection point, marking a Wi-Fi signal switching mark at the corresponding real-time path point position; if a Wi-Fi frequency band switch occurs when the signal strength detection device moves to the current detection point, marking a Wi-Fi frequency band switching mark at the corresponding real-time path point position; if the position of the current detection point overlaps with the previous detection point position, overwriting the original thermal mapping color with the thermal mapping color corresponding to the current detection point to update the signal strength thermal area at the current position.

[0016] In a feasible embodiment, after the indoor signal strength detection is completed, the method also includes: when performing indoor signal strength detection in a multi-story building, recording the floor number of each detected floor, and associating the floor number with the corresponding signal coverage heat map; generating the z coordinate value of each path point in the signal coverage heat map according to the floor number associated with the signal coverage heat map; wherein the z coordinate values ​​of the signal coverage heat maps of adjacent floors differ by a preset value, and the z coordinate values ​​of all path points in the signal coverage heat map of the same floor are the same; according to the x coordinate value and y coordinate value of each path point in each signal coverage heat map in the screen coordinate system, and the corresponding z coordinate value, the signal coverage heat map of each floor is converted into a three-dimensional coordinate system to obtain a signal coverage thermal stereo map of the multi-story building.

[0017] On the other hand, an embodiment of the present invention also provides an indoor signal strength detection device based on ARCore, the device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, so that the at least one processor can execute an indoor signal strength detection method based on ARCore as described in any of the above embodiments.

[0018] Compared with the prior art, the indoor signal strength detection method and device based on ARCore provided by the embodiment of the present invention have the following beneficial effects:

[0019] The indoor signal strength detection method provided by the present invention does not require dedicated personnel to generate a floor plan model, nor does it require identification of floor plan pictures, because the purpose of the floor plan is to more intuitively understand the signal strength of a certain point in the indoor space, so only the rough outline of the space is needed to obtain the signal strength in the space. For example, the present invention only needs to carry a signal strength detection device in a room and walk along the wall and then walk back and forth in the room to obtain the signal coverage heat map of the entire room, so as to directly understand the Wi-Fi signal coverage in the room on the screen of the signal strength detection device. In addition, the present invention can also draw a three-dimensional heat map of signal coverage of a multi-story building, and can intuitively see the signal coverage in the entire building.

[0020] The heat maps finally drawn by the present invention are all obtained through actual scene measurements, not through calculations, so the signal detection results are more realistic, more referenceable, and more in line with real scenes. Although the present invention does not require a floor plan model or picture, the actual floor plan can also be displayed on the base map of the heat map, and the Wi-Fi signal heat map is drawn when the device moves. The final heat map is displayed by superimposing the floor plan, which can be more intuitive and more authentic. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0022] Figure 1 A flow chart of an indoor signal strength detection method based on ARCore provided by an embodiment of the present invention;

[0023] Figure 2 A schematic diagram of a detection path provided by an embodiment of the present invention;

[0024] Figure 3 A schematic diagram of a signal strength thermal area of ​​a current detection point provided by an embodiment of the present invention;

[0025] Figure 4 A schematic diagram of the structure of an indoor signal strength detection device based on ARCore provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0027] The embodiment of the present invention provides an indoor signal strength detection method based on ARCore, such as Figure 1 As shown, the indoor signal strength detection method based on ARCore specifically includes steps S101-S106:

[0028] S101: During indoor signal strength detection, determine first position information of a current detection point according to device posture information of a signal strength detection device, wherein the device posture information at least includes spatial feature point information.

[0029] Specifically, the present invention installs ARCore software in the signal strength detection device, and through the ARCore software, the spatial feature point information is extracted in real time in the picture captured by the camera of the signal strength detection device. Then, according to the spatial feature point information, the translation components tx, ty and tz of the signal strength detection device in the x-axis, y-axis and z-axis compared to the starting position are determined to obtain the three-dimensional spatial coordinates of the current detection point. And the three-dimensional spatial coordinates are projected into the screen coordinate system to obtain the first position information of the current detection point in the display screen of the signal strength detection device.

[0030] As a feasible implementation method, the owner or tester holds the signal strength detection device provided by the present invention and turns on the ARCore software. When the detection is started, the device automatically marks the "starting point" position in the path layer, and the "router" position can be marked on the path layer according to the relative distance during movement. The ARCore software can obtain the real-time location information of the device through the spatial feature point information. When moving to a specific area indoors, you can manually mark the space category, such as "bedroom", "living room", "conference room", etc. After the detection is completed, the device automatically marks the "end point" position. The positioning accuracy of the ARCore software in indoor space can reach the centimeter level, which is conducive to building an indoor space distribution map by carrying the device.

[0031] S102: Calibrate the first position information of the current detection point based on the distance measurement data between the current detection point and the previous detection point to obtain the second position information of the current detection point.

[0032] Specifically, the first position information of the current detection point and the position information of the last detection point stored are measured to obtain distance measurement data. If the distance measurement data is greater than or equal to a first preset threshold, the first position information is determined to be erroneous position information;

[0033] At this time, the operator is prompted to rotate the signal strength detection device and re-identify the spatial feature point information around the current detection point through the ARCore software; based on the re-identified spatial feature point information, the position information of the current detection point is recalculated, and the distance between the current detection point and the previous detection point is recalculated until the distance is less than the first preset threshold, and the position information at this time is determined as the second position information of the current detection point.

[0034] As a feasible implementation method, in actual applications, ARCore software may make mistakes in identifying spatial feature points, which is manifested as the path being drawn suddenly drifting to a point far away and connected to the previously drawn path by a straight line, resulting in inaccurate detection path. This situation is very detrimental to the accuracy of the detection results, so the present invention proposes a path calibration solution:

[0035] 1. Starting from the detection starting point, a temporary variable is used to store the position of the last detection point LP (Lx, Ly). Since there is no last detection point at the starting point, LP stores the starting point position information at the starting point.

[0036] 2. When the device moves to draw a new path point, the distance is measured based on the first position coordinates NP (Nx, Ny) of the current detection point and LP. If the distance is greater than or equal to the threshold D, it is considered that the first position information of the current detection point is abnormal. At this time, the device does not draw the path point on the path layer, but reminds the user to rotate the device to re-identify the surrounding environment, re-collect valid spatial feature points for position identification, and repeat the above process until the distance measurement result is less than the threshold D, then the path point can be drawn and detection can continue.

[0037] Furthermore, if the number of valid spatial feature points obtained at the current detection point is lower than a second preset threshold, the detection is automatically paused, and the pause point position is marked in the detection path layer; after receiving the restart instruction, the restart point position is marked in the detection path layer.

[0038] As a feasible implementation method, during the detection process, if the user moves in a scene with very few spatial feature points, the current position point may not be identified due to the lack of feature points, and the detection path cannot be drawn normally. Therefore, the present invention provides the functions of "pause detection" and "restart detection". In particular, in the event of the above-mentioned path point recognition error, even if re-identified, the exact position of the current detection point may not be re-identified due to the lack of feature points. At this time, the signal strength detection can be paused first, and then the detection can be restarted after moving to a position with more feature points.

[0039] For example, if there is a corridor with pure white walls in the indoor space, or there is no light in this corridor at night, ARCore cannot obtain valid spatial feature points. When a path point recognition error occurs, the device reminds the user to rotate the device to re-identify the surrounding environment, but if the path cannot be drawn, the device can automatically pause signal strength detection and restart signal strength detection and path drawing after ARCore software detects valid spatial feature points. The pause point and restart point can be marked on the path layer.

[0040] S103: Combine the device posture information with the inertial measurement data of the signal strength detection device to determine the device orientation of the signal strength detection device at the current detection point.

[0041] Specifically, in the device posture information, the rotation quaternion of the signal strength detection device in the three-dimensional space coordinate system is extracted; wherein the three-dimensional space coordinate system is a right-handed coordinate system established with the starting position of the signal strength detection device as the origin, and the y-axis is the direction perpendicular to the ground.

[0042] Further, a first angle value of the signal strength detection device rotating around the y-axis is calculated according to the rotation quaternion. Then, an inertial sensor installed on the signal strength detection device is used to collect inertial measurement data of the signal strength detection device, and the azimuth of the signal strength detection device is obtained from the inertial measurement data.

[0043] Further, the first angle value is optimized according to the azimuth to obtain a second angle value of the signal strength detection device rotated around the y-axis. Then, the device orientation of the current detection point is determined according to the second angle value of the signal strength detection device rotated around the y-axis and the initial orientation of the signal strength detection device.

[0044] According to the azimuth angle, the first angle value is optimized to obtain the second angle value of the signal strength detection device rotating around the y-axis. The specific acquisition method is:

[0045] When the azimuth angle is less than or equal to 90 degrees, the second angle value is equal to the first angle value; when the azimuth angle is greater than 90 degrees and the first angle value is greater than or equal to 0 degrees, the second angle value γ is obtained by γ=(180-α)*(-1); where α is the first angle value. When the azimuth angle is greater than 90 degrees and the first angle value is less than 0 degrees, the second angle value γ is obtained by γ=180-α*(-1).

[0046] As a feasible implementation method, the rotation quaternions qx, qy, qz and qw of the device in the real three-dimensional space are extracted through the acquired posture information, and the rotation quaternions are used to calculate the orientation of the device in the two-dimensional plane. To calculate the orientation of the device, the rotation quaternions need to be converted into Euler angles. Euler angles refer to three angles of rotation around the x-axis, y-axis and z-axis respectively. The calculation method is as follows:

[0047] roll=Math.atan2(2.0*(qw*qx+qy*qz),1.0-2.0*(qx*qx+qy*qy));

[0048] pitch=Math.asin(2.0*(qw*qy-qz*qx));

[0049] yaw=Math.atan2(2.0*(qw*qz+qx*qy),1.0-2.0*(qy*qy+qz*qz));

[0050] Among them, roll, pitch, and yaw represent the rotation angles of the device around the x-axis, y-axis, and z-axis respectively. The angles here are in radians. The calculated results can be converted to the actual rotation angles by multiplying by 180 / π.

[0051] The signal detection device provided by the present invention is an Android device, which uses a right-handed coordinate system. When we naturally lift the device, the device is x-axis from left to right, y-axis from bottom to top, and z-axis from inside the screen to outside the screen. When the device is rotated left and right to shoot the surrounding scene, the angle pitch rotated around the y-axis is the rotation angle of the device in the two-dimensional plane that we want to calculate. It can be calculated by the pitch calculation formula provided above. The calculation angle range of Math.asin(2.0*(qw*qy-qz*qx)) is [-π / 2,π / 2], that is, [-90°,90°], while the actual rotation angle range of the device is [-180°,180°]. The actual rotation angle range of the device cannot be fully covered by the Euler angle pitch alone. Once the rotation angle of the device exceeds the calculation range of the pitch, the result obtained will be an incorrect result.

[0052] Therefore, the present invention introduces an inertial sensor for data-assisted judgment. The inertial sensor can obtain an array containing azimuth, tilt angle, and roll angle. By judging whether the azimuth angle is greater than 90°, the calculation result of the pitch is optimized:

[0053] Assume that the calculation result of Math.asin(2.0*(qw*qy-qz*qx)) is α, and the azimuth angle obtained by the inertial sensor is β. When β<=90°, the actual angle of rotation of the device in the two-dimensional plane is γ=α; when β>90°, if α>=0°, then γ=(180-α)*(-1); if α<0°, then γ=180-α*(-1). After the above conversion, the final rotation angle calculation result can be expanded to the range of [-180°, 180°], fully covering the actual rotation angle range of the device.

[0054] S104: Draw a real-time path point of the current detection point on the detection path on a visualization screen of the signal strength detection device according to the second position information and the device orientation.

[0055] Specifically, since the position of the starting detection point is recorded when the detection begins, after obtaining the second position information and device orientation of the signal strength detection device at the current moment, the relative position of the current detection point of the signal strength detection device and the starting detection point can be obtained, thereby drawing the path point of the current detection point in the screen coordinate system, connecting it to the previous path point through a straight line, and connecting it to the previously drawn path to form a real-time detection path, and indicating the orientation of the device in real time through graphics in the detection path layer.

[0056] In one embodiment, Figure 2 A detection path schematic diagram provided by an embodiment of the present invention, such as Figure 2 As shown in the figure, the dot in the figure indicates the location of the current detection point, and a radial area is used to indicate the direction of the device at the current detection point and the next movement direction. As the signal strength detection device moves, a detection path is drawn in the detection path layer.

[0057] S105. Generate a corresponding signal strength thermal zone at the real-time path point according to the signal strength information collected by the signal strength detection device at the current detection point.

[0058] Specifically, the signal strength information of the current detection point is obtained through a signal strength detection device, wherein the signal strength detection device performs signal strength detection according to a preset detection frequency. Then, according to the signal strength information of the current detection point, the corresponding thermal mapping color is searched in a preset signal strength-color comparison table.

[0059] As a feasible implementation method, the signal strength acquisition program provided by the present invention supports setting the signal strength acquisition frequency. ARCore will process each frame of the camera data, and the camera data processing frequency can also be customized. Therefore, the signal strength acquisition frequency can be synchronized with the camera data processing frequency of ARCore, and is not less than 1 second / time. A comparison relationship table of different signal strengths and different colors is also pre-stored in the signal strength detection device. According to the preset signal strength and color comparison table, the mapping color corresponding to the current Wi-Fi signal strength can be found.

[0060] Furthermore, with the real-time path point as the center and the preset rendering radius as the radius, the heat map color is rendered to the real-time path point to obtain the corresponding signal strength heat map. After the indoor signal strength detection is completed, the signal strength heat map of all path points in the visualization screen forms a complete signal coverage heat map.

[0061] As a feasible implementation method, the drawn signal coverage heat map supports panning and zooming, and supports locking the device orientation and locking the map.

[0062] As a feasible implementation method, Figure 3 A schematic diagram of the signal strength thermal area of ​​a current detection point provided by an embodiment of the present invention, such as Figure 3 As shown in the figure, the dot in the figure is the current detection point. First, according to the preset rendering radius, the heat map color corresponding to the current signal strength is rendered to the real-time path point to form a circular rendering area with the real-time path point as the center.

[0063] For example, set the rendering radius to 1.5 meters and convert 1.5 meters to the pixel distance Rx in the screen coordinate system. The current Wi-Fi signal strength is detected to be -53dBm, and the corresponding thermal mapping color is #FBA906. The current detection point of the device is at (x, y), so the signal strength thermal area of ​​the current detection point is a circle with a radius of Rx pixels at the (x, y) position, and the pixel color is #FBA906.

[0064] Furthermore, the boundary between the signal strength thermal zone of the real-time path point and the signal strength thermal zone of the previous path point is processed as a color gradient transition effect.

[0065] As a feasible implementation method, in order to make the transition of signal strength thermal areas between adjacent path points more natural, the present invention processes the overlapping parts of the signal strength thermal areas of adjacent path points into a color gradient effect through a pixel value calculation method, which can make the final thermal map more beautiful.

[0066] Furthermore, the thermal binding record of the second position information of each detection point and the thermal mapping color is stored, and the storage time is recorded. After receiving the thermal map reproduction instruction within the specified time period, the stored thermal binding record within the specified time period is retrieved.

[0067] According to the thermal binding records, a signal strength thermal area corresponding to each second position information is generated in the visualization screen to reproduce the signal coverage thermal map within the specified time period.

[0068] By binding and storing the location information and mapping color during the detection process, the signal coverage heat map in any time period can be reproduced at any time, which can meet the user's needs to view the historical signal coverage conditions indoors.

[0069] Furthermore, if a Wi-Fi signal switch occurs during the movement of the signal strength detection device, a Wi-Fi signal switch mark is marked at the real-time path point position at the time of the switch. If a Wi-Fi frequency band switch occurs during the movement of the signal strength detection device, a Wi-Fi frequency band switch mark is marked at the corresponding real-time path point position.

[0070] If the position of the current detection point overlaps with the position of the previous detection point, the original thermal mapping color is overwritten by the thermal mapping color corresponding to the current detection point, and the signal strength thermal area of ​​the current position is updated.

[0071] As a feasible implementation method, the detection point position duplication includes two situations, one is that the current detection point completely overlaps with the position of a detection point on the existing detection path, and the other is that the overlap area of ​​the signal strength thermal area of ​​the current detection point and the signal strength thermal area of ​​the previous detection point exceeds 1 / 2 of the total area of ​​the signal strength thermal area. In both cases, the original thermal mapping color is covered by the thermal mapping color corresponding to the current detection point. If the overlap area of ​​the thermal areas of the two detection points does not exceed 1 / 2 of the total area of ​​the signal strength thermal area, the color processing of the overlapping part is performed according to the above gradient processing method.

[0072] S106: After the indoor signal strength detection is completed, based on the signal coverage heat map formed by the signal strength heat areas of all path points on the visualization screen, obtain indoor signal coverage information, wherein the signal coverage information at least includes signal coverage rate and network signal quality.

[0073] Specifically, after the indoor signal strength detection is completed, a signal coverage heat map covering the entire indoor apartment will be displayed on the screen of the signal strength detection device. Different positions in the map will appear in different colors, representing the strength relationship of the signal.

[0074] By analyzing the signal strength in the signal coverage heat map, as well as the coverage rate and coverage location of strong signals, you can know whether the current indoor network signal coverage rate and network signal quality meet the standards, and see at a glance which location has better network signal quality. Based on the analysis results, you can improve the indoor signal coverage in a more targeted manner.

[0075] As a feasible implementation method, the above process is a method for performing signal strength detection in a single-story flat building. This method can also be applied to signal strength detection in multi-story buildings such as villas and single-family houses.

[0076] When performing indoor signal strength detection in a multi-story building, the floor number of the current detection floor can be entered into the device, and the floor number can be associated with the final signal coverage heat map. Then, according to the floor number associated with the signal coverage heat map, the z coordinate value of each path point in the signal coverage heat map is generated. Among them, the z coordinate values ​​of the signal coverage heat map of adjacent floors differ by a preset value, and the z coordinate values ​​of all path points in the signal coverage heat map of the same floor are the same.

[0077] Then, according to the x-coordinate value and y-coordinate value of each path point in the screen coordinate system of each signal coverage heat map, and the corresponding z-coordinate value mentioned above, the signal coverage heat map of each floor is converted into a three-dimensional coordinate system to obtain a signal coverage thermal stereogram of a multi-story building.

[0078] In one embodiment, when detecting the indoor signal strength distribution of a three-story building, a handheld signal strength detection device is used to perform mobile detection on each floor to obtain a signal coverage heat map for each floor. Then, based on the floor number "1" of the first floor, the z coordinate of each path point in the corresponding signal coverage heat map is automatically generated as z0; the z coordinate of each path point in the signal coverage heat map corresponding to the second floor is z0+d, and the z coordinate of each path point in the signal coverage heat map corresponding to the third floor is z0+2d. Then, based on the original x and y values ​​of each path point in the screen coordinate system, combined with the z value generated above, the signal coverage heat map is converted to a three-dimensional coordinate system to form a three-layer stereoscopic heat map.

[0079] Wherein, d is a preset value, which is obtained by obtaining the actual distance between each floor of the current multi-story building, and then converting the actual distance into a pixel distance in the screen coordinate system to obtain the preset value d.

[0080] As a feasible implementation method, some corners of the room cannot be reached by handheld signal detection equipment due to the accumulation of debris or furniture, resulting in some detection blind spots on the signal coverage heat map. In view of this situation, the present invention also provides corresponding solutions:

[0081] First, the network setting information of the router currently placed indoors is obtained, including the frequency band F, transmission power B, etc., and then the measured signal strength value S of the adjacent detection point of the position point to be estimated is obtained.

[0082] Subtract the measured signal strength value S from the transmission power B to obtain the propagation loss value L at the adjacent detection point. Then, according to the actual signal propagation loss formula: L = 32.5 + 20lgF + 20lgD + L1, the obstacle penetration loss value calculation formula is obtained: L1 = L-(32.5 + 20lgF + 20lgD); where D is the straight-line distance between the adjacent detection point and the router placement location.

[0083] Furthermore, the frequency band F of the router obtained above, the calculated propagation loss value L, and the straight-line distance between the adjacent detection point and the router are substituted into the obstacle penetration loss calculation formula L1 to obtain the obstacle penetration loss value L1 of the position point to be estimated.

[0084] Further, obtain the straight-line distance D' between the position to be estimated and the router, and substitute L' =

[0085] 32.5+20lgF+20lgD'+L1, the propagation loss L' of the position to be estimated is calculated, and then according to S'=B-L', the estimated signal strength value S' of the position to be estimated is obtained.

[0086] Through the above method, the signal strength value of the indoor location that cannot be detected by human power can be calculated, and the penetration loss of the location to be estimated can be estimated through the signal strength value of the actual detection point closest to the location to be estimated. The penetration loss result obtained in this way is very accurate, and the estimated signal strength value of the location to be estimated is also very accurate.

[0087] Through the method of large-area actual detection + small-area dead spot estimation detection, we can obtain a highly realistic indoor signal coverage distribution heat map, which helps users intuitively understand the current indoor signal distribution situation, and is extremely authentic and referenceable.

[0088] In addition, an embodiment of the present invention further provides an indoor signal strength detection device based on ARCore. Figure 4 A schematic diagram of the basic structure of an indoor signal strength detection device based on ARCore provided by an embodiment of the present invention, such as Figure 4 As shown, the indoor signal strength detection device 400 based on ARCore specifically includes:

[0089] At least one processor 401; and a memory 402 in communication with the at least one processor 401; wherein the memory 402 stores instructions executable by the at least one processor, so that the at least one processor 401 can execute:

[0090] During indoor signal strength detection, first position information of a current detection point is determined according to device posture information of a signal strength detection device; wherein the device posture information includes at least spatial feature point information;

[0091] Based on the distance measurement data between the current detection point and the previous detection point, calibrate the first position information of the current detection point to obtain the second position information of the current detection point;

[0092] Combining the device posture information with the inertial measurement data of the signal strength detection device to determine the device orientation of the signal strength detection device at the current detection point;

[0093] Drawing a real-time path point of a current detection point on a detection path on a visualization screen of the signal strength detection device according to the second position information and the device orientation;

[0094] generating a corresponding signal strength thermal zone at the real-time path point according to the signal strength information collected by the signal strength detection device at the current detection point;

[0095] After the indoor signal strength detection is completed, the indoor signal coverage information is obtained based on the signal coverage heat map formed by the signal strength thermal areas of all path points in the visualization screen; wherein the signal coverage information at least includes the signal coverage rate and the network signal quality.

[0096] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0097] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0098] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.

Claims

1. A method for detecting indoor signal strength based on ARCore, characterized in that: The method comprises: During indoor signal strength detection, first position information of a current detection point is determined based on device posture information of the signal strength detection device; wherein the device posture information includes at least spatial feature point information; Based on the distance measurement data between the current detection point and the previous detection point, the first position information of the current detection point is calibrated to obtain the second position information of the current detection point, specifically including: performing distance measurement on the first position information of the current detection point and the stored position information of the previous detection point to obtain the distance measurement data; If the distance measurement data is greater than or equal to a first preset threshold, the first location information is determined to be erroneous location information; At this time, the operator is prompted to rotate the signal strength detection device and re-identify the spatial feature point information around the current detection point through the ARCore software; Recalculating the position information of the current detection point based on the re-identified spatial feature point information, and recalculating the distance between the current detection point and the previous detection point until the distance is less than a first preset threshold, and determining the position information at this time as the second position information of the current detection point; If the number of valid spatial feature points obtained at the current detection point is lower than the second preset threshold, the signal strength detection is automatically paused, and the pause point position is marked in the detection path layer; After the ARCore software detects enough valid spatial feature points again, it restarts the signal strength detection and marks the restart point position in the detection path layer; Combining the device posture information with the inertial measurement data of the signal strength detection device to determine the device orientation of the signal strength detection device at the current detection point specifically includes: Extracting, from the device posture information, a rotation quaternion of the signal strength detection device in a three-dimensional spatial coordinate system; wherein the three-dimensional spatial coordinate system is a right-handed coordinate system established with the starting position of the signal strength detection device as the origin, and the y-axis is a direction perpendicular to the ground; Calculating a first angle value of the signal strength detection device rotated around the y-axis according to the rotation quaternion; collecting inertial measurement data of the signal strength detection device through an inertial sensor installed on the signal strength detection device; and obtaining an azimuth angle of the signal strength detection device from the inertial measurement data; Optimizing the first angle value according to the azimuth to obtain a second angle value of the signal strength detection device rotated around the y-axis; determining the device orientation of the current detection point according to the second angle value of the signal strength detection device rotated around the y-axis and the initial orientation of the signal strength detection device; Drawing a real-time path point of a current detection point on a detection path on a visualization screen of the signal strength detection device according to the second position information and the device orientation; generating a corresponding signal strength thermal zone at the real-time path point based on the signal strength information collected by the signal strength detection device at the current detection point; After the indoor signal strength detection is completed, the indoor signal coverage information is obtained based on the signal coverage heat map formed by the signal strength heat areas of all path points in the visualization screen; wherein, the signal coverage information at least includes the signal coverage rate and the network signal quality.

2. The indoor signal strength detection method based on ARCore according to claim 1, characterized in that: Optimizing the first angle value according to the azimuth to obtain a second angle value of the signal strength detection device rotated around the y-axis specifically includes: When the azimuth angle is less than or equal to 90 degrees, the second angle value is equal to the first angle value; When the azimuth angle is greater than 90 degrees and the first angle value is greater than or equal to 0 degrees, =(180- )* (-1), to obtain the second angle value ;in, is the first angle value; When the azimuth angle is greater than 90 degrees and the first angle value is less than 0 degrees, =180- *(-1), get the second angle value .

3. The indoor signal strength detection method based on ARCore according to claim 1, characterized in that: Determining first position information of a current detection point based on device posture information of the signal strength detection device specifically includes: The ARCore software loaded in the signal strength detection device collects spatial feature point information around the current detection point; Determine, based on the spatial feature point information, the translation components tx, ty, and tz of the signal strength detection device on the x-axis, y-axis, and z-axis relative to the starting position, and obtain the three-dimensional spatial coordinates of the current detection point; The three-dimensional space coordinates are projected into a screen coordinate system to obtain first position information of the current detection point on the display screen of the signal strength detection device.

4. The indoor signal strength detection method based on ARCore according to claim 1, characterized in that: Generating a corresponding signal strength thermal zone at the real-time path point based on the signal strength information collected by the signal strength detection device at the current detection point specifically includes: Obtaining signal strength information of the current detection point through the signal strength detection device; wherein the signal strength detection device performs signal strength detection according to a preset detection frequency; According to the signal strength information of the current detection point, the corresponding thermal mapping color is found in the preset signal strength-color comparison table; Taking the real-time path point as the center and the preset rendering radius as the radius, the heat map color is rendered to the real-time path point to obtain the corresponding signal strength heat area; The intersection of the signal strength thermal zone of the real-time path point and the signal strength thermal zone of the previous path point is processed into a color gradient transition effect.

5. The indoor signal strength detection method based on ARCore according to claim 4, characterized in that: After searching a preset signal strength-color comparison table for a corresponding thermal mapping color based on the signal strength information of the current detection point, the method further includes: Storing the thermal binding record of the second position information of each detection point and the thermal mapping color, and recording the storage time; After receiving a heat map reproduction instruction within a specified time period, retrieving the stored heat binding records within the specified time period; According to the thermal binding record, a signal strength thermal area corresponding to each second position information is generated in the visualization screen to reproduce the signal coverage thermal map within the specified time period.

6. The indoor signal strength detection method based on ARCore according to claim 5, characterized in that: After generating a corresponding signal strength thermal zone at the real-time path point based on the signal strength information collected by the signal strength detection device at the current detection point, the method further includes: If a Wi-Fi signal switch occurs when the signal strength detection device moves to the current detection point, a Wi-Fi signal switch mark is marked at the corresponding real-time path point position; If a Wi-Fi frequency band switch occurs when the signal strength detection device moves to the current detection point, a Wi-Fi frequency band switch mark is marked at the corresponding real-time path point position; If the current detection point is located at the same position as the previous detection point, the original thermal map color is overwritten with the thermal map color corresponding to the current detection point, and the signal strength thermal area of ​​the current position is updated.

7. The indoor signal strength detection method based on ARCore according to claim 1, characterized in that: After the indoor signal strength detection is completed, the method further includes: When performing indoor signal strength testing in a multi-story building, record the floor number of each tested floor and associate the floor number with the corresponding signal coverage heat map; Generating z-coordinate values ​​of each path point in the signal coverage heat map according to the floor number associated with the signal coverage heat map; wherein the z-coordinate values ​​of the signal coverage heat maps of adjacent floors differ by a preset value, and the z-coordinate values ​​of all path points in the signal coverage heat map of the same floor are the same; According to the x-coordinate value and y-coordinate value of each path point in the screen coordinate system of each signal coverage heat map, and the corresponding z-coordinate value, the signal coverage heat map of each floor is converted into a three-dimensional coordinate system to obtain the signal coverage thermal stereogram of the multi-story building.

8. An indoor signal strength detection device based on ARCore, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, so that the at least one processor can execute the indoor signal strength detection method based on ARCore according to any one of claims 1 to 7.