Terminal roaming mobile line verification method, AP signal strength adjustment method and electronic equipment

By determining the initial RSSI value in the terminal roaming mobile line verification method, setting the mobile line and test points, and adjusting the AP signal strength according to the expected roaming threshold and signal loss principle, the problem of single roaming verification method and non-linear signal adjustment in the prior art is solved, and more accurate and reliable roaming verification results are achieved.

CN119865838APending Publication Date: 2025-04-22SUNMI INTELLIGENT TECH (ZHEJIANG) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510011183.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-03
Publication Date
2025-04-22

Smart Images

  • Figure CN119865838A_ABST
    Figure CN119865838A_ABST
Patent Text Reader

Abstract

The invention provides a terminal roaming mobile line verification method, an AP signal strength adjusting method and electronic equipment, and the verification method comprises the steps: determining an initial RSSI value of each AP, the initial RSSI value being an RSSI value of a tested terminal at an AP position; setting a moving line of the tested terminal, and dividing the moving line into a plurality of test point locations; determining an expected RSSI value of the tested terminal at each AP of each test point according to the mobile line, the initial RSSI value, an expected roaming threshold value of the test point, a spectrum suppression principle and a path loss principle; detecting a test RSSI value of each AP of the tested terminal at each test point location in the moving process of the tested terminal according to the moving line; and judging whether the test RSSI value of the tested terminal is equal to the expected RSSI value or not within the error range. According to the invention, different attenuation modes can be set according to different AP arrangement positions, the signal intensity change of each AP and the roaming condition of the terminal in the moving process of the terminal are simulated, and the verification result is more accurate and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention mainly relates to the technical field of terminal performance testing, and in particular to a terminal roaming mobile line verification method, an AP signal strength adjustment method and an electronic device. Background Art

[0002] Roaming refers to the technology that ensures that wireless terminals (such as mobile phones, computers, etc.) can maintain uninterrupted network connections during movement in a wireless network with the same SSID (Service Set Identifier). It allows terminals to automatically switch between different APs (Wireless Access Points) without interrupting network connections. The purpose of roaming is to allow terminals to switch freely during mobile communications and maintain continuous access to the network without perception. In an actual wireless network environment, the roaming function can be verified by configuring different APs and ACs (Wireless Access Controllers) and then performing roaming tests. For example, Layer 2 wireless roaming based on ACs can be configured and verified.

[0003] Regarding how to effectively and accurately verify wireless roaming, the existing technology also uses a number of shielding boxes + adjustable attenuators and other devices to control the AP wireless signal strength threshold, thereby changing the RSSI (Received Signal Strength Indication) to achieve the effect of roaming switching. However, this verification method has the following shortcomings: 1. The verification method is single. For example, in a two-AP topology, one AP is fixed to have a better signal strength, and then the signal strength of the other AP is controlled (single variable) to verify the signal threshold of roaming switching. It does not cover the scenario where the signals of the two APs change at the same time; 2. It does not cover the verification of roaming under various mobile lines, such as roaming verification under 3 or more AP topologies; 3. The signal adjustment is not linear. Due to manual adjustment, the signal jump is too fast, which may affect the test results. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a terminal roaming mobile line verification method, an AP signal strength adjustment method and an electronic device, which simulate the changes in the signal strength of each AP and the terminal roaming situation during the terminal's movement, and the verification result is more accurate and reliable.

[0005] To solve the above technical problems, in the first aspect, the present invention provides a terminal roaming transfer line verification method, which is applied to a multi-AP roaming verification system, including: determining an initial RSSI value of each AP, wherein the initial RSSI value is the RSSI value of the tested terminal at the AP position; setting a moving line of the tested terminal, and dividing the moving line into multiple test points; determining the expected RSSI value of each AP of the tested terminal at each test point according to the moving line, the initial RSSI value, the expected roaming threshold of the test point, the spectrum suppression principle, and the path loss principle; detecting the test RSSI value of each AP of the tested terminal at each test point during the movement of the tested terminal according to the mobile line; and judging whether the test RSSI value of the tested terminal is equal to the expected RSSI value within an error range.

[0006] Optionally, it also includes: detecting the first-point RSSI value of each AP received by the tested terminal at the starting test point of the mobile line; calculating the signal strength difference between each first-point RSSI value and its corresponding initial RSSI value; and adjusting the signal strength value of each AP so that the signal strength difference between every two APs is greater than the signal strength difference set value.

[0007] Optionally, in the multi-AP roaming verification system, the APs are arranged in a straight line in sequence; setting the moving route of the tested terminal includes: the moving route is parallel to the straight line where the APs are located.

[0008] Optionally, in the multi-AP roaming verification system, the APs are arranged in a star shape; setting the moving route of the tested terminal includes: the moving route is a ring moving route or a zigzag moving route.

[0009] Optionally, during the movement of the tested terminal according to the mobile line, the signal strength of each AP is adjusted by adjusting the attenuation value of an adjustable attenuator connected to each AP.

