EP-4738915-A1 - ROAMING TEST METHOD AND APPARATUS, TERMINAL DEVICE, AND STORAGE MEDIUM
Abstract
Embodiments of this application provide a roaming test method and apparatus, terminal equipment, and a storage medium, where the method is applied to terminal equipment and includes: performing augmented reality AR positioning on the terminal equipment to obtain AR coordinates of a track point of the terminal equipment, and determining detection data corresponding to the track point, where the AR coordinates are coordinates in an AR coordinate system of the terminal equipment, and the track point represents a position of the terminal equipment in a roaming test in a detection region; updating a movement track of the terminal equipment based on the AR coordinates of the track point; and displaying the corresponding detection data.
Inventors
- GAO, Julin
Assignees
- Ruijie Networks Co., Ltd.
Dates
- Publication Date
- 20260506
- Application Date
- 20240430
Claims (19)
- A roaming test method, applied to terminal equipment and comprising: performing augmented reality AR positioning on the terminal equipment to obtain AR coordinates of a track point of the terminal equipment; and determining detection data corresponding to the track point, wherein the AR coordinates are coordinates in an AR coordinate system of the terminal equipment, and the track point represents a position of the terminal equipment in a roaming test in a detection region; and updating a movement track of the terminal equipment based on the AR coordinates of the track point, and displaying the movement track and the corresponding detection data.
- The method according to claim 1, wherein before the updating the movement track displayed on the terminal equipment, the method further comprises: determining image coordinates of a first positioning point in ambient image data and first AR coordinates of the first positioning point in an initial AR coordinate system based on the ambient image data of the detection region, wherein the first positioning point comprises at least two first positioning sub-points; and determining a first adjustment scale for the image coordinate system and the initial AR coordinate system based on the image coordinates of the first positioning point and the first AR coordinates of the first positioning point.
- The method according to claim 2, wherein the performing the augmented reality AR positioning on the terminal equipment to obtain the AR coordinates of the track point of the mobile terminal comprises: when the AR coordinate system corresponding to the terminal equipment is not shifted, performing the AR positioning on the terminal equipment based on the initial AR coordinate system to obtain the first AR coordinates of the track point of the terminal equipment.
- The method according to claim 3, wherein the updating the movement track displayed on the terminal equipment based on the AR coordinates of the track point comprises: when the AR coordinate system corresponding to the terminal equipment is not shifted, converting the first AR coordinates of the track point into image coordinates of the track point based on the first adjustment scale; and generating a movement track of the terminal equipment in the floor plan based on the image coordinates of the track point.
- The method according to claim 4, wherein the first adjustment scale comprises a first transverse adjustment scale and a first longitudinal adjustment scale; and the first transverse adjustment scale is determined based on an image abscissa difference and an AR abscissa difference between different first positioning sub-points; and the first longitudinal adjustment scale is determined based on an image ordinate difference and an AR ordinate difference between the different first positioning sub-points.
- The method according to claim 5, wherein the converting the first AR coordinates of the track point into the image coordinates of the track point based on the first adjustment scale comprises: determining a first AR abscissa change based on a difference between a first AR abscissa of the track point and an AR abscissa of one of the first positioning sub-points; determining an image abscissa change based on the first AR abscissa change and the first transverse adjustment scale; and adding the image abscissa change to the image abscissa of the first positioning sub-point, to obtain the image abscissa of the track point; and determining a first AR ordinate change based on a difference between a first AR ordinate of the track point and a first AR ordinate of the one of the first positioning sub-points; determining an image ordinate change based on the first AR ordinate change and the first longitudinal adjustment scale; and adding the image ordinate change to the image ordinate of the first positioning sub-point, to obtain the image ordinate of the track point.
- The method according to claim 2, wherein the method further comprises: when the AR coordinate system corresponding to the terminal equipment is shifted, determining image coordinates of a second positioning point and second AR coordinates of the second positioning point in the shifted AR coordinate system, wherein the second positioning point comprises at least two second positioning sub-points; and determining a second adjustment scale for the image coordinate system and the shifted AR coordinate system based on the image coordinates of the second positioning point and the second AR coordinates of the second positioning point.
- The method according to claim 7, wherein the performing the augmented reality AR positioning on the terminal equipment to obtain AR coordinates of the track point of the mobile terminal comprises: when the AR coordinate system corresponding to the terminal equipment is shifted, performing the AR positioning on the mobile terminal based on the shifted AR coordinate system to obtain the second AR coordinates of the track point of the mobile terminal.
- The method according to claim 8, wherein the updating the movement track displayed on the terminal equipment based on the AR coordinates of the track point comprises: when the AR coordinate system corresponding to the terminal equipment is shifted, converting the second AR coordinates of the track point into the image coordinates of the track point based on the second adjustment scale; and generating a movement track of the terminal equipment in the ambient image data based on the image coordinates of the track point.
- The method according to claim 7, wherein when the AR coordinate system corresponding to the terminal equipment is shifted, the method further comprises: converting the second AR coordinates of the track point into the first AR coordinates in the initial AR coordinate system based on the first adjustment scale and the second adjustment scale; and after the roaming test is completed, generating a roaming track corresponding to the roaming test based on first AR coordinates of all track points.
- The method according to claim 1, wherein the method further comprises: annotating a target track point in the movement track.
- The method according to claim 1, wherein the updating the movement track displayed on the terminal equipment and displaying the detection data further comprises: displaying the movement track on a collected reality view of the detection region.
- The method according to claim 12, wherein the displaying the movement track on the collected reality view of the detection region comprises: when the movement track comprises a target track point, rendering annotation information corresponding to the target track point in the reality view.
- The method according to claim 11 or 13, wherein the target track point is determined in the following methods: in response to a user annotation instruction, determining a track point corresponding to the user annotation instruction as the target track point, wherein an annotation type of the target track point is a user annotation; and/or determining, as the target track point, the track point representing AP switching, wherein an annotation type of the target track point is roaming.
- The method according to claim 13, wherein the method further comprises: when the reality view comprises a target region, rendering AP information corresponding to the target region in the reality view, wherein the target region comprises a position of an AP which the terminal equipment currently accesses.
- The method according to claim 1, wherein the method further comprises: generating a roaming report for the detection region, wherein the roaming report comprises a part or all of a roaming track, a number of roaming times, a signal strength change curve, and a latency change curve corresponding to the roaming test.
- A roaming test apparatus, applied to augmented reality terminal equipment and comprising: an augmented reality AR positioning module, configured to perform AR positioning on the terminal equipment to obtain AR coordinates of a track point of the terminal equipment, wherein the AR coordinates are coordinates in an AR coordinate system of the terminal equipment, and the track point represents a position of the terminal equipment in a roaming test in a detection region; a test module, configured to determine detection data corresponding to the track point; a movement track generating module, configured to update a movement track of the terminal equipment based on the AR coordinates of the track point; and a display module, configured to display the movement track and corresponding detection data.
- Augmented reality terminal equipment, comprising at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor is enabled to perform the method according to any one of claims 1 to 16.
- A computer-readable storage medium, storing a computer program that may be executed by a computer, wherein when the program runs on the computer, the computer is enabled to perform the method according to any one of claims 1 to 16.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to Chinese Patent Application No. 202310797641.3, filed with the China National Intellectual Property Administration on June 30, 2023 and entitled "ROAMING TEST METHOD AND APPARATUS, TERMINAL EQUIPMENT, AND STORAGE MEDIUM", which is incorporated herein by reference in its entirety. TECHNICAL FIELD Embodiments of this application relate to the field of communication technologies, and in particular, to a roaming test method and apparatus, terminal equipment, and a storage medium. BACKGROUND A wireless access point (AP) is an access point for a wireless network, that is, an access point for a user of a wireless device to access a wired network. In implementation, a plurality of APs need to be deployed in some regions, and roaming tests are required to evaluate deployment statuses of the APs after the deployment. In the related art, a tester moves within the deployment region while carrying a mobile phone to interact with the APs to conduct roaming tests and obtain roaming test results. Then, based on the roaming test results, the tester evaluates whether the deployment of the APs is appropriate. SUMMARY Embodiments of this application provide a roaming test method and apparatus, terminal equipment, and a storage medium, to obtain a movement track in a roaming test. According to a first aspect, an embodiment of this application provides a roaming test method, applied to terminal equipment, where the method includes: performing augmented reality (AR) positioning at a track point of the terminal equipment to obtain AR coordinates of the track point; and determining detection data corresponding to the track point, where the AR coordinates are coordinates in an AR coordinate system of the terminal equipment, and the track point is a position of the terminal equipment in a roaming test in a detection region; andgenerating a movement track of the terminal equipment based on the AR coordinates of the track point, and displaying the movement track and the detection data. In the foregoing solution, in the roaming test process, not only the detection data corresponding to the track point (the position of the terminal equipment) is obtained in real time, but also the AR coordinates of the track point in the AR coordinate system are obtained in real time through AR positioning, that is, detection data of each track point and the corresponding AR coordinates (position information) are obtained in real time during the roaming test, so that the deployment of the APs may be more accurately evaluated based on the detection data of the track point and the corresponding AR coordinates after the roaming test is completed. In addition, based on the AR coordinates of the track point, the movement track (updated in real time along with the movement of the terminal equipment) of the terminal equipment is generated; the reality view corresponding to the movement track, the detection data, and the detection region is displayed, and in this way, the user may learn a test result corresponding to the tested track point based on the movement track and the detection data, and plan a subsequent test route more properly with reference to this information, to conduct the roaming test more effectively. In some optional implementations, before the generating the movement track of the terminal equipment, the method further includes: determining image coordinates and first AR coordinates of a first positioning point in the detection region in response to a floor plan of the detection region, where the first positioning point includes at least two positioning points, the image coordinates are coordinates in an image coordinate system of the floor plan, and the first AR coordinates are coordinates in an initial AR coordinate system of the terminal equipment; anddetermining a first adjustment scale for the image coordinate system and the initial AR coordinate system based on the image coordinates and the first AR coordinates of the first positioning point. The generating a movement track of the terminal equipment based on the AR coordinates of the track point includes: when the AR coordinate system corresponding to the terminal equipment is not shifted, converting the first AR coordinates of the track point into image coordinates of the track point based on the first adjustment scale; andgenerating a movement track of the terminal equipment in the floor plan based on the image coordinates of the track point. In the foregoing solution, the AR coordinate system is used for the positioning of the terminal equipment. The floor plan is an image, and the image coordinate system is used. At least two first positioning points are used, and the image coordinates and the first AR coordinates of the first positioning points are determined. Then the first adjustment scale of the image coordinate system and the initial AR coordinate system is determined, the first AR coordinates of the track