Signal quality detection method and apparatus, storage medium, and electronic device
Patent Information
- Application Number
- CN202311287680.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-07
- Publication Date
- 2026-11-03
- Estimated Expiration
- 2043-10-07
AI Technical Summary
Because satellite positioning signals cannot be received in buildings, the location information of signal acquisition points in the path to be detected in the building cannot be accurately obtained, which in turn affects the accuracy of building signal quality analysis.
By acquiring the coordinates of the start and end points of the path to be inspected, positioning is achieved using satellite imagery, and the movement information of the inspectors is obtained. The coordinates of the end point of each movement path are calculated, and the offset is used to correct the coordinates of the end point to determine the signal quality.
In situations where satellite positioning is not possible, accurately determining the coordinates of each signal quality detection point improves the accuracy of building signal quality analysis.
Smart Images

Figure CN117348042B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication, and more specifically, to a signal quality detection method, apparatus, storage medium, and electronic device. Background Technology
[0002] After the building is completed, wireless signal quality testing needs to be carried out in the building, such as 4G and 5G wireless signal quality testing. When conducting signal quality testing, it is necessary to determine the coordinate information of each signal quality testing point, so as to determine the signal quality under each coordinate information, and then analyze the signal quality of the building.
[0003] However, due to the special characteristics of some buildings, satellite signals cannot be received within them. This results in the wireless signal quality data acquisition equipment not having accurate location information for the wireless signal sampling points. Consequently, when conducting signal quality testing, it is impossible to accurately determine the true coordinates of the signal quality testing points, thus affecting the subsequent analysis results of the building's signal quality.
[0004] There is currently no effective solution to the problem that the inability to receive satellite positioning signals in buildings leads to the inability to accurately obtain the location information of signal acquisition points along the path to be detected in the building, thus affecting the accuracy of building signal quality analysis. Summary of the Invention
[0005] This application provides a signal quality detection method, apparatus, storage medium, and electronic device to solve the problem in related technologies that the inability to receive satellite positioning signals in buildings leads to the inability to accurately obtain the location information of signal acquisition points in the path to be detected in the building, thereby affecting the accuracy of building signal quality analysis.
[0006] According to one aspect of this application, a signal quality detection method is provided. The method includes: acquiring the start and end positions of a path to be detected, and determining the coordinate information of the start and end positions using satellite imagery, wherein the satellite imagery is satellite imagery of the path to be detected; acquiring movement information of each movement of a detection personnel from the start position to the end position, obtaining M sets of movement information, wherein each set of movement information includes at least: the termination time of reaching the end point of each movement path and the signal quality of the end point, where M is a positive integer; calculating the coordinates of the end point of each movement path based on the coordinate information of the start position and the M sets of movement information, obtaining M end point coordinates; calculating the offset between the coordinates of the end point of the last movement path and the coordinate information of the end position, and using the offset to correct the M end point coordinates, obtaining M updated coordinates; and determining the signal quality of each updated coordinate based on the correspondence between the end point coordinates and the updated coordinates, thereby obtaining signal quality information within the path to be detected.
[0007] Optionally, the movement information of the inspector moving from the starting position to the ending position is obtained, resulting in M sets of movement information, including: determining the time when the inspector reaches the end point of the movement path after completing the movement operation, thus obtaining the end time; determining whether the movement operation is the first movement operation, and if it is the first movement operation, measuring the angle between the movement path and the path to be detected using an angular momentum change detector; if it is not the first movement operation, measuring the angle between the movement path and the movement path of the previous movement operation using an angular momentum change detector; obtaining the signal detection requirements of the area to be detected to which the path to be detected belongs, determining the signal detection strategy based on the signal detection requirements, and detecting the signal quality at the end point using the signal detection strategy, thus obtaining the signal quality at the end point.
[0008] Optionally, calculating the coordinates of the endpoint of each movement path based on the coordinates of the starting position and M sets of movement information to obtain M endpoint coordinates includes: obtaining the movement information of the first path from the M sets of movement information, obtaining the first movement information, and calculating the angle between the path to be detected and the preset orientation to obtain the preset angle, wherein the first path is the movement path with the starting point at the starting position; calculating the angle between the first path and the preset orientation using the angle value in the first movement information and the preset angle to obtain the first angle, and determining the endpoint coordinates of the first path using the first angle and the path length of the first path, wherein the path length of the first path is the step length of the detection personnel; determining the endpoint coordinates of the first path as the starting point coordinates of the second path, and calculating the second angle of the second path based on the movement information of the second path and the first angle, and calculating the endpoint coordinates of the second path using the second angle and the starting point coordinates of the second path, and iteratively calculating the remaining paths to complete the calculation of the endpoint coordinates of each movement path, obtaining M endpoint coordinates, wherein the first path and the second path are connected.
[0009] Optionally, calculating the angle between the first path and the preset orientation using the angle value in the first movement information and the preset angle to obtain the first angle, and determining the coordinates of the end point of the first path using the first angle and the path length of the first path includes: adding or subtracting the angle value and the preset angle to obtain the first angle; using the path length of the first path as the hypotenuse to generate a triangle to obtain the target triangle; calculating the length of the opposite side and the length of the adjacent side of the first angle in the target triangle using the first angle and the path length of the first path; adding or subtracting the x-coordinate of the starting position coordinate information from the length of the opposite side to obtain the x-coordinate of the end point; and adding or subtracting the y-coordinate of the starting position coordinate information from the length of the adjacent side to obtain the y-coordinate of the end point.
[0010] Optionally, calculating the offset between the coordinates of the end point of the last movement path and the coordinates of the end point includes: calculating the difference between the x-coordinate of the end point of the last movement path and the x-coordinate of the end point to obtain a first x-coordinate offset; calculating the difference between the y-coordinate of the end point of the last movement path and the y-coordinate of the end point to obtain a first y-coordinate offset; dividing the first x-coordinate offset by M to obtain a second x-coordinate offset; dividing the first y-coordinate offset by M to obtain a second y-coordinate offset; and determining the second x-coordinate offset and the second y-coordinate offset as the offset.
[0011] Optionally, correcting the coordinates of the M termination points using offsets to obtain M updated coordinates includes: obtaining the sequence number of the movement path to which each termination point coordinate belongs, resulting in M sequence numbers; adding the x-coordinate of each termination point coordinate to a first product to obtain the updated x-coordinate of each termination point coordinate, where the first product is the product of the second x-coordinate offset and the sequence number corresponding to the termination point coordinate; adding the y-coordinate of each termination point coordinate to a second product to obtain the updated y-coordinate of each termination point coordinate, where the second product is the product of the second y-coordinate offset and the sequence number corresponding to the termination point coordinate; and combining the updated x-coordinate and updated y-coordinate of each termination point to obtain the updated coordinate of each termination point.
[0012] Optionally, determining the coordinate information of the starting and ending positions using satellite imagery includes: acquiring the area to be detected where the path to be detected is located, and acquiring satellite imagery and building floor plans of the area to be detected; combining the satellite imagery and building floor plans to obtain a map of the area to be detected; determining reference points for the starting and ending positions of the path to be detected, and determining the coordinate information of the reference points in the map to obtain the coordinate information of the starting and ending positions.
[0013] Optionally, before acquiring the movement information of each movement of the inspection personnel from the starting position to the ending position to obtain M sets of movement information, the method further includes: taking pictures of the inspection personnel's forward direction using a camera device equipped with the inspection personnel to obtain image information; determining whether there is a reference object for the ending position in the image information, and if there is a reference object for the ending position in the image information, determining the distance between the reference object for the ending position and the inspection personnel; if there is no reference object for the ending position in the image information, instructing the inspection personnel to continue moving along the path to be inspected; determining whether the distance between the reference object for the ending position and the inspection personnel is greater than or equal to a preset distance, and if the distance between the reference object for the ending position and the inspection personnel is less than the preset distance, instructing the inspection personnel to continue moving along the path to be inspected, and if the distance between the reference object for the ending position and the inspection personnel is greater than or equal to the preset distance, determining that the inspection personnel have reached the ending position.
[0014] Optionally, after obtaining the signal quality information within the path to be detected, the method further includes: when detecting the signal quality of the target path, calculating the length of each moving path in the path to be detected using M updated coordinates to obtain M updated lengths, wherein the target path and the path to be detected are connected end to end; calculating the average of the M updated lengths to obtain the average length, and determining the average length as the path length of each moving path in the target path.
[0015] According to another aspect of this application, a signal quality detection device is provided. The device includes: a first determining unit, configured to acquire the start and end positions of a path to be detected, and determine the coordinate information of the start and end positions using satellite imagery, wherein the satellite imagery is satellite imagery of the path to be detected; an acquiring unit, configured to acquire movement information of each movement of a detection personnel from the start position to the end position, obtaining M sets of movement information, wherein each set of movement information includes at least: the termination time of reaching the end point of each movement path and the signal quality of the end point, where M is a positive integer; a first calculating unit, configured to calculate the coordinates of the end point of each movement path based on the coordinate information of the start position and the M sets of movement information, obtaining M end point coordinates; and a correction unit, configured to calculate the offset between the coordinates of the end point of the last movement path and the coordinate information of the end position, and correct the M end point coordinates using the offset, obtaining M updated coordinates, and determining the signal quality of each updated coordinate based on the correspondence between the end point coordinates and the updated coordinates, thereby obtaining signal quality information within the path to be detected.
[0016] According to another aspect of the present invention, a computer storage medium is also provided for storing a program, wherein the program, when running, controls the device where the computer storage medium is located to execute a signal quality detection method.
[0017] According to another aspect of the present invention, an electronic device is also provided, comprising one or more processors and a memory; the memory stores computer-readable instructions, and the processor is configured to execute the computer-readable instructions, wherein the computer-readable instructions execute a signal quality detection method.
[0018] This application employs the following steps: First, the starting and ending positions of the path to be detected are obtained, and their coordinate information is determined using satellite imagery of the path to be detected. Second, the movement information of the personnel moving from the starting position to the ending position is acquired, resulting in M sets of movement information. Each set of movement information includes at least the termination time of reaching the endpoint of each movement path and the signal quality at the endpoint, where M is a positive integer. Third, the coordinates of the endpoint of each movement path are calculated based on the coordinates of the starting position and the M sets of movement information, resulting in M endpoint coordinates. Fourth, the offset between the endpoint coordinates of the last movement path and the coordinates of the endpoint is calculated, and the offset is used to correct the M endpoint coordinates, resulting in M updated coordinates. Finally, the signal quality of each updated coordinate is determined based on the correspondence between the endpoint coordinates and the updated coordinates, thus obtaining the signal quality information within the path to be detected. This solves the problem in related technologies where the inability to receive satellite positioning signals in buildings leads to the inaccurate acquisition of signal acquisition points along the path to be detected, thereby affecting the accuracy of building signal quality analysis. By determining the coordinates of the location that can be positioned using satellite imagery, and iteratively calculating the coordinates of the endpoint after each movement from the starting position to the ending position, signal quality detection is performed at the endpoint coordinates to obtain the coordinates of the signal detection points. After obtaining the coordinates of all endpoints, the coordinate deviation of each endpoint is calculated based on the coordinate deviation between the endpoint of the last movement and the final position, thereby correcting the coordinates of the quality detection points. This achieves the effect of accurately determining the coordinate information of each signal quality detection point when satellite positioning is not possible. Attached Figure Description
[0019] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:
[0020] Figure 1 This is a flowchart of a signal quality detection method provided according to an embodiment of this application;
[0021] Figure 2 This is a schematic diagram of an optional movement route provided according to an embodiment of this application;
[0022] Figure 3 This is a schematic diagram of a signal quality detection system provided according to an embodiment of this application;
[0023] Figure 4 This is a schematic diagram of a signal quality detection device provided according to an embodiment of this application;
[0024] Figure 5 This is a schematic diagram of an electronic device provided according to an embodiment of this application. Detailed Implementation
[0025] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0026] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, 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 for the embodiments of this application 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.
[0028] It should be noted that all information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this disclosure are information and data authorized by the user or fully authorized by all parties. For example, this system has an interface with relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain the relevant information after receiving consent information from the aforementioned user or organization.
[0029] It should be noted that the signal quality detection method, apparatus, storage medium and electronic equipment defined in this disclosure can be used in the field of wireless communication, or in any field other than wireless communication. The application fields of the signal quality detection method, apparatus, storage medium and electronic equipment defined in this disclosure are not limited.
[0030] According to an embodiment of this application, a signal quality detection method is provided.
[0031] Figure 1This is a flowchart of a signal quality detection method provided according to an embodiment of this application. For example... Figure 1 As shown, the method includes the following steps:
[0032] Step S101: Obtain the start and end positions of the path to be detected, and determine the coordinate information of the start and end positions through satellite imagery, wherein the satellite imagery is the satellite imagery of the path to be detected.
[0033] Specifically, the path to be detected can be a straight path on a certain floor of the target building, such as moving from a column at the far left to a column at the far right of the target building. In this case, it is necessary to determine the starting and ending positions of the path to be detected so as to ensure that the inspectors can move along the path to be detected.
[0034] It should be noted that since satellite signals cannot be received inside buildings, it is impossible to locate the position of the inspection personnel in real time. However, the position of reference objects in the building can be determined by observing satellite maps. For example, if a satellite map captures the leftmost pillar of a building, the coordinates of the pillar can be determined based on the latitude and longitude information displayed on the satellite map, thereby determining the starting and ending positions.
[0035] Step S102: Obtain the movement information of the inspection personnel as they move from the starting position to the ending position, and obtain M sets of movement information. Each set of movement information includes at least: the termination time of reaching the end point of each movement path and the signal quality of the end point, where M is a positive integer.
[0036] Specifically, after determining the start and end positions of the path to be tested, the testing personnel can move along the path from the start to the end. After each movement, a signal quality test is performed. Therefore, the number of times the testing personnel move from the start to the end is M, which is the number of signal quality tests. Each movement can be one or more steps, but the number of steps must be the same each time, thus obtaining M movement information corresponding to M movements.
[0037] It should be noted that, in order to ensure that the location information can be correlated with the signal quality detection results, the termination time of each movement path needs to be recorded each time a detection is performed. This allows multiple detection results to be sorted by time based on the termination time. Furthermore, since there is a relationship between the number of movements and time, the time when each movement reaches the termination point can be determined based on the time sequence, thereby determining the corresponding signal detection quality based on the time.
[0038] It should be noted that the movement information also needs to include the movement angle and distance of the movement path of the inspection personnel. Based on the movement angle and path distance, the coordinate information of the endpoint after movement can be calculated, thereby accurately determining the coordinate information of the inspection personnel when performing signal quality inspection.
[0039] Step S103: Calculate the coordinates of the endpoint of each movement path based on the coordinate information of the starting position and the M sets of movement information to obtain the coordinates of the M endpoints.
[0040] Specifically, after obtaining M sets of movement information, iterative calculations can be performed based on the coordinates of the starting position and the movement information of each movement to obtain the coordinates of the ending point after each movement.
[0041] It should be noted that during the iterative calculation, the coordinates of the termination point of the first movement are calculated from the movement information of the first movement and the coordinates of the starting position. Since the start and end points of the second movement are the termination points of the first movement, when calculating the coordinates of the termination point of the second movement, it is necessary to calculate based on the coordinates of the termination point of the first movement and the movement information of the second movement to obtain the coordinates of the termination point of the second movement. Then, the iterative calculation is performed sequentially to obtain the coordinates of the termination point of the last movement, that is, when the detection personnel moves to the end position. Thus, the coordinates of the termination point after each movement are obtained, resulting in M termination point coordinates.
[0042] Step S104: Calculate the offset between the coordinates of the last moving point and the coordinates of the endpoint, and use the offset to correct the coordinates of the M endpoints to obtain the M updated coordinates. Based on the correspondence between the endpoint coordinates and the updated coordinates, determine the signal quality of each updated coordinate to obtain the signal quality information within the path to be detected.
[0043] It should be noted that, due to the possibility of deviations in the iterative calculation results, the coordinates of the final move's endpoint may differ from the endpoint coordinates when the inspector moves to the endpoint position. In this case, it is necessary to correct the endpoint coordinates for each move in order to obtain the correct signal quality detection position information.
[0044] Specifically, when calculating the offset, it is necessary to calculate the offset between the coordinates of the last moving point and the coordinates of the endpoint. Based on this offset, the offset of each endpoint coordinate is determined, and each endpoint coordinate is corrected. After the correction of M endpoint coordinates is completed, the detected signal quality information can be synchronized to the same endpoint coordinates based on the correspondence between the endpoints before and after correction. Thus, the corresponding signal quality information can be determined based on the endpoint coordinates, thereby obtaining the true position information of each signal quality detection point on the path to be detected and the signal detection result. This completes the signal quality detection on the path to be detected. The same method is used to perform signal quality detection on the locations to be detected throughout the building, thereby completing the signal quality detection operation in the building.
[0045] For example, when the inspector reaches the endpoint and clicks the "Arrived 1" button, the signal detection system automatically saves all the coordinate data of the endpoint before and after correction from the starting position to the endpoint, and automatically generates two trajectory logs. 坐标 log 坐标 In addition to the two-dimensional coordinate data containing the coordinates of each termination point, it also includes the detection time and signal quality detection results for each termination point coordinate location.
[0046] The signal quality detection method provided in this application obtains the start and end positions of the path to be detected and determines their coordinate information using satellite imagery of the path to be detected. It acquires movement information of the personnel moving from the start to the end position, obtaining M sets of movement information. Each set of movement information includes at least the termination time and signal quality of the termination point, where M is a positive integer. Based on the coordinates of the start position and the M sets of movement information, it calculates the coordinates of the termination point of each path, obtaining M termination point coordinates. It calculates the offset between the coordinates of the termination point of the last path and the coordinates of the end position, and uses this offset to correct the M termination point coordinates, obtaining M updated coordinates. Based on the correspondence between the termination point coordinates and the updated coordinates, it determines the signal quality of each updated coordinate, thus obtaining the signal quality information within the path to be detected. This method solves the problem in related technologies where the inability to receive satellite positioning signals in buildings leads to the inaccurate acquisition of signal acquisition points along the path to be detected, thus affecting the accuracy of building signal quality analysis. By determining the coordinates of the location that can be positioned using satellite imagery, and iteratively calculating the coordinates of the endpoint after each movement from the starting position to the ending position, signal quality detection is performed at the endpoint coordinates to obtain the coordinates of the signal detection points. After obtaining the coordinates of all endpoints, the coordinate deviation of each endpoint is calculated based on the coordinate deviation between the endpoint of the last movement and the final position, thereby correcting the coordinates of the quality detection points. This achieves the effect of accurately determining the coordinate information of each signal quality detection point when satellite positioning is not possible.
[0047] To accurately determine the detection position for each detection, it is necessary to first determine the movement information for each movement. Optionally, in the signal quality detection method provided in this application embodiment, the movement information of each movement of the detection personnel from the starting position to the ending position is obtained, resulting in M sets of movement information, including: determining the time when the detection personnel arrive at the end point of the movement path after completing the movement operation, thus obtaining the termination time; determining whether the movement operation is the first movement operation; if the movement operation is the first movement operation, determining the angle value between the movement path and the path to be detected using an angular momentum change detector; if the movement operation is not the first movement operation, determining the angle value between the movement path and the movement path of the previous movement operation using an angular momentum change detector; obtaining the signal detection requirements of the area to be detected to which the path to be detected belongs, determining the signal detection strategy based on the signal detection requirements, and detecting the signal quality at the end point using the signal detection strategy, thus obtaining the signal quality at the end point.
[0048] Specifically, when acquiring the movement information of the inspector, for any given movement, the movement path needs to be determined first. For each movement along the same path to be detected, the path is identical, and each movement corresponds to the inspector's stride length. For example, the inspector inputs their height into the walking posture monitoring module, which then calculates the inspector's stride length (i.e., the distance of each step during gait measurement) using an empirical formula and automatically imports it into the system. The empirical formula for stride length is: Inspector's stride length = Inspector's height * 0.37. For example, if the inspector's height is 178cm, the stride length = 178 * 0.37 = 65.86cm.
[0049] Furthermore, it is necessary to determine the timing of signal quality testing at the endpoint of the movement path upon completion of this movement, i.e., the termination time. Moreover, due to varying testing requirements—such as testing 4G signal strength, 5G signal strength, or data transmission rate—different signal detection strategies are required. The signal detection strategy must be determined based on the specific requirements, and then used to test the signal quality at the endpoint to obtain the signal quality at that point.
[0050] It should be noted that, to prevent testing personnel from selecting incorrect testing strategies or failing to promptly detect abnormal test results, a wireless communication module can be used to communicate in real time with back-end support personnel. Back-end support personnel can use the wireless communication module to query relevant information on the test control module screen in real time and remotely assist in operating the test control module as needed. Back-end support personnel can also query the wireless signal quality acquisition strategy to promptly identify and correct errors in strategy selection. By querying and scheduling the uploaded real-time data, preliminary data analysis can be performed synchronously in the back-end. If problems are found, testing personnel can be notified promptly for on-site retesting and verification, thereby quickly identifying signal issues.
[0051] It should be noted that the movement information also needs to determine the angle between the current movement direction and the previous movement direction, or the angle between the current movement direction and the path to be detected. First, it needs to be determined whether this movement operation is the first movement operation. If it is the first movement operation, the correct movement method should be to move along the path to be detected. However, the inspector may deviate during the movement. In this case, it is necessary to use an angular momentum change monitor to determine the deviation angle between the inspector's forward direction at the start of each step and the forward direction of the previous step. However, since it is the first movement, it is also necessary to measure the angle between the inspector and the path to be detected. Figure 2 This is a schematic diagram of an optional movement route provided according to an embodiment of this application, such as... Figure 2As shown, position 0 is the starting position and position 1 is the ending position. The movement from position 0 to step point 0-1 is the first movement. At this time, the angle value to be measured can be β. 偏1 In the next move, the device moves from step 0-1 to step 0-2. At this time, the angle between the moving path and the moving path of the previous move is measured by the angular momentum change detector, which is β. 偏2 This allows for the measurement of movement information for each move.
[0052] Optionally, in the signal quality detection method provided in this application embodiment, calculating the coordinates of the termination point of each movement path based on the coordinate information of the starting position and M sets of movement information to obtain M termination point coordinates includes: obtaining the movement information of the first path from the M sets of movement information, obtaining the first movement information, and calculating the angle between the path to be detected and the preset orientation to obtain the preset angle, wherein the first path is the movement path of the starting position; calculating the angle between the first path and the preset orientation using the angle value in the first movement information and the preset angle to obtain the first angle, and determining the termination point coordinates of the first path using the first angle and the path length of the first path, wherein the path length of the first path is the step length of the detection personnel; determining the termination point coordinates of the first path as the starting point coordinates of the second path, and calculating the second angle of the second path based on the movement information of the second path and the first angle, and calculating the termination point coordinates of the second path using the second angle and the starting point coordinates of the second path, and iteratively calculating the remaining paths to complete the calculation of the termination point coordinates of each movement path, obtaining M termination point coordinates, wherein the first path and the second path are connected.
[0053] It should be noted that when calculating the coordinates of the end point of each movement path, the calculation should start from the end point of the first movement path, and then calculate the end point of the second movement path based on the end point of the first movement path, and so on, until the end point of the last movement path is calculated.
[0054] Specifically, such as Figure 2 As shown, when calculating the termination point of the first moving path, it is necessary to first obtain the moving information of the first path, obtain the first moving information, and then determine the angle between the path to be detected and the preset orientation to obtain the preset angle, for example... Figure 2 The angle θ0 between the path to be detected and the north direction (N) can be calculated by using the angle value in the first movement information and the preset angle after obtaining the preset angle, thus obtaining the first angle.
[0055] For example, after entering the target building, the testing personnel locate their precise position on the map displayed on the wireless test control module screen, marking it as "Location 0" as the starting position marker, and adding a numerical note indicating the floor number to which this location belongs. Once "Location 0" is determined, the tester icon on the wireless test control module screen automatically adjusts to "Location 0," correcting the trajectory deviation caused by inertial navigation when entering the building from the outside.
[0056] Starting from "Position 0", the signal detection system converts the current floor map into a two-dimensional coordinate system using a "north at the top, south at the bottom, west on the left, and east on the right" coordinate system. The horizontal axis is "X", and the vertical axis is "Y", with the unit being "meters". "X > 0" and "X < 0" represent the east and west sides of "Position 0", respectively, while "Y > 0" and "Y < 0" represent the north and south sides of "Position 0".
[0057] Then, the testing personnel mark "Location 1" on the map of the current floor as the first location along the route for the upcoming walking traverse signal quality test. The testing personnel select a wireless signal quality acquisition strategy, then, facing the direction of travel, click the "Start" button on the test control device to activate the test instruments and begin the test. At this time, the signal detection system, using the north-pointing function module on the test control device, records the starting direction angle in real time (e.g., 30° east of north). When the "Start 0" button is clicked, the horizontal angle vector of the angle vector monitoring module (e.g., a gyroscope) is automatically set to its initial state of 0 degrees, and displays the deviation angle of the testing personnel's direction of travel at each step from the previous step.
[0058] Optionally, in the signal quality detection method provided in this application embodiment, calculating the angle between the first path and the preset orientation using the angle value in the first movement information and the preset angle to obtain the first angle, and determining the coordinates of the end point of the first path using the first angle and the path length of the first path includes: adding or subtracting the angle value and the preset angle to obtain the first angle; using the path length of the first path as the hypotenuse to generate a triangle to obtain a target triangle; calculating the length of the opposite side and the length of the adjacent side of the first angle in the target triangle using the first angle and the path length of the first path; adding or subtracting the horizontal coordinate of the starting position coordinate information from the length of the opposite side to obtain the horizontal coordinate of the end point; and adding or subtracting the vertical coordinate of the starting position coordinate information from the length of the adjacent side to obtain the vertical coordinate of the end point.
[0059] Specifically, when calculating the first angle, the first angle can be obtained by adding or subtracting the angle value from a preset angle, such as... Figure 2 As shown, the path information of the first path includes the angle value β. 偏1The preset angle θ0 and the angle value β 偏1 Subtracting the two values yields the angle between the first path and the preset direction (north), which is the first angle θ1. It should be noted that calculating the angle between the first path and the preset direction (north) requires comprehensively determining the direction of the first path, the direction of the path to be detected, and the preset direction to determine whether to add or subtract the angle value from the preset angle.
[0060] Furthermore, when determining the coordinates of the endpoint of the first path using the first angle and the path length of the first path, the x-direction and y-direction movement amounts, ΔX0 and ΔY0, can be calculated based on the triangle formed by the first angle and the path length of the first path. The x-coordinate of the endpoint is obtained by adding or subtracting the length of the opposite side from the x-coordinate of the starting position coordinate information, and the y-coordinate of the endpoint is obtained by adding or subtracting the length of the adjacent side from the y-coordinate of the starting position coordinate information. The addition or subtraction needs to be determined based on the position of the starting position on the coordinate axis and the sign of the movement amount.
[0061] For example, such as Figure 2 As shown, the coordinates of position 0, i.e., the starting position, are (X0, Y0). Let the coordinates of step point 0-1, i.e., the ending point of the first path, be (X1, Y1). Then:
[0062] X1 = X0 + d*sin(θ1), Y1 = Y0 + d*cos(θ1), thus the coordinate information of step point 0-1 is calculated.
[0063] Finally, after calculating the coordinates of the endpoint of the first path, the coordinates of the endpoint of the first path need to be used as the coordinates of the starting point of the second path. The coordinates of the endpoint of the second path then need to be calculated accordingly. Figure 2 The steps are 0- and 0-2. Similarly, first obtain the angle value between the second path and the first path, and add this angle value to the first angle to obtain the second angle θ2. It should be noted that if the second path is to the left of the extension of the first path, then the angle value between the second path and the first path needs to be subtracted from the first angle.
[0064] Given the second angle, use the same method described above to calculate ΔX1 and ΔY1, and calculate the coordinates of the end point of the second path based on the coordinates of the end point of the first path, that is:
[0065] X2 = X1 + d*sin(θ2), Y2 = Y1 + d*cos(θ2), thus calculating the coordinates of step point 0-2, and iterating backwards until the last termination point is reached, obtaining the coordinates of M termination points, that is:
[0066] X n =X n-1 +d*sin(θ n ), Y n =Y n-1 +d*cos(θ n ).
[0067] It should be noted that since location information cannot be obtained within buildings, when determining whether the final endpoint has been reached, a front-facing image detection module carried by the inspector can display a video within a preset wide-angle range along the inspector's direction of travel in real time. The inspector can use the wireless test control module screen to capture, select, and save reference objects at the endpoint location in the video, while simultaneously determining the distance to these reference objects. If this distance is less than a preset distance, it indicates that the final endpoint has been reached, and the inspector stops moving. Simultaneously, while the inspector is moving within the building, the wireless test control module screen displays the inspector's icon in real time at the location calculated iteratively according to the aforementioned algorithm, allowing the inspector to quickly understand their approximate location. When the inspector moves towards "Location 1," subsequent planned routes such as "Location 2," "Location 3," etc., can be marked on the new base map based on the actual feasible travel plan. The travel routes between adjacent marked locations should be kept as straight as possible to improve the effectiveness of subsequent deviation correction.
[0068] Optionally, in the signal quality detection method provided in this application embodiment, calculating the offset between the coordinates of the end point of the last moving path and the coordinates of the end point includes: calculating the difference between the x-coordinate of the end point of the last moving path and the x-coordinate of the end point to obtain a first x-coordinate deviation; calculating the difference between the y-coordinate of the end point of the last moving path and the y-coordinate of the end point to obtain a first y-coordinate deviation; dividing the first x-coordinate deviation by M to obtain a second x-coordinate deviation; dividing the first y-coordinate deviation by M to obtain a second y-coordinate deviation; and determining the second x-coordinate deviation and the second y-coordinate deviation as the offset.
[0069] Specifically, after obtaining the coordinates of each termination point, it is necessary to determine the offset between the coordinates of the termination point of the last movement path and the endpoint position. If the offset between the coordinates of the termination point of the last movement path and the endpoint position is less than or equal to the preset offset, it indicates that the deviation between the movement path of the inspector and the path to be inspected is small, and in this case, the termination point coordinates do not need to be corrected.
[0070] Furthermore, if the offset between the end point coordinates of the last moving path and the endpoint position is greater than the preset offset, it indicates that the deviation between the test path and the path to be inspected is large when the inspector performs the inspection. In this case, the difference between the x and y coordinates of the end point coordinates of the last moving path and the x and y coordinates of the endpoint position can be calculated to obtain the coordinate deviation between the end point coordinates of the last moving path and the endpoint position.
[0071] For example, such as Figure 2 As shown, step point 0-N is set as the end point of the last movement path, and the coordinates of step point 0-N are (X... m Y m The endpoint is "Position 1", and its actual accurate location is (X). M Y M When calculating coordinate deviation, it can be done in the following way:
[0072] ΔX 偏Max =X M -X m ;
[0073] ΔY 偏Max =Y M -Y m ;
[0074] After obtaining the coordinate deviation between the endpoint coordinates of the last movement path and the final position, since the main sources of deviation are: the deviation between the actual average step size from "position 0" to "position 1" and the preset step size d, the deviation of the initial θ0, and the deviation of the cumulative value of the angle change for each step, the endpoint coordinate correction can be performed by adjusting ΔX. 偏Max and ΔY 偏Max After homogenization, the offset that needs to be corrected for the coordinates of each termination point is obtained; that is, ΔX is... 偏Max and ΔY 偏Max Divide each by M to obtain the magnitude of the offset, thus obtaining the second horizontal axis deviation and the second vertical axis deviation after homogenization.
[0075] To accurately correct the coordinates of each termination point, optionally, in the signal quality detection method provided in this application embodiment, correcting the coordinates of M termination points using an offset to obtain M updated coordinates includes: obtaining the sequence number of the movement path to which each termination point coordinate belongs, obtaining M sequence numbers; adding the abscissa of each termination point coordinate to a first product to obtain the updated abscissa of each termination point coordinate, wherein the first product is the product of the second abscissa offset and the sequence number corresponding to the termination point coordinate; adding the ordinate of each termination point coordinate to a second product to obtain the updated ordinate of each termination point coordinate, wherein the second product is the product of the second ordinate offset and the sequence number corresponding to the termination point coordinate; and combining the updated abscissa and updated ordinate of each termination point to obtain the updated coordinate of each termination point.
[0076] Specifically, during the calibration process, due to (X) m Y m ) and (X M Y M The deviation between "position 0" and "position 1" indicates a discrepancy in the coordinates of each step along the path calculated and recorded in the system iterations. In other words, the walking test trajectory is flawed. Therefore, the deviation arises because each movement introduces an error, and these errors, when accumulated, result in an offset ΔX between the coordinates of the final movement's endpoint and the final position. 偏Max and ΔY 偏Max Therefore, after obtaining the offset ΔX 偏Max and ΔY 偏Max After obtaining the second horizontal coordinate deviation and the second vertical coordinate deviation, it is necessary to sort the multiple termination points according to the recorded time of each termination point, with the later the time, the larger the sequence number, thus obtaining M sequence numbers. When correcting the coordinates of each termination point, the sequence number of the termination point is obtained, and the sequence number is multiplied by the second horizontal coordinate deviation and the second vertical coordinate deviation respectively to obtain the horizontal coordinate correction amount and the vertical coordinate correction amount of the termination point. The horizontal coordinate and vertical coordinate of the termination point are then corrected according to the correction amount to obtain the updated termination point coordinates.
[0077] For example, Figure 2 If step point 0-1 is numbered 1, then given that the coordinates calculated at step point 0-1 are (X1, Y1), the corrected X... 纠1 and Y 纠1 They are respectively:
[0078] X 纠1 =X1+(1 / M)*ΔX 偏Max ;
[0079] Y 纠1 =Y1+(1 / M)*ΔY 偏Max;
[0080] This leads to the corrected coordinates of the termination point (X) of step point 0-1. 纠1 Y 纠1 ).
[0081] Similarly, for any endpoint coordinate 0-n, the corrected X 纠n and Y 纠n They are respectively:
[0082] X 纠n =X n +(n / M)*ΔX 偏Max ;
[0083] Y 纠n =Y n +(n / M)*ΔY 偏Max ;
[0084] This leads to the corrected coordinates of the termination point (X) of step points 0-n. 纠n Y 纠n ).
[0085] Optionally, in the signal quality detection method provided in this application embodiment, determining the coordinate information of the starting and ending positions through satellite imagery includes: obtaining the detection area where the path to be detected is located, and obtaining satellite imagery and building floor plan of the detection area; combining the satellite imagery and building floor plan to obtain a map of the detection area; determining reference objects for the starting and ending positions of the path to be detected, and determining the coordinate information of the reference objects in the map to obtain the coordinate information of the starting and ending positions.
[0086] Specifically, since satellite positioning cannot be performed along the path to be detected, the only way is to obtain satellite imagery and floor plans of the building, identify reference points in the floor plans, determine the corresponding images of the reference points in the satellite imagery, and determine the coordinate information based on the latitude and longitude information of the imagery, thereby determining the coordinate information of the starting and ending points of the path to be detected within the building.
[0087] For example, due to factors such as exterior wall materials and interior decoration, outdoor 4G and 5G wireless signals cannot effectively cover large buildings, often necessitating the construction of indoor wireless distribution systems (hereinafter referred to as "indoor distribution"). Indoor distribution solutions are designed based on the target building's CAD floor plans, with all layers sharing a unified scale. Furthermore, the outline of each floor on the CAD floor plan is essentially consistent with the actual building site conditions, and the north direction on the drawings strictly matches the actual site conditions.
[0088] The 2D layer of a satellite map of the city where the target building is located (containing precise latitude and longitude information) is imported into the signal detection system. Then, the CAD floor plan of the floor to be tested in the target building is also imported into the signal detection system. The CAD floor plan and the 2D layer of the target building are overlaid to form a new base map (i.e., a map of the building's interior containing coordinate and latitude / longitude markings) that can be used for indoor wireless signal traversal testing. This new base map retains key information from the original CAD floor plan, such as the building's internal layout and wireless antenna deployment scheme. The method for generating the new base map is described below:
[0089] The map uses a tile pyramid model, with multiple levels based on resolution. Each level is composed of multiple smaller tiles of the same size pieced together according to rules. Multiple levels of tile maps are superimposed to form a complete map, with the resolution increasing from the top to the bottom of the pyramid. In the software, this is represented by folders at different levels, each containing map images for that level. Each tile map has a built-in scale. CAD floor plans, being engineering drawings, also have built-in scales. While CAD floor plans and map tile maps are not interchangeable, they can share a suitable scale and be overlaid to create a new base map for indoor wireless traversal testing.
[0090] The first step in generating a new base map: Before conducting indoor wireless signal traversal tests, locate the satellite image of the target building site. Select a low-level tile map with an appropriate resolution; low-level tile maps typically include the building's external outline. Read the scale of this tile map.
[0091] The second step in generating a new base map is to adjust the scale of the CAD plan to match the scale of the selected low-level tile map.
[0092] The third step in generating a new base map is to place the CAD floor plan, which has been adjusted to the same scale, onto the low-level tile map, making it as close as possible to the outline of the target building on the tile map, and then overlaying it onto the tile map to form a new electronic satellite map base map. This base map is the new base map required for the indoor wireless signal traversal test.
[0093] Optionally, in the signal quality detection method provided in this application embodiment, before obtaining the movement information of each movement of the detection personnel from the starting position to the ending position to obtain M sets of movement information, the method further includes: taking pictures of the detection personnel's forward direction using a camera device equipped with the detection personnel to obtain image information; determining whether there is a reference object for the ending position in the image information, and if there is a reference object for the ending position in the image information, determining the distance between the reference object for the ending position and the detection personnel; if there is no reference object for the ending position in the image information, instructing the detection personnel to continue moving along the path to be detected; determining whether the distance between the reference object for the ending position and the detection personnel is greater than or equal to a preset distance, and if the distance between the reference object for the ending position and the detection personnel is less than the preset distance, instructing the detection personnel to continue moving along the path to be detected, and if the distance between the reference object for the ending position and the detection personnel is greater than or equal to the preset distance, determining that the detection personnel has reached the ending position.
[0094] Specifically, since satellite positioning signals cannot be received inside buildings, it is impossible to determine whether the inspection personnel have moved to the end point of the path to be inspected through location positioning. Therefore, the inspection personnel can be photographed in their direction of movement by the camera equipment they are equipped with to obtain image information; it can be determined whether there is a reference point for the end point in the image information, and the distance information between the reference point and the inspection personnel can be used to determine whether the end point has been reached.
[0095] For example, when the front-facing image detection module carried by the inspector detects that the distance between the object at "Location 1" and the inspector is no greater than a preset distance (e.g., ≤5 meters), the "Arrival 1" button on the test control equipment screen starts to flash to remind the inspector. When the inspector arrives at "Location 1", he clicks the "Arrival 1" button on the test control equipment screen to confirm the completion of the inspection operation of the path to be inspected. (The "Arrival 1" button is automatically generated by the system after the inspector sets "Location 1" on the test control equipment and is displayed in a designated area on the test control equipment screen to facilitate quick operation by the inspector.)
[0096] Optionally, in the signal quality detection method provided in the embodiments of this application, after obtaining the signal quality information within the path to be detected, the method further includes: when detecting the signal quality of the target path, calculating the length of each moving path in the path to be detected using M updated coordinates to obtain M updated lengths, wherein the target path and the path to be detected are connected end to end; calculating the average value of the M updated lengths to obtain the average length, and determining the average length as the path length of each moving path in the target path.
[0097] Specifically, after obtaining the corrected coordinates of each endpoint in the path to be detected, the path length between adjacent endpoints changes due to the change in endpoint coordinates. At this point, the actual distance traveled during each movement can be calculated based on the corrected coordinates of each endpoint.
[0098]
[0099] Where, d 纠n X represents the actual distance traveled during the nth move. 纠n Y is the corrected x-coordinate of the endpoint of the movement path for the nth move. 纠n X is the corrected ordinate of the endpoint of the movement path for the nth move. 纠(n-1) Y is the corrected x-coordinate of the ending point of the movement path for the (n-1)th move, which is also the corrected x-coordinate of the starting point of the movement path for the nth move. 纠(n-1) The corrected ordinate of the endpoint of the movement path for the (n-1)th movement is used to calculate the true movement length of the movement path for each movement, resulting in M updated lengths. The average of these M updated lengths is then calculated to obtain the average length. This average length can then be used as the movement length of the movement path for each movement of the inspector when inspecting the next path to be inspected, which is also the new step size of the inspector, thereby reducing the deviation in subsequent position calculations.
[0100] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0101] Figure 3 This is a schematic diagram of a signal quality detection system provided according to an embodiment of this application, such as... Figure 3 As shown, the signal quality detection system includes a walking posture monitoring module, an angular momentum change monitoring module, a north-pointing angle monitoring module, a wireless signal quality data acquisition module, a front-facing image detection module, a wireless test control module, a power supply module, a satellite positioning module, a time synchronization module, a data storage module, a system strategy module, a data processing module, a wireless communication module, and a bus. The wireless test control module and the front-facing image detection module are hardware-independent, while the remaining modules can be integrated together in a backpack-like manner or made hardware-independent as needed.
[0102] Among them, the walking posture monitoring module is used to sense and detect the walking posture of the person in real time, record the number of steps in normal walking posture in real time, and record the corresponding step point time. Each step is a movement operation, and the movement distance of each movement operation is the step length.
[0103] Angular momentum change monitoring module: used to monitor in real time the deviation angle between the direction of movement of the testing personnel when starting each step and the direction of movement of the previous step;
[0104] North Angle Monitoring Module: Used to monitor in real time the initial direction of travel of the inspection personnel when they start from a marked position, as well as the direction of travel of each subsequent step point;
[0105] Wireless signal quality data acquisition module: used to collect wireless signal quality index data at the end point of each mobile path, and simultaneously record the sampling time each time;
[0106] Front image detection module: used for image recognition and distance measurement of real objects that are reference points along the specified path in the forward direction;
[0107] Power supply module: Used to provide real-time power to modules other than the wireless test and control module, and also provides an external interface to charge the wireless test and control module;
[0108] Satellite positioning module: Used to record latitude and longitude data in real time in environments where satellite signals can be received, at the same sampling time as the "wireless signal quality data acquisition module";
[0109] Time synchronization module: Used to provide unified synchronization time to all modules with an accuracy of 1ms, so that the time of all modules is kept synchronized;
[0110] Data storage module: Used to store various types of data from each module in real time;
[0111] System strategy module: Used to formulate and adjust the data acquisition, storage, and processing strategies for the corresponding modules;
[0112] Data processing module: Used to perform real-time calculations and processing on the data collected by each module according to a preset strategy;
[0113] Wireless communication module: Used to establish a wireless communication channel with a wireless metropolitan area network / wireless local area network via WiFi, 4G or 5G modules;
[0114] Bus: A communication protocol assembly that enables modules within a system to read data from each other and cooperate in operation.
[0115] Wireless Test Control Module: This module provides the operation and control interface for the other modules. It allows users to start, pause, and complete test tasks remotely or on-site, specify or cancel marked locations along the test route, generate two-dimensional coordinate data of the target building's wireless test base map, display real-time sampling data from the other modules, and select or cancel the strategies adopted by each module.
[0116] This application also provides a detection process for building signal quality detection using the above-described signal quality detection system:
[0117] Step 1: Import the 2D satellite map layer (containing precise latitude and longitude information) of the city where the target building is located into the testing system. Then, import the CAD floor plan of the floor to be tested in the target building into the testing system as well. After performing the corresponding operations, a new base map is generated. The testing system automatically reads the scale of the new base map. Input the tester's height into the system, and the system automatically generates the tester's stride length.
[0118] Step 2: The tester uses the satellite positioning module to accurately locate the outdoor position before entering the building. After entering the building, based on the principle of inertial navigation, the test system displays the tester's icon on the new base map on the wireless test control module screen at the approximate indoor position.
[0119] Step 3: Based on the position of the tester's icon on the new base map and the tester's actual location within the building, the tester locates their precise current position on the new base map and marks it as "Position 0" as the initial position marker. Once "Position 0" is determined, the tester's icon on the wireless test control module screen automatically adjusts to "Position 0," correcting the trajectory deviation caused by inertial navigation when entering the building from outdoors.
[0120] Step 4: Using "Location 0" as the origin, the testing system converts the new floor plan into a two-dimensional coordinate system, employing a "north at the top, south at the bottom, west on the left, and east on the right" coordinate system. The horizontal axis is "X", and the vertical axis is "Y", with the unit being "meters". "X > 0" and "X < 0" represent the east and west sides of "Location 0", respectively, while "Y > 0" and "Y < 0" represent the north and south sides of "Location 0".
[0121] Step 5: The tester marks location "Location 1" on the new floor plan of the current floor as the first location along the route of the upcoming walking traversal test. The tester selects the wireless signal quality acquisition strategy, then faces the direction of travel and clicks the "Start 0" button on the wireless test control module screen to start the test instrument. At this time, the horizontal angle vector of the angle vector monitoring module is automatically set to the initial state, i.e., 0 degrees; and the test system, with the help of the north-pointing function module on the test control equipment, records the angle θ0 between the starting point and the north direction in real time.
[0122] Step 6: The tester walks towards "Position 1" with a normal gait. The step counting module in the testing system begins to count steps and record the completion time of each step; the angle vector monitoring module in the testing system begins to monitor and record the angles before and after each step. Each time the step counting module detects a step taken by the tester, the radial length traversed from the previous "step point" to the current "step point" is the previously preset stride length. During the tester's walking, each "step point" is sequentially numbered "Step Point 0-1", "Step Point 0-2", "Step Point 0-3", and so on. The coarse positioning coordinates of each step point on the layer are iteratively calculated based on the stride length, angle vector change value, and the coordinates of the previous step point.
[0123] Step 7: As the tester moves within the building, the wireless test control module screen displays the tester's icon in real time at the location calculated iteratively according to the above algorithm, allowing the tester to quickly understand their approximate location. When the tester moves towards "Location 1," subsequent planned routes such as "Location 2" and "Location 3" can be marked on the new base map based on the actual feasible travel plan. Simultaneously, the front-facing image detection module, fixed to the tester's chest, displays a video of a preset wide-angle range in the tester's direction of movement in real time. The tester can use the wireless test control module screen to capture, select, and save objects appearing at "Location 1" in the video. Meanwhile, back-end support personnel can use the wireless communication module to query and analyze key data from various modules of the test system in real time, providing real-time technical support to the tester through remote control and other means.
[0124] Step 8: When the tester reaches "Position 1", click the "Arrived at 1" button on the test control equipment screen. The trajectory from "Position 0" to "Position 1" is corrected according to the preset algorithm, and the corrected log is generated. 坐标 The average stride length of the tester after correction is calculated, and the position information of each step point from "Position 1" to "Position 2" is calculated using the average stride length of the tester after correction.
[0125] Step 9: q test locations were set up on the target test floor. The test was conducted using the method described above. Upon reaching "location q", click "Reached q" and then click the "Test Complete" button. The test system generated a total of q sets of corrected logs. 坐标 .
[0126] Step 10: The wireless signal quality data sampling of the wireless signal test module starts from "Position 0" and continues until the tester clicks the "Test Complete" button to generate the test log. 无线质量 .
[0127] Step 11: Correct the logs of all q groups 坐标The time of each sampling point is compared with the log generated by the wireless signal quality data acquisition module. 无线质量 The time of each sampling point is matched, and a new log is generated according to a preset algorithm. 质量&坐标 log 质量&坐标 It contains the specific location and wireless signal quality data of each step within the floor where the tester conducts a wireless signal traversal test on the target floor.
[0128] Step 12: log 质量&坐标 The sampling points are simultaneously displayed on the new base map, accurately and intuitively showing the traversal test sampling point trajectory of the target floors on the new base map of the building, as well as the key wireless quality indicator data of each sampling point.
[0129] Step 13: The tester reaches the other floors via stairs or elevator. Based on the actual environment of the current floor, the tester sets the "Location 0" of the current floor on the new base map of the current floor on the screen of the wireless test control module. Then, the tester conducts the 4G and 5G wireless signal traversal test of the current floor in the same manner as above.
[0130] This application also provides a signal quality detection device. It should be noted that the signal quality detection device of this application can be used to execute the signal quality detection method provided in this application. The signal quality detection device provided in this application is described below.
[0131] Figure 4 This is a schematic diagram of a signal quality detection device provided according to an embodiment of this application. Figure 4 As shown, the device includes: a first determining unit 41, an acquiring unit 42, a first calculating unit 43, and a correction unit 44.
[0132] The first determining unit 41 is used to obtain the starting position and ending position of the path to be detected, and to determine the coordinate information of the starting position and ending position through satellite imagery, wherein the satellite imagery is satellite imagery of the path to be detected.
[0133] The acquisition unit 42 is used to acquire the movement information of the inspection personnel when they move from the starting position to the ending position, and obtain M sets of movement information. Each set of movement information includes at least the termination time of reaching the end point of each movement path and the signal quality of the end point, where M is a positive integer.
[0134] The first calculation unit 43 is used to calculate the coordinates of the endpoint of each movement path based on the coordinate information of the starting position and M sets of movement information, so as to obtain the coordinates of M endpoints.
[0135] The correction unit 44 is used to calculate the offset between the coordinates of the end point of the last moving path and the coordinates of the end point, and to correct the coordinates of the M end points using the offset to obtain the M updated coordinates. Based on the correspondence between the end point coordinates and the updated coordinates, the signal quality of each updated coordinate is determined to obtain the signal quality information within the path to be detected.
[0136] The signal quality detection device provided in this application embodiment obtains the start and end positions of the path to be detected by the first determining unit 41, and determines the coordinate information of the start and end positions by satellite imagery, wherein the satellite imagery is satellite imagery of the path to be detected; the acquiring unit 42 acquires the movement information of the detection personnel moving from the start position to the end position each time, obtaining M sets of movement information, wherein each set of movement information includes at least: the termination time of reaching the end point of each movement path and the signal quality of the end point, where M is a positive integer; the first calculating unit 43 calculates the coordinates of the end point of each movement path according to the coordinate information of the start position and the M sets of movement information, obtaining M end point coordinates; the correction unit 44 calculates the offset between the coordinates of the end point of the last movement path and the coordinate information of the end position, and uses the offset to correct the M end point coordinates, obtaining M updated coordinates, and determines the signal quality of each updated coordinate according to the correspondence between the end point coordinates and the updated coordinates, thereby obtaining the signal quality information within the path to be detected. This invention addresses the problem in related technologies where the inability to receive satellite positioning signals within buildings hinders the accurate acquisition of signal acquisition points along the detection path, thus affecting the accuracy of building signal quality analysis. By using satellite imagery to determine the coordinates of possible locations, and iteratively calculating the coordinates of the endpoint after each movement from the starting position to the ending position, signal quality detection is performed at these endpoint coordinates. Furthermore, after acquiring all endpoint coordinates, the coordinate deviation of each endpoint is calculated based on the coordinate deviation between the last endpoint and the final position, thereby correcting the coordinates of the quality detection points. This achieves the goal of accurately determining the coordinates of each signal quality detection point even when satellite positioning is unavailable.
[0137] Optionally, in the signal quality detection device provided in this application embodiment, the acquisition unit 42 includes: a first detection module, used to determine the time when the detection personnel arrive at the end point of the movement path after completing the movement operation, and obtain the end time; a judgment module, used to determine whether the movement operation is the first movement operation, and if the movement operation is the first movement operation, to determine the angle value between the movement path and the path to be detected by an angular momentum change detector; a second detection module, used to determine the angle value between the movement path and the movement path of the previous movement operation by an angular momentum change detector if the movement operation is not the first movement operation; and a third detection module, used to acquire the signal detection requirements of the area to be detected to which the path to be detected belongs, determine the signal detection strategy according to the signal detection requirements, and detect the signal quality of the end point by the signal detection strategy, and obtain the signal quality of the end point.
[0138] Optionally, in the signal quality detection device provided in this application embodiment, the first calculation unit 43 includes: a first calculation module, used to obtain the movement information of a first path from M sets of movement information, obtain the first movement information, and calculate the angle between the path to be detected and a preset orientation to obtain a preset angle, wherein the first path is the movement path with the starting point at the starting position; a second calculation module, used to calculate the angle between the first path and the preset orientation using the angle value in the first movement information and the preset angle to obtain a first angle, and determine the coordinates of the end point of the first path using the first angle and the path length of the first path, wherein the path length of the first path is the step length of the detection personnel; a third calculation module, used to determine the coordinates of the end point of the first path as the coordinates of the starting point of the second path, and calculate the second angle of the second path according to the movement information of the second path and the first angle, and calculate the coordinates of the end point of the second path using the second angle and the coordinates of the starting point of the second path, and perform iterative calculation on the remaining paths to complete the calculation of the coordinates of the end point of each movement path, obtaining M coordinates of the end point, wherein the first path and the second path are connected.
[0139] Optionally, in the signal quality detection device provided in this application embodiment, the third calculation module includes: a first calculation submodule, used to add or subtract the angle value and a preset angle to obtain a first angle; a generation submodule, used to generate a triangle using the path length of the first path as the hypotenuse to obtain a target triangle; a second calculation submodule, used to calculate the length of the opposite side and the length of the adjacent side of the first angle in the target triangle using the first angle and the path length of the first path; and a third calculation submodule, used to add or subtract the length of the opposite side from the coordinate information of the starting position to obtain the length of the ending point, and add or subtract the length of the adjacent side from the coordinate information of the starting position to obtain the length of the ending point.
[0140] Optionally, in the signal quality detection device provided in this application embodiment, the correction unit 44 includes: a fourth calculation module, used to calculate the difference between the x-coordinate of the end point coordinate of the last moving path and the x-coordinate of the end point position to obtain a first x-coordinate deviation; a fifth calculation module, used to calculate the difference between the y-coordinate of the end point coordinate of the last moving path and the y-coordinate of the end point position to obtain a first y-coordinate deviation; a sixth calculation module, used to divide the first x-coordinate deviation by M to obtain a second x-coordinate deviation, and divide the first y-coordinate deviation by M to obtain a second y-coordinate deviation; and a first determination module, used to determine the second x-coordinate deviation and the second y-coordinate deviation as offsets.
[0141] Optionally, in the signal quality detection device provided in this application embodiment, the correction unit 44 includes: a first acquisition module, used to acquire the sequence number of the movement path to which each termination point coordinate belongs, obtaining M sequence numbers; a seventh calculation module, used to add the abscissa of each termination point coordinate to a first product to obtain the updated abscissa of each termination point coordinate, wherein the first product is the product of the second abscissa deviation and the sequence number corresponding to the termination point coordinate; an eighth calculation module, used to add the ordinate of each termination point coordinate to a second product to obtain the updated ordinate of each termination point coordinate, wherein the second product is the product of the second ordinate deviation and the sequence number corresponding to the termination point coordinate; and a first combination module, used to combine the updated abscissa and updated ordinate of each termination point to obtain the updated coordinate of each termination point.
[0142] Optionally, in the signal quality detection device provided in this application embodiment, the first determining unit 41 includes: a second acquisition module, used to acquire the area to be detected where the path to be detected is located, and to acquire satellite imagery and building floor plan of the area to be detected; a second combination module, used to combine the satellite imagery and building floor plan to obtain a map of the area to be detected; and a second determining module, used to determine the reference objects for the start and end positions of the path to be detected, and to determine the coordinate information of the reference objects in the map to obtain the coordinate information of the start and end positions.
[0143] Optionally, in the signal quality detection device provided in this application embodiment, the device further includes: a photographing unit, used to photograph the direction of movement of the detection personnel using a camera device equipped with the detection personnel to obtain image information; a second determining unit, used to determine whether there is a reference object at the endpoint in the image information, and if there is a reference object at the endpoint in the image information, to determine the distance between the reference object at the endpoint and the detection personnel; an indicating unit, used to instruct the detection personnel to continue moving along the path to be detected if there is no reference object at the endpoint in the image information; and a judging unit, used to judge whether the distance between the reference object at the endpoint and the detection personnel is greater than or equal to a preset distance, and if the distance between the reference object at the endpoint and the detection personnel is less than the preset distance, to instruct the detection personnel to continue moving along the path to be detected, and if the distance between the reference object at the endpoint and the detection personnel is greater than or equal to the preset distance, to determine that the detection personnel have reached the endpoint.
[0144] Optionally, in the signal quality detection device provided in the embodiments of this application, the device further includes: a second calculation unit, used to calculate the length of each moving path in the path to be detected by using M updated coordinates when detecting the signal quality of the target path, to obtain M updated lengths, wherein the target path and the path to be detected are connected end to end; and a third determination unit, used to calculate the average value of the M updated lengths to obtain the average length, and determine the average length as the path length of each moving path in the target path.
[0145] The aforementioned signal quality detection device includes a processor and a memory. The first determining unit 41, the acquiring unit 42, the first calculating unit 43, the correction unit 44, etc., are all stored in the memory as program units. The processor executes the aforementioned program units stored in the memory to realize the corresponding functions.
[0146] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured. By adjusting the kernel parameters, the problem in related technologies where the inability to receive satellite positioning signals in buildings leads to the inaccurate acquisition of signal acquisition points along the detection path, thus affecting the accuracy of building signal quality analysis can be addressed.
[0147] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0148] This invention provides a computer-readable storage medium storing a program thereon, which, when executed by a processor, implements the signal quality detection method.
[0149] This invention provides a processor for running a program, wherein the program executes the signal quality detection method during runtime.
[0150] like Figure 5 As shown, this embodiment of the invention provides an electronic device 50, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of the above-described signal quality detection method. The device described herein can be a server, PC, PAD, mobile phone, etc.
[0151] This application also provides a computer program product that, when executed on a data processing device, is adapted to perform a program that initializes the steps of the above-described signal quality detection method.
[0152] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0153] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0154] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0155] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0156] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0157] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0158] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0159] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0160] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A signal quality detection method, characterized in that, include: The starting and ending positions of the path to be detected are obtained, and the coordinate information of the starting and ending positions is determined by satellite imagery, wherein the satellite imagery is satellite imagery of the path to be detected; The movement information of the inspection personnel is obtained each time they move from the starting position to the ending position, resulting in M sets of movement information. Each set of movement information includes at least: the termination time of reaching the end point of each movement path and the signal quality of the end point, where M is a positive integer. The coordinates of the endpoint of each movement path are calculated based on the coordinates of the starting position and the M sets of movement information, resulting in M endpoint coordinates. Calculate the offset between the coordinates of the last moving point and the coordinates of the endpoint, and use the offset to correct the coordinates of the M endpoints to obtain M updated coordinates. Based on the correspondence between the endpoint coordinates and the updated coordinates, determine the signal quality of each updated coordinate to obtain the signal quality information within the path to be detected. The calculation of the offset between the coordinates of the end point of the last movement path and the coordinates of the endpoint includes: calculating the difference between the x-coordinate of the end point of the last movement path and the x-coordinate of the endpoint to obtain a first x-coordinate offset; calculating the difference between the y-coordinate of the end point of the last movement path and the y-coordinate of the endpoint to obtain a first y-coordinate offset; dividing the first x-coordinate offset by M to obtain a second x-coordinate offset; dividing the first y-coordinate offset by M to obtain a second y-coordinate offset; and determining the second x-coordinate offset and the second y-coordinate offset as the offset.
2. The method according to claim 1, characterized in that, The movement information of the inspector is obtained for each movement from the starting position to the ending position, resulting in M sets of movement information, including: The termination time is obtained by determining the time when the inspector reaches the end point of the movement path after completing the movement operation; Determine whether the movement operation is the first movement operation. If the movement operation is the first movement operation, measure the angle between the movement path and the path to be detected by the angular momentum change detector. If the movement operation is not the first movement operation, the angle between the movement path and the movement path of the previous movement operation is determined by the angular momentum change detector; Obtain the signal detection requirements of the detection area to which the path to be detected belongs, determine the signal detection strategy based on the signal detection requirements, and detect the signal quality of the termination point through the signal detection strategy to obtain the signal quality of the termination point.
3. The method according to claim 2, characterized in that, Based on the coordinates of the starting position and the M sets of movement information, the coordinates of the endpoint of each movement path are calculated, resulting in M endpoint coordinates, including: The movement information of the first path is obtained from the M groups of movement information, and the angle between the path to be detected and the preset orientation is calculated to obtain the preset angle, wherein the position of the starting point of the first path is the movement path of the starting position. The angle between the first path and the preset orientation is calculated using the angle value in the first movement information and the preset angle to obtain the first angle. The coordinates of the end point of the first path are determined by the first angle and the path length of the first path, wherein the path length of the first path is the step length of the detection personnel. The coordinates of the end point of the first path are determined as the coordinates of the start point of the second path. The second angle of the second path is calculated based on the movement information of the second path and the first angle. The coordinates of the end point of the second path are calculated using the second angle and the coordinates of the start point of the second path. The remaining paths are iteratively calculated to complete the calculation of the coordinates of the end point of each movement path, thereby obtaining the coordinates of the M end points. The first path is connected to the second path.
4. The method according to claim 3, characterized in that, Calculating the angle between the first path and the preset orientation using the angle value in the first movement information and the preset angle to obtain the first angle, and determining the coordinates of the end point of the first path using the first angle and the path length of the first path includes: The first angle is obtained by adding or subtracting the angle value from the preset angle; The path length of the first path is used as the hypotenuse to generate a triangle, thus obtaining the target triangle; The lengths of the opposite side and the adjacent side of the first angle in the target triangle are calculated using the first angle and the path length of the first path. The x-coordinate of the starting position is added to or subtracted from the length of the opposite side to obtain the x-coordinate of the ending point. The y-coordinate of the starting position is added to or subtracted from the length of the adjacent side to obtain the y-coordinate of the ending point.
5. The method according to claim 1, characterized in that, The M endpoint coordinates are corrected using the offset to obtain M updated coordinates, including: Obtain the sequence number of the movement path to which each endpoint coordinate belongs, resulting in M sequence numbers; Add the x-coordinate of each termination point coordinate to the first product to obtain the updated x-coordinate of each termination point coordinate, wherein the first product is the product of the second x-coordinate deviation and the corresponding index of the termination point coordinate. Add the ordinate of each termination point coordinate to the second product to obtain the updated ordinate of each termination point coordinate, where the second product is the product of the second ordinate deviation and the corresponding index of the termination point coordinate. The updated x-coordinate and y-coordinate of each termination point are combined to obtain the updated coordinates of each termination point.
6. The method according to claim 1, characterized in that, Determining the coordinate information of the starting position and the ending position using satellite imagery includes: Obtain the detection area where the path to be detected is located, and obtain satellite imagery and building floor plans of the detection area; The satellite imagery and the building floor plan are combined to obtain a map of the area to be detected; The reference points for the start and end positions of the path to be detected are determined, and the coordinate information of the reference points is determined in the map to obtain the coordinate information of the start and end positions.
7. The method according to claim 6, characterized in that, Before acquiring the movement information of each movement of the inspection personnel from the starting position to the ending position, and obtaining M sets of movement information, the method further includes: The inspection personnel's direction of movement is captured by a camera device equipped with them, thus obtaining image information. Determine whether a reference object for the endpoint position exists in the image information, and if a reference object for the endpoint position exists in the image information, determine the distance between the reference object for the endpoint position and the inspection personnel; If there is no reference point for the endpoint in the image information, the inspector is instructed to continue along the path to be inspected. Determine whether the distance between the reference point at the endpoint and the inspector is greater than or equal to a preset distance. If the distance between the reference point at the endpoint and the inspector is less than the preset distance, instruct the inspector to continue along the path to be inspected. If the distance between the reference point at the endpoint and the inspector is greater than or equal to the preset distance, determine that the inspector has reached the endpoint.
8. The method according to claim 1, characterized in that, After obtaining the signal quality information within the path to be detected, the method further includes: When detecting the signal quality of the target path, the length of each moving path in the path to be detected is calculated using the M updated coordinates to obtain M updated lengths, wherein the target path and the path to be detected are connected end to end; Calculate the average of the M updated lengths to obtain the average length, and determine the average length as the path length of each movement path in the target path.
9. A signal quality detection device, characterized in that, include: The first determining unit is used to obtain the starting position and the ending position of the path to be detected, and to determine the coordinate information of the starting position and the ending position through satellite imagery, wherein the satellite imagery is satellite imagery of the path to be detected; The acquisition unit is used to acquire the movement information of the inspection personnel when they move from the starting position to the ending position, and obtain M sets of movement information. Each set of movement information includes at least: the termination time of reaching the end point of each movement path and the signal quality of the end point, where M is a positive integer. The first calculation unit is used to calculate the coordinates of the endpoint of each movement path based on the coordinate information of the starting position and the M sets of movement information, so as to obtain the coordinates of M endpoints. The correction unit is used to calculate the offset between the coordinates of the last moving point and the coordinates of the endpoint position, and use the offset to correct the coordinates of the M endpoints to obtain M updated coordinates. Based on the correspondence between the endpoint coordinates and the updated coordinates, the signal quality of each updated coordinate is determined to obtain the signal quality information within the path to be detected. The correction unit includes: a fourth calculation module for calculating the difference between the x-coordinate of the end point of the last movement path and the x-coordinate of the end point, to obtain a first x-coordinate deviation; a fifth calculation module for calculating the difference between the y-coordinate of the end point of the last movement path and the y-coordinate of the end point, to obtain a first y-coordinate deviation; a sixth calculation module for dividing the first x-coordinate deviation by M to obtain a second x-coordinate deviation, and dividing the first y-coordinate deviation by M to obtain a second y-coordinate deviation; and a first determination module for determining the second x-coordinate deviation and the second y-coordinate deviation as the offset.
10. A computer storage medium, characterized in that, The computer storage medium is used to store a program, wherein the program, when running, controls the device where the computer storage medium is located to execute the signal quality detection method according to any one of claims 1 to 8.
11. An electronic device, characterized in that, It includes one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the signal quality detection method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Indoor signal acquisition method and device based on MEMS sensor
CN104166149A