[0010] Optionally, adjusting the attenuation value of the adjustable attenuator includes: adjusting the attenuation value of the adjustable attenuator through a computer program.

[0011] Optionally, the method further includes: adjusting the delay of each AP so that the difference in signal strength of each AP at two adjacent test points caused by the delay does not exceed the maximum value of the difference in signal strength of the two adjacent test points.

[0012] Optionally, it also includes: determining the expected roaming connection AP of the tested terminal at each of the test points; detecting the test roaming connection AP of the tested terminal during the movement of the tested terminal according to the mobile line; and determining whether the test roaming connection AP of the tested terminal is the expected roaming connection AP.

[0013] In the second aspect, the present invention provides an AP signal strength adjustment method, which is applied to a multi-AP roaming verification system, including: obtaining initial data, the initial data including the following data: a mobile line of a tested terminal, an initial RSSI value, and a test point; wherein the initial RSSI value is the RSSI value of the tested terminal at the AP position, and the test point is a plurality of test points divided in the mobile line of the tested terminal; initializing a roaming verification environment, including: initializing the signal strength of each AP so that the tested terminal network is connected to the AP closest to the tested terminal at the starting test point; and adjusting the signal strength of each AP according to a set program.

[0014] Optionally, adjusting the signal strength of each AP according to a set program includes: for each AP, during the movement of the tested terminal according to the mobile line, judging the relationship between the RSSI value of the front test point and the RSSI value of the rear test point; if the RSSI value of the front test point is greater than the RSSI value of the rear test point, performing signal attenuation of the corresponding AP; if the RSSI value of the front test point is less than the RSSI value of the rear test point, performing signal strength increase of the corresponding AP.

[0015] Optionally, it also includes: when the tested terminal reaches the roaming threshold, determining whether roaming has occurred at the tested terminal, and if not, continuing to execute the AP signal strength adjustment method; if roaming has occurred, determining whether the roaming test point at this time is the last test point, and if not, continuing to execute the AP signal strength adjustment method, otherwise, ending the AP signal strength adjustment method.

[0016] In a third aspect, the present invention provides an AP signal strength adjustment device, comprising: an acquisition module, used to acquire initial data, the initial data including the following data: a mobile line of a tested terminal, an initial RSSI value, and a test point; wherein the initial RSSI value is the RSSI value of the tested terminal at the AP position, and the test point is a plurality of test points divided in the mobile line of the tested terminal; an initialization module, used to initialize a roaming verification environment, including: initializing the signal strength of each AP so that the tested terminal network is connected to the AP closest to the tested terminal at the starting test point; an adjustment module, used to adjust the signal strength of each AP according to a set program.

[0017] In a fourth aspect, the present invention provides an electronic device, comprising: a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the AP signal strength adjustment method as described in the second aspect are implemented.

[0018] In a fifth aspect, the present invention provides a readable storage medium storing a program or instruction, which, when executed by a processor, implements the steps of the AP signal strength adjustment method as described in the second aspect.

[0019] Compared with the prior art, the present invention has the following advantages: different attenuation modes can be set according to different AP arrangement positions, and the signal strength change and roaming conditions of each AP during the movement of the terminal can be simulated, so that the roaming verification result is more accurate and reliable. Computer programs and automated scripts can be used to linearly control the attenuation variable, which can better simulate the actual moving pace and attenuation, avoiding the attenuation jump caused by manual adjustment and affecting the effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings are included to provide a further understanding of the present application. They are included and constitute a part of the present application. The accompanying drawings illustrate embodiments of the present application and together with the present specification serve to explain the principles of the present application. In the accompanying drawings:

[0021] Figure 1 It is a flowchart of a method for verifying a terminal roaming transfer line according to an embodiment of the present invention;

[0022] Figure 2 It is a structural diagram of the multi-AP roaming verification system of the present invention;

[0023] Figure 3 It is a schematic diagram of the linear arrangement of APs in the multi-AP roaming verification system of the present invention;

[0024] Figure 4 It is a schematic diagram of the star arrangement of APs in the multi-AP roaming verification system of the present invention;

[0025] Figure 5 It is a ring type mobile line in a terminal roaming transfer line verification method according to an embodiment of the present invention;

[0026] Figure 6 It is a broken line mobile line in a terminal roaming transfer line verification method according to an embodiment of the present invention;

[0027] Figure 7 It is a flowchart of a method for adjusting AP signal strength according to an embodiment of the present invention;

[0028] Figure 8is another flow chart of a method for adjusting AP signal strength according to an embodiment of the present invention;

[0029] Fig. 9 It is a structural schematic diagram of an AP signal strength adjustment device according to an embodiment of the present invention;

[0030] Fig.10 FIG. 4 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.

[0032] As shown in this application and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.

[0033] Flowcharts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps may be processed in reverse order or simultaneously. At the same time, other operations may be added to these processes, or one or more operations may be removed from these processes.

[0034] Figure 1 is a flow chart of a method for verifying a terminal roaming transfer line according to an embodiment of the present invention, with reference to Figure 1As shown, the verification method 100 is applied to a multi-AP roaming verification system, and mainly includes: S110, determining an initial RSSI value of each AP, wherein the initial RSSI value is the RSSI value of the tested terminal at the AP position; setting a moving route of the tested terminal, and dividing the moving route into a plurality of test points; S120, determining the expected RSSI value of each AP of the tested terminal at each test point according to the moving route, the initial RSSI value, the expected roaming threshold of the test point, the spectrum suppression principle, and the path loss principle; S130, detecting the test RSSI value of each AP of the tested terminal at each test point during the movement of the tested terminal according to the mobile route; S140, judging whether the test RSSI value of the tested terminal is equal to the expected RSSI value within an error range.

[0035] Multi-AP roaming verification system can be referenced Figure 2 As shown, the verification system mainly includes 4 1*1*1 meter shielding boxes, 2 to 3 adjustable attenuators (BR121-C) for adjusting the signal strength attenuation and simulating the changes in signal strength in the actual environment, 1 main control PC, several 1-meter SMA feeders (with antennas) for wireless signal transmission, 1 set of AC+3AP equipment (with Category 6 network cables), and 1 Android terminal (supporting 11kvr function).

[0036] This embodiment can efficiently control signal strength variables and set different AP topologies and terminal mobile routes, that is, simulate the device under test (DUT) according to the movement of the mobile route, subdivide the mobile route into multiple test points, combine each test point and each adjustable attenuator, and linearly change the signal strength of each AP to achieve the expected roaming verification effect, such as the RSSI value of each AP received during the movement of the terminal under test, thereby verifying the roaming performance of the terminal under test.

[0037] For the initial RSSI value, the value can determine the initial state of each AP (attenuation 0dB). For example, the signal strength of each AP can be checked in the WiFi magic box of the tested terminal. Generally, the signal strength is best between -30dBm and -35dBm.

[0038] In this embodiment, the expected roaming threshold of the test point is the signal strength threshold for roaming switching when the predetermined test point is reached. For example, if the threshold is set to -65dBm, the actual AP signal fluctuates, and -68dBm can be used as an estimated value.

[0039] In one example, the method of this embodiment also includes: at the starting test point of the mobile line, detecting the first point RSSI value of each AP received by the tested terminal, calculating the signal strength difference between each first point RSSI value and its corresponding initial RSSI value, and adjusting the signal strength value of each AP so that the signal strength difference between every two APs is greater than the signal strength difference setting value. The signal strength difference is the initial attenuation value. According to the spectrum suppression principle, in order to avoid mutual interference between the two APs, the relative signal strength difference between the two APs is ≥35dB.

[0040] In one example, the APs in the multi-AP roaming verification system are arranged in a straight line, and the moving line is parallel to the straight line where the APs are located. Figure 3 As shown in the figure, three APs are shown, AP1, AP2 and AP3 are arranged in sequence and on the same straight line. This topology type can be called a chain topology. In order to verify the roaming performance of the terminal under test, the set moving line of the terminal under test can also be a straight line, such as the terminal under test moves from point A to point C in the figure, and then moves from point C to point E, or the terminal under test can also move from point E to point C, and then move from point C to point A.

[0041] In one example, the APs in the multi-AP roaming verification system are arranged in a star shape, and the mobile lines are ring-shaped mobile lines or zigzag mobile lines. Figure 4 As shown, three APs are shown in the figure, and AP1, AP2 and AP3 are arranged at the three vertices of the triangle position respectively. This topology type can be called a star topology. In order to verify the roaming performance of the terminal under test, the set mobile route of the terminal under test can be a ring mobile route, such as the terminal under test moves from point A in the figure to point B, point C, point D, point E in sequence, and finally returns to point A. It can also be a broken line mobile route, for example, moving from point A to point, and then from point O to point C, and so on. Of course, the mobile route of the terminal under test can have other forms, but it does not affect the understanding of the essential content of this embodiment, and will not be repeated here.

[0042] In one example, during the movement of the tested terminal according to the mobile line, the attenuation value of the adjustable attenuator connected to each AP is adjusted to adjust the signal strength of each AP. Furthermore, the attenuation value of the adjustable attenuator is adjusted by a computer program.

[0043] The adjustable attenuator can adjust the amplitude of the signal within a certain range according to actual needs to achieve signal attenuation. The working principle of the adjustable attenuator is mainly based on various mechanisms such as resistance attenuation, transformer attenuation, PIN diode attenuation and variable capacitor attenuation. The signal strength of the AP is adjusted by the adjustable attenuator. The input end of the adjustable attenuator is connected to the signal output end of the AP, and the output end of the adjustable attenuator is connected to the device or system that needs to receive the signal. The attenuation of the adjustable attenuator is set to an appropriate initial value, and then the attenuation is adjusted as needed. The adjustable attenuator often has communication interfaces such as USB or RS232, allowing computers or other control devices to send control instructions through these interfaces.

[0044] In one example, the method of this embodiment further includes adjusting the delay of each AP so that the difference in signal strength of each AP at two adjacent test points caused by the delay does not exceed the maximum value of the difference in signal strength of the two adjacent test points.

[0045] In this embodiment, the signal strength difference between two adjacent test points is the measured AP signal strength difference between each two test points. In the terminal roaming mobile line verification process, the two adjacent test points have the following relationship: the total time of the test point delay * the signal strength difference between adjacent test points is the same. For example, if the delay of the first AP is 1 second, the delay of the second AP = the delay of the first AP * the signal strength difference of the first AP / the signal strength difference of the second AP.

[0046] In one example, the method of this embodiment also includes: determining the expected roaming connection AP of the tested terminal at each test point, detecting the test roaming connection AP of the tested terminal during the movement of the tested terminal according to the mobile line, and determining whether the test roaming connection AP of the tested terminal is the expected roaming connection AP.

[0047] The verification of the roaming performance of the tested terminal can be done by verifying whether the signal strength of each AP received by the tested terminal meets expectations during the movement of the tested terminal according to the mobile line, which is a requirement for signal reception strength. In addition, it can also be determined whether the tested roaming connection AP of the tested terminal is the expected roaming connection AP when the roaming switching threshold is reached, to further verify the roaming performance of the tested device.

[0048] For example, the APs are arranged in a chain topology. Figure 3As shown. According to the layout of APs, the mobile line is designed to move from AP1 to AP2 and AP3 in sequence, and then from AP3 to AP2 and AP1, that is, A>C>E>C>A (round trip). Combined with the 7 key data of the mobile line confirmation test: initial RSSI value (dBm), test point, expected roaming threshold of the test point (dBm), initial attenuation value (dB), test point RSSI value (dBm), test point delay (seconds), and adjacent test point signal strength difference (dB).

[0049] Table 1 Numerical estimation of chain route (1)

[0050]

[0051] Table 2 Numerical estimation of chain route (2)

[0052]

[0053]

[0054] Based on the contents of Table 1 and Table 2, the following information can be obtained: for the initial RSSI value, without attenuation, the terminal detects the RSSI values ​​of the three APs as -33dBm, -34dBm, and -38dBm respectively.

[0055] The expected roaming threshold of the test point is based on the set roaming threshold (such as -68dBm). When the tested terminal switches to each test point, it detects that the signal strength of the connected AP is -68dBm. For example, at point C, the tested terminal detects that the signal strength of AP1 is -68dBm. The signal strength of other test points can be inferred accordingly.

[0056] For the initial attenuation value, based on AP1 and the spectrum suppression principle, the difference in signal strength between adjacent APs is ≥35dB, and the estimated initial attenuation values ​​are 0dB, 34dB, and 69dB respectively. However, according to actual measurements, the relatively good attenuation value of AP3 is 57dB, so the actual initial attenuation values ​​are 0dB, 34dB, and 57dB respectively.

[0057] The RSSI value of the test point is determined based on the initial RSSI value, the expected roaming threshold of the test point, the spectrum suppression principle, and the line attenuation. The signal strength of each AP detected at each test point is determined, including: 1) The RSSI values ​​of test point A are -33dBm, -68dBm, and -95dBm (initial RSSI value + initial attenuation value); 2) The RSSI values ​​of test point C are -68dBm, -34dBm, and -68dBm. Point C is the roaming point where AP1 switches to AP2, so the signal strength of AP1 is -68dBm. Since point C is the layout point of AP2, the RSSI value of AP2 is the initial RSSI value of -34dBm. AP3 is the RSSI of AP2 + spectrum suppression, which is -68dBm. 3) The RSSI values ​​of test point E are -95dBm, -68dBm, and -38dBm. Point E is the roaming point where AP2 switches to AP3, so the signal strength of AP2 is -68dBm. Since point C is the deployment point of AP3, the RSSI value of AP3 is the initial RSSI value of -38dBm. AP1 is the RSSI of AP2 + spectrum suppression, which is -95dBm.

[0058] For the delay of the test point, the signal strength difference between the previous and next test points is combined, and the maximum signal strength difference of each AP at adjacent points is used as a reference value. For example, from point A to point C, the signal strength difference of AP1 is 35dBm. At 1 step / second, the delay of AP1 signal from point A to point C is set to 1 second. Other APs need to reach the corresponding signals at the same time. The delay of other AP2 is calculated = AP1 signal strength difference * AP1 delay / AP2 signal strength difference. The delay of each test point can be deduced by analogy.

[0059] The expected result is that at points C, E, C, and A, the tested terminals all roam and switch to the predetermined target AP. The RSSI values ​​of each AP are detected at each test point, which are close to the estimated data in Table 1, that is, the mobile line design is effective.

[0060] Table 3 Expected signal strength of chain route

[0061] Test points AP1(dBm) AP2(dBm) AP3(dBm) A -33 -68 -95 C -68 -34 -68 E -95 -68 -38 C -68 -34 -68 A -33 -68 -95

[0062] The actual result is that at points C, E, C, and A, the tested terminals all roamed and switched to the predetermined target AP. The RSSI value of each AP was detected at each test point, which was close to the estimated data in Table 1, that is, the mobile line design was effective.

[0063] Table 4 Actual signal strength of chain route

[0064] Point AP1(dBm) AP2(dBm) AP3(dBm) A -33 -69 -95 C -67 -35 -68 E -94 -69 -38 C -70 -34 -68 A -35 -68 -94

[0065] For example, the APs are arranged in a star topology. Figure 5 As shown. Design the moving route: A>D>B>F>C. If the moving route diagram shows a circular movement: A>D>B>F>C, the test points are A (AP1), B (the intersection of AP1 and AP2), C (AP2), D (the intersection of AP2 and AP3), and E (AP3). The data is shown in the following table.

[0066] Table 5 Star topology - Path 1 numerical estimation (1)

[0067]

[0068] Table 6 Star topology - Path 1 numerical estimation (2)

[0069]

[0070]

[0071] Based on the contents of Table 5 and Table 6, the following information can be obtained: For the initial RSSI value, at point A, the signal strengths of the three APs are -33dBm, -35dBm, and -37dBm, respectively.

[0072] For the expected roaming threshold of the test point, as shown in Table 5, when roaming occurs at points C and E, the RSSI value of the connected AP is -68dBm.

[0073] For the initial attenuation value, taking point A as the benchmark, according to the initial RSSI value, the expected roaming threshold of the test point, and the spectrum suppression principle, the RSSI values ​​of AP2 and AP3 detected at point A are -33+(-35)=-68dBm, so the initial attenuation values ​​of each AP are 0dB, 33dB, and 31dB.

[0074] For the RSSI values ​​at the test points, according to the equilateral triangle and path loss principle characteristics, the RSSI values ​​of each AP at each test point. 1) Point A: -30dBm, -68dBm, -68dBm; 2) Point B: -50dBm, -52dBm, -63dBm. According to the equilateral triangle characteristics and path loss principle, such as the initial RSSI value of AP1 and the RSSI value at point C, and the signal strength difference from A to C is -38dB, that is, the path loss is -38dB, then the loss at point B is 20dBm, that is, the RSSI value of AP1 detected at B is -30-20=-50dBm, and the RSSI values ​​of AP2 / AP3 can be deduced accordingly. 3) Point C: -68dBm, -35dBm, -68dBm. Point C is the test point where AP1 roams to AP2, then the RSSI of AP1 is -68dBm, AP2 is the initial RSSI (-35dBm), and AP3 is -68dBm based on the spectrum suppression principle. 4) Point D: -62dBm, -51dBm, -53dBm. According to the equilateral triangle characteristics and the path loss principle, such as the initial RSSI value of AP2 and the RSSI value at point E, and the signal difference from C to E is -33dB, that is, the path loss is -33dB, then the loss at point B is 16dBm, that is, the RSSI value of AP1 detected at point B is -35-16=-51dBm, and the RSSI values ​​of AP2 / AP3 can be deduced accordingly. 5) Point E: -68dBm, -68dBm, -37dBm. Point E is the test point where AP2 roams to AP3. The RSSI value of AP2 is -68dBm, the initial RSSI value of AP3 is -37dBm, and the RSSI value of AP1 is -68dBm based on the spectrum suppression principle.

[0075] Regarding the delay of the test point, combined with the signal strength difference between the previous and next test points, the maximum difference of each AP at adjacent test points is used as a reference value. For example, from point A to point B, the signal strength difference of AP1 is 17dBm. The delay of AP1 signal from point A to point B is set to 1 second. Other APs need to reach the corresponding signal strength at the same time. The delay of other AP2 is calculated = AP1 signal strength difference * AP1 delay / AP2 signal strength difference. The delay of each test point can be deduced by analogy.

[0076] The expected result is that at points C and E, the tested devices all roam and switch to the predetermined target AP. The RSSI values ​​of each AP are detected at each test point, which are close to the estimated data in Table 5, that is, the mobile line design is effective.

[0077] Table 7 Star topology - expected signal strength values ​​at each test point in path 1

[0078] Test points AP1 AP2 AP3 A -33 -68 -68 B -50 -52 -63 C -68 -35 -68 D -62 -51 -53 E -68 -68 -37

[0079] The actual result is that at points C and E, the tested devices all roamed and switched to the predetermined target AP. The RSSI values ​​of each AP were detected at each test point, which were close to the estimated data in Table 5, that is, the line design was effective.

[0080] Table 8 Actual signal strength values ​​of each test point in star topology-path 1

[0081] Test points AP1 AP2 AP3 A -33 -69 -67 B -51 -50 -62 C -67 -35 -68 D -63 -50 -55 E -69 -68 -37

[0082] For example, the APs are arranged in a chain topology. Figure 6 As shown in the moving line diagram, a circular movement is performed: A>O>C(E). The test points are point A (AP1), point O (the center point of the three APs), and point C (AP2). The data are shown in the following table.

[0083] Table 9 Star topology - Path 2 numerical estimation (1)

[0084]

[0085] Table 10 Star topology - Path 2 numerical estimation (2)

[0086]

[0087] Based on the contents of Table 9 and Table 10, the following information can be obtained: Initial RSSI value: At point A, the signal strengths of the three APs are -33dBm, -37dBm, and -37dBm, respectively.

[0088] For the expected roaming threshold of the test point: As shown in Table 9 above, when roaming occurs at point C, the RSSI value of the connected AP is -68dBm.

[0089] For the initial attenuation value, taking point A as the benchmark, according to the initial RSSI value, the roaming threshold of the expected point, and the spectrum suppression principle, the RSSI values ​​of AP2 and AP3 detected at point A are -33+(-35)=-68dBm, so the initial attenuation values ​​of each AP are 0dB, 31dB, and 31dB.

[0090] For the RSSI values ​​at the test points, the RSSI values ​​of each AP at each point are estimated according to the equilateral triangle characteristics, path loss principle, and spectrum suppression principle. 1) Point A: -33dBm, -68dBm, -68dBm; 2) Point O: -51dBm, -55dBm, -55dBm. According to the equilateral triangle characteristics and the path loss principle, the loss from point A to point O is 18dBm, that is, the RSSI value of AP1 detected at B is -33-18=-51dBm, and the RSSI values ​​of AP2 / AP3 can be deduced accordingly. 3) Point C: -68dBm, -37dBm, -68dBm.

[0091] According to the signal strength difference between each test point, take the maximum value as the benchmark and 1 second as the delay, and then adjust the adjustable attenuator at 1 step / second. For example, from point A to point O, the delay of AP1 is 1 second, then the delay of AP3 = AP1 delay * AP1 signal strength difference / AP3 signal strength difference.

[0092] The expected result is that at point C, roaming is switched to the predetermined target AP2. The RSSI values ​​of each AP are detected at each test point, which are close to the estimated data in Table 9, that is, the mobile line design is effective.

[0093] Table 11 Star topology - expected signal strength values ​​for path 2

[0094] Test points AP1 AP2 AP3 A -33 -68 -68 O -51 -55 -55 C -68 -37 -68

[0095] The actual result is that at point C, roaming is switched to the predetermined target AP2, and the RSSI value of each AP is detected at each point, which is close to the estimated data in the table, that is, the line design is effective.

[0096] Table 12 Actual signal strength values ​​for star topology-path 2

[0097] Test points AP1 AP2 AP3 A -33 -68 -68 O -51 -56 -55 C -68 -37 -68

[0098] The terminal roaming transfer line verification method of this embodiment can set different attenuation modes according to different AP arrangement positions, simulate the signal strength changes of each AP and the roaming conditions of the terminal during movement, and the roaming verification result is more accurate and reliable.

[0099] Another embodiment of the present invention provides an AP signal strength adjustment method, which is applied to a multi-AP roaming verification system. Figure 7 As shown, the adjustment method 700 mainly includes: S710, obtaining initial data, the initial data including the following data: a mobile line of the tested terminal, an initial RSSI value, and a test point; wherein the initial RSSI value is the RSSI value of the tested terminal at the AP position, and the test point is a plurality of test points divided in the mobile line of the tested terminal; S720, initializing the roaming verification environment, including: initializing the signal strength of each AP, so that the tested terminal network is connected to the AP closest to the tested terminal at the starting test point; S730, adjusting the signal strength of each AP according to the set program.

[0100] The method of this embodiment controls the signal strength change of each AP through a computer program or an automated script, such as a Python script, so as to achieve the effect of roaming during the movement of the tested terminal.

[0101] In this embodiment, the initial data can be stored and obtained through a table. For example, a new table is created to store important data of the test points such as "roaming mobile line, initial RSSI value, initial attenuation value", etc. When data needs to be obtained, the above data is obtained from the table.

[0102] Initialize the signal strength of each AP so that the tested terminal network is connected to the AP closest to the tested terminal at the starting test point, for example, Figure 3 Taking the topology structure shown as an example, the attenuation of AP2 and AP3 is adjusted to 110 dB to ensure that the tested terminal network is connected to the starting point AP1. In one embodiment, the initialization of the roaming verification environment can also include adjusting the initial position of each test point according to the initial attenuation value, such as adjusting it to take the AP1 position as the starting point.

[0103] In one example, reference Figure 8 As shown in the dotted box, adjusting the signal strength of each AP according to the set program includes: for each AP, when the tested terminal moves according to the mobile line, judging the relationship between the RSSI value of the front test point and the RSSI value of the rear test point; if the RSSI value of the front test point is greater than the RSSI value of the rear test point, the signal attenuation of the corresponding AP is executed; if the RSSI value of the front test point is less than the RSSI value of the rear test point, the signal strength of the corresponding AP is increased.

[0104] In one example, reference Figure 8 As shown, when the tested terminal reaches the roaming threshold, it is determined whether roaming has occurred in the tested terminal. If not, the AP signal strength adjustment method is continued to be executed; if roaming has occurred, it is determined whether the roaming test point at this time is the last test point. If it is not the last test point, the AP signal strength adjustment method is continued to be executed, otherwise, the AP signal strength adjustment method is terminated.

[0105] The AP signal strength adjustment method of this embodiment can use computer programs and automated scripts to achieve linear control of attenuation variables, which can better simulate signal attenuation and avoid the effect of attenuation jumps caused by manual adjustment. The operation is more flexible and the verification and testing efficiency is improved.

[0106] Another embodiment of the present invention provides an AP signal strength adjustment device, referring to Fig. 9As shown, the device 900 mainly includes: an acquisition module 901, used to acquire initial data, and the initial data includes the following data: a mobile line of the tested terminal, an initial RSSI value, and a test point; wherein the initial RSSI value is the RSSI value of the tested terminal at the AP position, and the test point is a plurality of test points divided in the mobile line of the tested terminal; an initialization module 902, used to initialize the roaming verification environment, including: initializing the signal strength of each AP so that the tested terminal network is connected to the AP closest to the tested terminal at the starting test point; an adjustment module 903, used to adjust the signal strength of each AP according to a set program.

[0107] In one example, the adjustment module 903 includes: adjusting the signal strength of each AP according to a set program includes: for each AP, during the movement of the tested terminal according to the mobile line, judging the relationship between the RSSI value of the front test point and the RSSI value of the rear test point; if the RSSI value of the front test point is greater than the RSSI value of the rear test point, the signal attenuation of the corresponding AP is executed; if the RSSI value of the front test point is less than the RSSI value of the rear test point, the signal strength of the corresponding AP is increased.

[0108] In one example, the device 900 also includes a judgment module for judging whether roaming has occurred in the tested terminal when the tested terminal reaches a roaming threshold. If no roaming has occurred, the AP signal strength adjustment process continues to be executed; if roaming has occurred, it is judged whether the test point of roaming at this time is the last test point. If it is not the last test point, the AP signal strength adjustment process continues to be executed; otherwise, the AP signal strength adjustment process is terminated.

[0109] The details of other operations performed by each module in this embodiment can be referred to the aforementioned embodiments and will not be elaborated here.

[0110] The AP signal strength adjustment device of this embodiment can use computer programs and automated scripts to achieve linear control of attenuation variables, and can better simulate signal attenuation, thereby avoiding the effects of attenuation jumps caused by manual adjustment, making the operation more flexible and improving verification and testing efficiency.

[0111] An AP signal strength adjustment device in the embodiment of the present application may be a device, or a component, integrated circuit, or chip in a terminal. An AP signal strength adjustment device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0112] The present application also provides an electronic device, comprising: a memory for storing programs or instructions executable by a processor; and a processor for executing the above programs or instructions to implement the various processes of the above-mentioned AP signal strength adjustment method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0113] Fig.10 1 is a schematic diagram of an electronic device according to an embodiment of the present invention. The electronic device 1000 may include an internal communication bus 1001, a processor 1002, a read-only memory (ROM) 1003, a random access memory (RAM) 1004, and a communication port 1005. When applied to a personal computer, the electronic device 1000 may also include a hard disk 1006. The internal communication bus 1001 can realize data communication between components of the electronic device 1000. The processor 1002 can make judgments and issue prompts. In some embodiments, the processor 1002 can be composed of one or more processors. The communication port 1005 can realize data communication between the electronic device 1000 and the outside. In some embodiments, the electronic device 1000 can send and receive information and data from the network through the communication port 1005. The electronic device 1000 may also include different forms of program storage units and data storage units, such as a hard disk 1006, a read-only memory (ROM) 1003 and a random access memory (RAM) 1004, which can store various data files used for computer processing and / or communication, as well as possible programs or instructions executed by the processor 1002. The results processed by the processor 1002 are transmitted to the user device through the communication port 1005 and displayed on the user interface.

[0114] The above-mentioned AP signal strength adjustment method can be implemented as a computer program, stored in the hard disk 1006, and can be recorded in the processor 1002 for execution to implement any AP signal strength adjustment method in the present application.

[0115] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned AP signal strength adjustment method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0116] For those skilled in the art, the above invention disclosure is only used as an example and does not constitute a limitation of the present application. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements and amendments to the present application. Such modifications, improvements and amendments are suggested in the present application, so such modifications, improvements and amendments still belong to the spirit and scope of the exemplary embodiments of the present application.

[0117] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise specified, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may change according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of the present application are approximate values, in specific embodiments, the setting of such numerical values ​​is as accurate as possible within the feasible range.

[0118] Although the present application has been described with reference to the current specific embodiments, ordinary technicians in this technical field should recognize that the above embodiments are only used to illustrate the present application, and various equivalent changes or substitutions may be made without departing from the spirit of the present application. Therefore, as long as the changes and modifications to the above embodiments are within the essential spirit of the present application, they will fall within the scope of the claims of the present application.

Claims

1. A terminal roaming transfer line verification method, characterized in that: Applied to multi-AP roaming authentication system, including: Determine an initial RSSI value of each AP, where the initial RSSI value is the RSSI value of the tested terminal at the AP position; set a moving route of the tested terminal, and divide the moving route into a plurality of test points; Determine the expected RSSI value of each AP of the tested terminal at each of the test points according to the mobile line, the initial RSSI value, the expected roaming threshold of the test point, the spectrum suppression principle and the path loss principle; During the movement of the tested terminal according to the mobile route, detecting the test RSSI value of each AP of the tested terminal at each test point; It is determined whether the test RSSI value of the tested terminal is equal to the expected RSSI value within an error range.

2. The terminal roaming transfer line verification method according to claim 1, characterized in that: Also includes: At the starting test point of the mobile line, detecting the first point RSSI value of each AP received by the tested terminal; Calculate the signal strength difference between each first point RSSI value and its corresponding initial RSSI value; The signal strength values ​​of the APs are adjusted so that the signal strength difference between every two APs is greater than a set signal strength difference value.

3. The terminal roaming transfer line verification method according to claim 1, characterized in that: In the multi-AP roaming verification system, the APs are arranged in a straight line in sequence; Setting the moving route of the tested terminal includes: the moving route is parallel to the straight line where the APs are located.

4. The terminal roaming transfer line verification method according to claim 1, characterized in that: In the multi-AP roaming verification system, the APs are arranged in a star shape; Setting the moving line of the tested terminal includes: the moving line is a ring moving line or a zigzag moving line.

5. The terminal roaming transfer line verification method according to claim 1, characterized in that: During the movement of the tested terminal according to the mobile line, the signal strength of each AP is adjusted by adjusting the attenuation value of the adjustable attenuator connected to each AP.

6. The terminal roaming transfer line verification method according to claim 5, characterized in that: Adjusting the attenuation value of the adjustable attenuator includes: adjusting the attenuation value of the adjustable attenuator through a computer program.

7. The terminal roaming transfer line verification method according to claim 1, characterized in that: Also includes: The delay of each AP is adjusted so that the difference in signal strength of each AP at two adjacent test points caused by the delay does not exceed the maximum value of the difference in signal strength of the two adjacent test points.

8. The terminal roaming transfer line verification method according to claim 1, characterized in that: Also includes: Determine the expected roaming connection AP of the tested terminal at each of the test points; During the movement of the tested terminal according to the mobile line, detecting the test roaming connection AP of the tested terminal; Determine whether the test roaming connection AP of the tested terminal is the expected roaming connection AP.

9. A method for adjusting AP signal strength, characterized in that: Applied to multi-AP roaming authentication system, including: Acquire initial data, the initial data including the following data: a mobile line of the tested terminal, an initial RSSI value, and a test point; wherein the initial RSSI value is an RSSI value of the tested terminal at the AP position, and the test point is a plurality of test points divided in the mobile line of the tested terminal; Initializing the roaming verification environment includes: initializing the signal strength of each AP so that the tested terminal is network-connected to the AP closest to the tested terminal at the starting test point; The signal strength of each AP is adjusted according to the setting program.

10. The AP signal strength adjustment method according to claim 9, characterized in that: Adjusting the signal strength of each AP according to the setting procedure includes: For each AP, during the movement of the tested terminal according to the mobile line, the relationship between the RSSI value of the front test point and the RSSI value of the rear test point is determined. If the RSSI value of the front test point is greater than the RSSI value of the rear test point, the signal attenuation of the corresponding AP is executed; if the RSSI value of the front test point is less than the RSSI value of the rear test point, the signal strength of the corresponding AP is increased.

11. The AP signal strength adjustment method according to claim 9, characterized in that: Also includes: When the tested terminal reaches the roaming threshold, determining whether the tested terminal has roamed, and if not, continuing to execute the AP signal strength adjustment method; If roaming occurs, it is determined whether the roaming test point is the last test point. If it is not the last test point, the AP signal strength adjustment method continues to be executed. Otherwise, the AP signal strength adjustment method is terminated.

12. An AP signal strength adjustment device, characterized in that: include: An acquisition module is used to acquire initial data, wherein the initial data includes the following data: a mobile line of the tested terminal, an initial RSSI value, and a test point; The initial RSSI value is the RSSI value of the tested terminal at the AP position, and the test point is a plurality of test points divided in the moving line of the tested terminal; An initialization module, used for initializing the roaming verification environment, including: initializing the signal strength of each AP, so that the tested terminal network is connected to the AP closest to the tested terminal at the starting test point; The adjustment module is used to adjust the signal strength of each AP according to a set program.

13. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the AP signal strength adjustment method as described in any one of claims 9 to 11 are implemented.

14. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the AP signal strength adjustment method as described in any one of claims 9 to 11 are implemented.