Router detection method and apparatus, and device and storage medium

By acquiring the router's transmitted and received signals, utilizing the distance and energy values ​​of signals reflected by static objects, and combining frequency mixing and Fourier transform processing, the reflected signals from dynamic objects are filtered out. This solves the problem of inaccurate detection of the router's placement environment, improving signal coverage and user experience.

WO2026011832A1PCT designated stage Publication Date: 2026-01-15HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/084204
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-11
Filing Date
2025-03-21
Publication Date
2026-01-15

AI Technical Summary

Technical Problem

Existing router detection technologies cannot accurately detect the placement environment, resulting in poor signal coverage. In particular, detection technologies based on channel state information data cannot detect static objects, and detection technologies based on radar principles cannot detect the router's placement environment.

Method used

By acquiring the transmitted and received signals, and using the distance and energy values ​​of the reflected signals from static objects, the router's placement environment is determined. Frequency mixing and Fourier transform processing are used to filter out the reflected signals from dynamic objects. The MTI algorithm is then used for filtering to determine the reflected signals from static objects, and a prompt message is output to improve signal coverage.

Benefits of technology

It enables accurate detection of the router's placement environment, improves signal coverage, enhances user experience, and promptly reminds users to change the placement environment or adjust the antenna arrangement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025084204_15012026_PF_FP_ABST
    Figure CN2025084204_15012026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are a router detection method and apparatus, and a device and a storage medium, which relate to the field of routers. The method comprises: acquiring transmitting signals and receiving signals, wherein since the receiving signals include a static object reflection signal generated by means of a static object in the surrounding placement environment of a router reflecting a transmitting signal, the placement environment of the router can be detected on the basis of the static object reflection signal included in the receiving signals, thereby realizing the detection of the surrounding placement environment of either one of two Wi-Fi devices; and determining the distances and energy values of a plurality of sub-signals among the receiving signals on the basis of the transmitting signals and the receiving signals, wherein since the static object reflection signal among the receiving signals is different from other sub-signals in terms of the distance and energy value, the static object reflection signal among the receiving signals is determined on the basis of the distances and energy values of the plurality of sub-signals among the receiving signals. The placement environment of a router is determined on the basis of a static object reflection signal, such that the placement environment of the router can be accurately detected.
Need to check novelty before this filing date? Find Prior Art

Description

A router detection method, apparatus, device, and storage medium

[0001] This application claims priority to Chinese Patent Application No. 202410932169.4, filed on July 11, 2024, entitled "A Router Detection Method, Apparatus, Device and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of routers, and more particularly to a router detection method, apparatus, device, and storage medium. Background Technology

[0003] The placement of a router can affect signal coverage. For example, signal coverage will be poor if the router is placed in an enclosed corner or next to a strong metallic reflective object.

[0004] Currently, technologies used to detect the placement environment of routers include detection techniques based on channel state information (CSI) data and detection techniques based on radar principles. However, CSI-based detection techniques can only detect environmental information along the signal path and are coupled with the peer device, making them unable to accurately detect the router's placement environment. Radar-based detection techniques, on the other hand, are designed to detect moving objects by default, and neither of these methods can accurately detect the router's placement environment. Summary of the Invention

[0005] This application provides a router detection method, apparatus, device, and storage medium, which can solve the problem of inaccurate detection of the router's placement environment.

[0006] Firstly, a router detection method is provided, comprising: firstly, acquiring transmitted and received signals; the received signal includes a static object reflection signal, which is the signal reflected by a static object from the transmitted signal. Next, determining the distance and energy values ​​of multiple sub-signals in the received signal based on the transmitted and received signals, where the distance is the transmission distance from signal transmission to signal reception. Then, determining the static object reflection signal in the received signal based on the distance and energy values ​​of the multiple sub-signals. Finally, determining the router placement environment based on the static object reflection signal.

[0007] Based on the router detection method described above, the transmitted signal from the transmitting antenna and the received signal from the receiving antenna of the same router are acquired. Since the received signal includes reflections from static objects within the router's environment, the router's environment can be detected based on these reflections. This allows for accurate detection of the surrounding environment of any one of two Wi-Fi devices. The distance and energy values ​​of multiple sub-signals in the received signal are determined based on the transmitted and received signals. Because the distance and energy values ​​of the static object reflection signal differ from other sub-signals, the static object reflection signal is determined based on these values. Since the static object reflection signal is a signal reflected from static objects within the router's environment, it contains information about the static objects. Therefore, the router's environment can be accurately detected based on the static object reflection signal.

[0008] One possible implementation involves multiple sub-signals, including a first sub-signal. The transmitted and received signals are mixed and Fourier transformed to obtain the spectra of the multiple sub-signals. The spectrum is a frequency distribution curve; the spectrum of each frequency sub-signal visually represents the signal's energy, distance, and velocity. Based on the magnitude of the first sub-signal's spectrum, the energy value corresponding to the first sub-signal is determined to be the square of the magnitude. Local maxima are found based on the first sub-signal's spectrum to obtain the frequency points of the peak values. Since the flight time of the first sub-signal is related to the frequency point value, the time difference between transmission and reception can be determined. The distance of the first sub-signal is determined based on the flight time. Based on the distance and energy value corresponding to each sub-signal in the received signal, the reflected signal from a static object can be determined from the received signal.

[0009] As one possible implementation, the closer a static object is to the router, or the stronger its signal reflection, the greater the energy of the reflected signal, resulting in poorer signal coverage for the router. Therefore, if the energy of the reflected signal from a static object exceeds a preset first energy value, the router's environment is determined to be congested, or the environment contains static objects with signal reflection strength exceeding the preset value. This determines the router's placement environment. Furthermore, a prompt message is output to the user suggesting a change in the router's placement environment. Thus, when poor signal coverage is determined to be caused by the router's placement environment, the user is promptly reminded to change the router's location, thereby ensuring good signal coverage and improving user experience.

[0010] As one possible implementation, the received signal includes the direct signal emitted by the transmitting antenna towards the receiving antenna in the transmitted signal. Based on the distance and energy values ​​of multiple sub-signals, the direct signal in the received signal is determined; the direct signal is then used to determine whether the antenna placement results in poor signal coverage. Since the energy value of the direct signal changes synchronously when the router's antenna placement changes, poor signal coverage occurs when the antenna placement is not the manufacturer's preset configuration. This allows for the determination of whether the router's antenna placement has changed and whether this has led to poor signal coverage.

[0011] Optionally, the difference between the energy value of the direct signal and a preset second energy value is determined. If the difference exceeds a preset threshold, it is determined that the antenna placement is causing poor signal coverage. Since the preset second energy value is the energy value of the direct signal when the antenna placement is set to the preset value, if the difference between the direct signal energy value and the preset second energy value exceeds the preset threshold, it is determined that the antenna placement has changed and is causing poor signal coverage. Furthermore, a second prompt message is output to remind the user to check the antenna placement, thus ensuring the router's signal coverage and improving the user experience.

[0012] As one possible implementation, the received signal also includes reflected signals from dynamic objects, which are the signals reflected by dynamic objects after the transmitted signal is received. Since the position of dynamic objects changes constantly, errors can occur when determining reflected signals from static objects from the received signal. Therefore, when the received signal includes reflected signals from dynamic objects, these reflected signals must be filtered out to obtain the remaining signal, thereby improving the accuracy of detecting the router's placement environment.

[0013] Optionally, a moving target indicator (MTI) algorithm is used for filtering to remove clutter signals from the received signal, excluding the reflection signal from the moving object, thus obtaining the reflection signal from the moving object. This achieves the extraction of the reflection signal from the moving object in the received signal, and by subtracting the reflection signal from the moving object in the received signal, the remaining signal is obtained, thereby achieving the filtering out of the reflection signal from the moving object in the received signal.

[0014] As one possible implementation, since the distance between a static object and the receiving antenna is greater than the distance between the transmitting and receiving antennas, a second sub-signal with a distance less than a preset distance and a third sub-signal with a distance greater than a preset distance are identified from the remaining signal. This allows for the preliminary differentiation between the direct signal and the static object reflection signal. Furthermore, when the energy value of the second sub-signal is greater than the energy value of the third sub-signal, the direct signal is identified as the second sub-signal, and the static object reflection signal as the third sub-signal. In this way, the direct signal and the static object reflection signal can be determined from the received signal.

[0015] As one possible implementation, the transmitting and receiving antennas are located on the same router.

[0016] In a second aspect, a router detection apparatus is provided, the apparatus comprising modules for performing the router detection method of the first aspect or any possible implementation thereof.

[0017] The router detection device described in the second aspect can be a router, terminal device, or network device, or it can be a chip (system), network card, or other component or assembly that can be set in a router, terminal device, or network device, or it can be a device that includes a router, terminal device, or network device. This application does not limit it in this regard.

[0018] Furthermore, the technical effects of the router detection device described in the second aspect can be referred to the technical effects of the router detection method described in the first aspect, and will not be repeated here.

[0019] Thirdly, a router is provided, which includes a transmitting antenna, a receiving antenna, a memory, and a processor;

[0020] The transmitting antenna is used to transmit signals;

[0021] The receiving antenna is used to receive signals, including static object reflected signals, which are signals reflected by a static object after the transmitted signal is reflected by the static object.

[0022] The memory is used to store at least one set of computer instructions;

[0023] The processor, when executing the at least one set of computer instructions, performs the operational steps of the method in any possible implementation of the first aspect.

[0024] Fourthly, a detection device is provided, the detection device including a processor and a memory; the processor is coupled to the memory; the memory is used to store computer instructions, which are loaded and executed by the processor to enable the computing device to perform the operation steps of the method described in any possible implementation of the first aspect above.

[0025] Fifthly, a computer-readable storage medium is provided, comprising: computer software instructions; when the computer software instructions are executed in a computer, causing the computer to perform operational steps of the method as described in any possible implementation of the first aspect.

[0026] Sixthly, embodiments of this application provide a chip system. The chip system includes a memory and at least one processor. The memory stores a set of computer instructions, which, when executed by the processor, perform the operational steps of the method described in any possible implementation of the first aspect.

[0027] In a seventh aspect, a computer program product is provided that, when run on a computer, causes the computer to perform the operational steps of the method as described in any possible implementation of the first aspect.

[0028] Based on the implementation methods provided in the above aspects, this application can be further combined to provide more implementation methods. Attached Figure Description

[0029] Figure 1 is a schematic diagram of a detection technology based on communication CSI data;

[0030] Figure 2 is a schematic diagram of a detection technology based on radar principles;

[0031] Figure 3 is a schematic diagram of the architecture of a router detection system 300 provided in an embodiment of this application;

[0032] Figure 4 is a schematic diagram of the architecture of a router detection system 400 provided in an embodiment of this application;

[0033] Figure 5 is a schematic diagram of a router placement environment according to an embodiment of this application;

[0034] Figure 6 is a flowchart illustrating a router detection method provided in an embodiment of this application;

[0035] Figure 7 is a flowchart illustrating another router detection method provided in an embodiment of this application;

[0036] Figure 8 is a schematic diagram of a change in antenna placement according to an embodiment of this application;

[0037] Figure 9 is a schematic diagram of a second-order MTI process provided in an embodiment of this application;

[0038] Figure 10 is a schematic diagram of the spectrum of multiple sub-signals provided in an embodiment of this application;

[0039] Figure 11 is a schematic diagram of a possible router detection device 1100 provided in an embodiment of this application;

[0040] Figure 12 is a schematic diagram of the structure of a detection device 1200 provided in an embodiment of this application. Detailed Implementation

[0041] To facilitate understanding, the relevant terms involved in the embodiments of this application will be introduced below.

[0042] (1) CSI data

[0043] CSI data is the channel attribute of a communication link, describing the attenuation factor of the signal on each transmission path.

[0044] CSI data typically contains information from multiple orthogonal frequency division modulation (OFDM) subcarriers.

[0045] (2) Signal

[0046] The signal can be a regular Wi-Fi signal, such as an OFDM signal.

[0047] The signal can also be a special frequency-modulated continuous wave (FMCW) signal.

[0048] To make the technical issues easier to understand, the current router detection methods will be explained below with reference to Figures 1 and 2.

[0049] Figure 1 is a schematic diagram of a detection technology based on communication CSI data.

[0050] As shown in Figure 1, Wi-Fi device A transmits signals via its transmitting antenna (TX), and Wi-Fi device B receives signals via its receiving antenna (RX). The signals include direct path signals and signals reflected off the human body.

[0051] Because this detection technology is affected by the relative positions of Wi-Fi device A and Wi-Fi device B, it can only detect environmental information along the signal path and cannot accurately detect the placement environment around Wi-Fi device A.

[0052] Figure 2 is a schematic diagram of a detection technology based on radar principles.

[0053] As shown in Figure 2, Wi-Fi device A transmits a TX signal. Wi-Fi device A and Wi-Fi device B receive signals via RX. The receiving antenna of Wi-Fi device A receives the signal directly transmitted by the transmitting antenna and the signal reflected by the human body. The receiving antenna of Wi-Fi device B receives the signal directly transmitted by the transmitting antenna.

[0054] This means that Wi-Fi device A transmits and receives signals simultaneously in full-duplex mode. By analyzing the OFDM subcarrier information in the signal, information such as the target distance and speed of a moving object can be obtained.

[0055] Since radar-based sensing technology is typically used to detect moving objects, it cannot directly detect static objects in the environment where the router is placed.

[0056] This application provides a router detection method, and more particularly a method for determining the router placement environment around a router. The method involves acquiring transmitted and received signals. The transmitted signal refers to the signal emitted by the router's transmitting antenna. The received signal refers to the signal received by the router's receiving antenna, including signals reflected from the transmitted signal by static objects. Since both the transmitting and receiving antennas of the same device are simultaneously active, the transmitted and received signals are acquired separately, thus avoiding the problem of inaccurate detection of the placement environment around a Wi-Fi device due to the relative positions of two Wi-Fi devices. Next, based on the distance and energy values ​​corresponding to multiple sub-signals in the received signal, the static object reflection signal in the received signal is determined. Because the received signal includes the static object reflection signal, the router placement environment can be determined based on the static object reflection signal, achieving accurate detection of the router placement environment.

[0057] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0058] Figure 3 is a schematic diagram of the architecture of a router detection system 300 provided in an embodiment of this application.

[0059] As shown in Figure 3, the router detection system 300 includes a router 310, a detection device 320, and a user terminal 330.

[0060] Router 310 is connected to both the testing device 320 and the network. User terminal 330 is connected to router 310 via the network.

[0061] Router 310 can be a foldable router, a wireless router, etc. This application embodiment does not limit this.

[0062] The detection device 320 can be a terminal, such as a mobile terminal, tablet computer, laptop computer, virtual reality (VR) device, augmented reality (AR) device, mixed reality (MR) device, extended reality (ER) device, or vehicle terminal, etc., or it can be an edge device (e.g., a box carrying a chip with processing capabilities).

[0063] As one possible embodiment, the detection device 320 may be a graphics processing unit (GPU), a central processing unit (CPU), other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. The detection device 320 may be a graphics processing unit (GPU), a neural network processing unit (NPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program in this application.

[0064] User terminal 330 can be a user's mobile phone, tablet computer, television, etc.

[0065] After the router 310 is connected to the Internet, the transmitted signal is transmitted by the transmitting antenna and the transmitted signal is saved synchronously. The received signal is received by the receiving antenna and saved. The received signal includes the signal reflected by a static object. The signal reflected by a static object is the signal after the transmitted signal is reflected by a static object.

[0066] The detection device 320 retrieves the transmitted and received signals from the memory of the router 310. Based on the transmitted and received signals, the detection device 320 determines the distance and energy values ​​corresponding to multiple sub-signals in the received signal; based on the distance and energy values ​​corresponding to the multiple sub-signals in the received signal, it determines the static object reflection signal in the received signal. Based on the energy value of the static object reflection signal, the detection device 320 determines the router's placement environment.

[0067] Figure 4 is a schematic diagram of the architecture of a router detection system 400 provided in an embodiment of this application.

[0068] As shown in Figure 4, the router detection system 400 includes a router 410 and a user terminal 420.

[0069] Router 410 and user terminal 420 are connected via a network.

[0070] Router 410 can be a foldable router, a wireless router, etc. This application embodiment does not limit this.

[0071] Router 410 integrates a detection unit for router detection, which may be the router's processor, etc.

[0072] User terminal 420 can be a user's mobile phone, tablet computer, television, etc.

[0073] Router 410 stores the transmitted signals transmitted through the transmitting antenna and the received signals received through the receiving antenna. The received signals include signals reflected by static objects, which are the signals after the transmitted signals are reflected by static objects.

[0074] Router 410 determines the distance and energy values ​​corresponding to multiple sub-signals in the received signal based on the transmitted and received signals; based on the distance and energy values ​​corresponding to the multiple sub-signals in the received signal, it determines the static object reflection signal in the received signal. Router 410 determines the router placement environment based on the energy value of the static object reflection signal.

[0075] Figure 5 is a schematic diagram of a router placement environment provided in an embodiment of this application.

[0076] As shown in Figure 5, the router is in sensing mode, meaning that both the transmitting antenna and the receiving antenna are on. The transmitting antenna can also be called a signal transmitter, and the receiving antenna can also be called a signal receiver.

[0077] The receiving antenna receives the signal transmitted by the transmitting antenna. The received signal consists of three parts: (1) the signal directly transmitted from the transmitting antenna to the receiving antenna; (2) the signal reflected by a static object, such as a wall, table, chair, etc.; and (3) the signal reflected by a dynamic object, such as a human body, pet, robot, etc.

[0078] The router filters out reflected signals from moving objects from the received signal received by the receiving antenna, obtaining the remaining signal.

[0079] The router determines the distance and energy values ​​corresponding to multiple sub-signals in the remaining signal, and determines the static object reflection signal in the remaining signal and the direct signal emitted by the transmitting antenna towards the receiving antenna in the transmitted signal.

[0080] The static object reflected signal is the signal reflected from the transmitted signal onto the static object. The distance corresponding to the static object reflected signal refers to either the first distance between the static object and the router's transmitting antenna, or the second distance between the static object and the router's receiving antenna. Although the first and second distances differ, they are approximately equal. Therefore, the distance corresponding to the static object reflected signal can be half the path length of the signal from the transmitting antenna to the static object, after reflection, and then to the receiving antenna, or it can be the distance between the static object and the router.

[0081] A direct signal is a signal transmitted from the transmitting antenna towards the receiving antenna. The distance corresponding to a direct signal refers to the distance between the router's transmitting antenna and the receiving antenna.

[0082] If the energy value of the signal reflected by a static object is greater than a preset first energy value, the router determines that the router's environment is a congested environment, or that the router's environment contains static objects with signal reflection intensity higher than a preset value.

[0083] When the difference between the energy value of the direct signal and the preset second energy value is greater than a preset threshold, the router determines that the antenna placement method is causing poor signal coverage.

[0084] The following explanation uses the detection device 320 in Figure 3 to determine the placement environment of router 310 as an example.

[0085] Figure 6 is a flowchart illustrating a router detection method provided in an embodiment of this application. As shown in Figure 6, the method includes steps 601 to 605.

[0086] Step 601: Router 310 saves the transmitted signal transmitted by the transmitting antenna and the received signal received by the receiving antenna.

[0087] As one possible implementation, the processor of router 310 can simultaneously save the transmitted signal when the transmitting antenna transmits the transmitted signal, and simultaneously save the received signal when the receiving antenna receives the received signal. The transmitted signal and the received signal can be stored in the memory of router 310.

[0088] Step 602: The detection device 320 acquires the transmitted signal and the received signal.

[0089] The detection device 320 acquires the transmitted signal transmitted by the transmitting antenna of the router 310 and the received signal received by the receiving antenna of the router 320.

[0090] As another possible implementation, router 310 can send stored transmit and receive signals to detection device 320. Detection device 320 receives the transmit and receive signals sent by router 310.

[0091] The received signal includes a static object reflection signal, which is the signal reflected by a static object after the transmitted signal is reflected. For example, the arrow in Figure 5 from the wall to the router represents the static object reflection signal.

[0092] Step 603: The detection device 320 determines the distance and energy values ​​corresponding to multiple sub-signals in the received signal based on the transmitted and received signals.

[0093] The detection device 320 processes the transmitted and received signals to determine the energy values ​​of multiple sub-signals in the received signal and the distances corresponding to the multiple sub-signals.

[0094] Among them, the distances corresponding to multiple sub-signals refer to the distances between the static objects corresponding to the sub-signals and the router, or the distances between the receiving antenna and the transmitting antenna corresponding to the sub-signals.

[0095] As one possible implementation, the received signal also includes a dynamic object reflection signal, which is the signal reflected by a dynamic object from the transmitted signal. When the received signal includes a dynamic object reflection signal, the detection device 320 also filters out the dynamic object reflection signal from the received signal to obtain the remaining signal.

[0096] Optionally, the detection device 320 can determine the velocity of each sub-signal in the received signal, identify and filter out the dynamic object reflection signals with non-zero velocities, and obtain the remaining signal.

[0097] Alternatively, the specific scheme for the detection device 320 to filter out the dynamic object reflection signal in the received signal can also refer to formula (1), formula (2) and their related descriptions below.

[0098] As one possible implementation, the detection device 320 performs frequency mixing and Fourier transform processing on the transmitted and received signals to obtain the spectra of multiple sub-signals, and determines the energy values ​​and distances corresponding to the multiple sub-signals in the received signal based on the spectra. For the specific scheme of the detection device 320 in determining the energy values ​​and distances of the multiple sub-signals, refer to formulas (3)-(7) and their related descriptions below.

[0099] Step 604: The detection device 320 determines the static object reflection signal in the received signal based on the distance and energy values ​​corresponding to multiple sub-signals in the received signal.

[0100] Because the distance between the transmitting and receiving antennas of the router 310 is smaller than the distance between a static object and the receiving antenna, the distance corresponding to the direct signal is less than the distance corresponding to the reflected signal from the static object, and the energy value corresponding to the direct signal is greater than the energy value corresponding to the reflected signal from the static object.

[0101] As one possible implementation, the detection device 320 identifies a second sub-signal with a distance less than a preset distance and a third sub-signal with a distance greater than a preset distance from the remaining signals. When the energy value of the second sub-signal is greater than the energy value of the third sub-signal, the detection device 320 identifies the direct signal as the second sub-signal and the static object reflection signal as the third sub-signal.

[0102] The preset distance can be a value set by the user or administrator, or it can be the maximum distance between the router's transmitting and receiving antennas. For example, the preset distance can be 10 cm, 15 cm, 30 cm, 35 cm, etc.

[0103] Step 605: The detection device 320 determines the router placement environment based on the reflected signals from static objects.

[0104] The detection device 320 determines the router placement environment around the router based on the energy value of the signal reflected by a static object.

[0105] As one possible implementation, the detection device 320 determines that the router placement environment is a congested environment when the energy value of the signal reflected by a static object is greater than a preset first energy value, or determines that the router placement environment contains a static object with a signal reflection intensity higher than a preset value.

[0106] The preset first energy value can be set by the router manufacturer or pre-defined by the router administrator. Static objects with signal reflection intensity higher than the preset value can be strong reflective objects such as metal plates.

[0107] As another possible implementation, the detection device 320 outputs a first prompt message when it determines that the router is placed in a congested environment or that the router is placed in an environment containing static objects with signal reflection intensity higher than a preset value.

[0108] The first notification message is used to prompt the user to change the router's placement environment. For example, the first notification message could be a flashing indicator light, playing audio, or sending a notification message to the user's terminal device.

[0109] The following explanation uses the router 410 in Figure 4 as an example to illustrate how it determines its surrounding environment. The router 410 integrates a detection unit, which could be an integrated chip in a detection device, or the router 410's own processor.

[0110] Figure 7 is a flowchart of another router detection method provided in an embodiment of this application. As shown in Figure 7, the method includes steps 701 to 704.

[0111] Step 701: Router 410 acquires the transmitted and received signals.

[0112] As one possible implementation, the router 410 can simultaneously save the transmitted signal when its transmitting antenna transmits the transmitted signal, and the router 410 can obtain the received signal received by its receiving antenna.

[0113] Step 702: Router 410 determines the distance and energy values ​​corresponding to multiple sub-signals in the received signal based on the transmitted and received signals.

[0114] Step 702 is similar to step 603 in Figure 6, and will not be described again here.

[0115] Step 703: Router 410 determines the static object reflection signal in the received signal based on the distance and energy values ​​corresponding to multiple sub-signals in the received signal.

[0116] Step 703 is similar to step 604 in Figure 6, and will not be described again here.

[0117] Step 704: Router 410 determines the router placement environment based on the signal reflected by static objects.

[0118] Step 704 is similar to step 605 in Figure 6, and will not be described again here.

[0119] Based on steps 601 to 605 in Figure 6 and steps 701 to 704 in Figure 7, the detection device 320 or router 410 acquires the transmitted and received signals, determines the distance and energy values ​​of multiple sub-signals in the received signal, and identifies the static object reflection signal in the received signal. The detection device 320 or router 410 determines the router's placement environment based on the static object reflection signal, thus solving the problem of inaccurate router placement environment detection.

[0120] In addition, if the detection device 320 or router 410 determines that the router's placement environment is a congested environment or contains static objects with signal reflection intensity higher than a preset value, and thus determines that the router's signal coverage is poor, it can prompt the user to change the router's placement environment, thereby improving the router's signal coverage in a timely manner.

[0121] The above describes the overall process of the router detection method. As another possible implementation, when the router is a foldable router, the detection device 320 or router 410 can also detect the antenna placement of the router.

[0122] The detection device 320 or router 410 determines the direct signal in the received signal based on the distance and energy values ​​corresponding to multiple sub-signals.

[0123] The received signal includes the direct signal emitted by the transmitting antenna toward the receiving antenna in the transmitted signal.

[0124] The detection device 320 or router 410 can determine the direct signal in the received signal by referring to step 604 in Figure 6 above, which will not be repeated here in this embodiment.

[0125] The testing device 320 or router 410 determines whether the antenna placement results in poor signal coverage based on the direct signal.

[0126] The testing device 320 or router 410 determines whether the antenna placement results in poor signal coverage based on the energy value of the direct signal. For example, the lower the energy value of the direct signal, the worse the signal coverage.

[0127] As one possible implementation, the detection device 320 or router 410 determines the difference between the energy value of the direct signal and a preset second energy value. When the difference is greater than a preset threshold, it is determined that the antenna placement method results in poor signal coverage.

[0128] The preset second energy value can be the energy value of the direct signal when the router's antenna is positioned in the preset antenna placement mode. The preset antenna placement mode is defined by the router manufacturer, and the second energy value can be preset by the router manufacturer.

[0129] When the difference is greater than a preset threshold, it can be determined that the antenna placement method has changed relative to the preset antenna placement method, and the antenna placement method has resulted in poor signal coverage.

[0130] Optionally, when the energy value of the direct signal is less than the preset second energy value, it can be understood that the distance between the transmitting antenna and the receiving antenna becomes greater, or the relationship between the transmitting antenna and the receiving antenna changes from parallel to non-parallel.

[0131] Figure 8 is a schematic diagram of an antenna placement variation provided in an embodiment of this application.

[0132] As shown in Figure 8, the angle between the middle receiving antenna and the left transmitting antenna is 45 degrees, and the angle between the right receiving antenna and the left transmitting antenna is 90 degrees. When the energy value of the direct signal is less than the preset second energy value, the antenna arrangement is as shown in Figure 8.

[0133] As one possible implementation, when the detection device 320 or router 410 determines that the antenna placement is causing poor signal coverage, it outputs a second prompt message. For example, the second prompt message could be a flashing indicator light, playing audio, or sending a prompt message to the user's terminal device.

[0134] The second prompt message is used to remind the user to check the antenna placement.

[0135] The above describes the process of detecting the router's placement environment and antenna arrangement. Next, we will describe the specific method of the detection device 320 in step 603 of Figure 6 to filter out the dynamic object reflection signals in the received signal.

[0136] The detection device 320 uses the MTI algorithm for filtering to remove noise signals from the received signal, except for the reflection signal of the dynamic object, and obtains the reflection signal of the dynamic object.

[0137] As one possible implementation, the detection device 320 filters the received signal according to the following formula (1): y(t)=x(t)-[α1x(t-τ1)+α2x(t-τ2)+…+α n x(t-τ n )] Formula (1)

[0138] Where x(t) is the received signal input to the MTI algorithm, α is a coefficient, τ is a specific time delay, n is the MTI order, and y(t) is the dynamic object reflection signal output by the MTI algorithm.

[0139] Figure 9 is a schematic diagram of a second-order MTI process provided in an embodiment of this application.

[0140] As shown in Figure 9, x(t) refers to the received signal input to the MTI algorithm, Z -1 It is the clutter signal in the received signal. The clutter signal is negative and the received signal x(t) is positive. Then, the clutter signal is filtered out by Σ.

[0141] The processor subtracts the reflected signal from the moving object from the received signal to obtain the remaining signal.

[0142] As one possible implementation, the detection device 320 subtracts the reflected signal from the dynamic object from the received signal to obtain the remaining signal according to the following formula (2): z(t)=x(t)-y(t) Formula (2)

[0143] Where z(t) refers to the residual signal, x(t) refers to the received signal, and y(t) refers to the signal reflected by the moving object.

[0144] The above describes the specific method by which the detection device 320 filters out the dynamic object reflection signal in the received signal in step 603 of Figure 6. Next, the specific method by which the detection device 320 determines the energy value and distance of multiple sub-signals in step 603 of Figure 6 will be described.

[0145] The detection device 320 performs frequency mixing and Fourier transform processing on the transmitted and received signals to obtain the spectrum of multiple sub-signals.

[0146] As one possible implementation, the detection device 320 performs frequency mixing and Fourier transform processing on the transmitted and received signals according to the following formula (3).

[0147] Where r(t) represents the received signal received by the receiving antenna, and s(t) represents the transmitted signal transmitted by the transmitting antenna. represents convolution, which performs frequency mixing on the transmitted and received signals. FT represents Fourier transform, which performs Fourier transform on the mixed signal.

[0148] Figure 10 is a schematic diagram of the spectrum of multiple sub-signals provided in an embodiment of this application.

[0149] As shown in Figure 10, the direct wave 1 at 0 distance is the direct signal, the static object reflection signal 2 at different distances is the static object reflection signal, the dynamic target 3 is the dynamic object reflection signal, and the remaining signal is the noise floor.

[0150] After the detection device 320 uses the above formulas (1) and (2) to filter out the dynamic object reflection signal in the received signal, the detection device 320 determines that the energy value of the first sub-signal in the received signal is the square of the magnitude of the spectrum of the first sub-signal.

[0151] As one possible implementation, the detection device 320 determines the energy value of the first sub-signal according to the following formula (4) for determining the energy value of the signal, that is, the energy value of the first sub-signal is the square of the magnitude of the spectrum of the first sub-signal.

[0152] Where P(f) represents the energy value of the first sub-signal, This represents the modulus value obtained by taking the modulus of the spectrum of the first sub-signal. This means that squaring the modulus value yields the energy value of the first sub-signal.

[0153] The detection device 320 performs local maximum value search on the spectrum to obtain the frequency value of the peak value on the spectrum of the first sub-signal.

[0154] As one possible implementation, the detection device 320 uses the following formula (5) to determine the frequency value of the peak value on the spectrum of the first sub-signal. Δf=findpeax(g(f)) Formula (5)

[0155] Where Δf represents the frequency value of the peak value on the spectrum, and findpeax represents finding the local maximum value.

[0156] The detection device 320 determines the flight time of the first sub-signal based on the frequency value.

[0157] The flight time is used to indicate the time difference between the transmission and reception times of the first sub-signal.

[0158] As one possible implementation, the flight time is proportional to the frequency value Δf, and the flight time of the first sub-signal is determined based on the frequency value and the determined ratio.

[0159] Optionally, the detection device 320 determines the quotient of the frequency point value and the frequency slope of the first sub-signal as the flight time of the first sub-signal.

[0160] For example, when using frequency modulated continuous wave (FMCW) radar for ranging, the detection device 320 uses the following formula (6) to determine the flight time of the first sub-signal.

[0161] Where Δt represents the flight time of the first sub-signal, Δf represents the frequency value of the first sub-signal, and γ represents the frequency slope of the first sub-signal. B is the bandwidth, and T is the sweep period.

[0162] Frequency sweep refers to the process of a signal continuously changing its frequency from high to low within a frequency band. The frequency sweep period is the time difference between the start times of two consecutive frequency sweeps.

[0163] The detection device 320 determines the distance corresponding to the first sub-signal based on the flight time.

[0164] Wherein, distance is the distance between the static object corresponding to the first sub-signal and the router, or the distance between the receiving antenna and the transmitting antenna corresponding to the first sub-signal.

[0165] As one possible implementation, when the energy value of the first sub-signal is the largest among all the energy values ​​of the received signal's sub-signals, the detection device 320 determines that the distance corresponding to the first sub-signal is half the product of the transmission duration and the speed of light.

[0166] Optionally, the detection device 320 uses the following formula (7) to determine the distance corresponding to the first sub-signal.

[0167] Where Δt represents the flight time of the first sub-signal, c is the speed of light, and R is the distance corresponding to the first sub-signal.

[0168] As one possible implementation, when the energy value of the first sub-signal is not the largest among all the energy values ​​of the received signal's sub-signals, the detection device 320 determines the distance corresponding to the first sub-signal as the product of the transmission duration and the speed of light.

[0169] Optionally, the detection device 320 uses the following formula (8) to determine the distance corresponding to the first sub-signal.

[0170] Where Δt represents the flight time of the first sub-signal, c is the speed of light, and R is the distance corresponding to the first sub-signal.

[0171] The router detection method provided according to this embodiment has been described in detail above. The router detection device provided according to this embodiment will be described below with reference to Figure 11.

[0172] Figure 11 is a schematic diagram of a possible router detection device 1100 provided in an embodiment of this application. The router detection device can be used to implement the detection function of the processor of the router 410 or the detection device 320 in the above method embodiments, thus achieving the beneficial effects of the above method embodiments. In this embodiment, the router detection device can be the router 410 in Figure 4 used to implement the detection function or the detection device 320 in Figure 3 used to implement the detection function, or it can be a module (such as a chip) applied to the router 410 or the detection device 320.

[0173] The router detection device 1100 includes an acquisition module 1101 and a determination module 1102.

[0174] The acquisition module 1101 is used to acquire the transmitted signal and the received signal; the received signal includes a static object reflection signal, which is the signal after the static object reflects the transmitted signal onto the transmitted signal.

[0175] The determining module 1102 is used to determine the distance and energy values ​​corresponding to multiple sub-signals in the received signal based on the transmitted signal and the received signal; determine the static object reflection signal in the received signal based on the distance and energy values ​​corresponding to the multiple sub-signals in the received signal; and determine the router placement environment based on the static object reflection signal.

[0176] In one possible implementation, the plurality of sub-signals includes a first sub-signal. The determining module 1102 is specifically used to perform frequency mixing and Fourier transform processing on the transmitted signal and the received signal to obtain the spectrum of the plurality of sub-signals; determine the energy value of the first sub-signal as the square of the modulus of the spectrum of the first sub-signal; perform local maximum lookup processing on the spectrum to obtain the frequency point value of the peak value on the spectrum of the first sub-signal; determine the flight time of the first sub-signal based on the frequency point value, the flight time being used to indicate the time difference between the transmission time and the reception time of the first sub-signal; and determine the distance corresponding to the first sub-signal based on the flight time, the distance being the distance between the static object corresponding to the first sub-signal and the router, or the distance between the receiving antenna and the transmitting antenna corresponding to the first sub-signal.

[0177] As one possible implementation, the determining module 1102 is specifically used to determine that the router placement environment is a congested environment or that the router placement environment contains a static object with a signal reflection intensity higher than a preset first energy value when the energy value of the signal reflected by the static object is greater than a preset first energy value.

[0178] As one possible implementation, the device further includes an output module 1103 for outputting a first prompt message, which prompts the user to change the router's placement environment.

[0179] As one possible implementation, the received signal includes a direct signal emitted by the transmitting antenna toward the receiving antenna in the transmitted signal. The determining module 1102 is further configured to determine the direct signal in the received signal based on the distance and energy values ​​of the plurality of sub-signals; and to determine whether the antenna placement method results in poor signal coverage based on the direct signal.

[0180] As one possible implementation, the determining module 1102 is specifically used to determine the difference between the energy value of the direct signal and a preset second energy value; when the difference is greater than a preset threshold, it is determined that the antenna placement method results in poor signal coverage.

[0181] As one possible implementation, the output module 1103 is also used to output a second prompt message, which prompts the user to check the antenna placement.

[0182] As one possible implementation, the received signal further includes a dynamic object reflection signal, which is the signal reflected by a dynamic object from the transmitted signal. The device also includes a filtering module 1104, used to filter out the dynamic object reflection signal in the received signal after acquiring the transmitted signal and before determining the distance and energy values ​​of multiple sub-signals in the received signal based on the transmitted signal and the received signal, to obtain the remaining signal.

[0183] As one possible implementation, the filtering module 1104 is specifically used to perform filtering using the Dynamic Target Indication (MTI) algorithm to filter out clutter signals other than the dynamic object reflection signal in the received signal, thereby obtaining the dynamic object reflection signal; and to subtract the dynamic object reflection signal from the received signal to obtain the remaining signal.

[0184] As one possible implementation, the determining module 1102 is specifically used to determine the distance and energy value of the plurality of sub-signals in the remaining signal; determine the second sub-signal with a distance less than a preset distance and the third sub-signal with a distance greater than a preset distance in the remaining signal; when the energy value of the second sub-signal is greater than the energy value of the third sub-signal, determine the direct signal as the second sub-signal and the static object reflection signal as the third sub-signal.

[0185] As one possible implementation, the transmitting antenna and the receiving antenna are located on the same router.

[0186] It should be understood that the router detection device 1100 of this application embodiment can be implemented by a GPU, NPU, application-specific integrated circuit (ASIC), or programmable logic device (PLD). The PLD can be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. When the method shown in FIG5 is implemented by software, the router detection device 1100 and its various modules can also be software modules.

[0187] This application also provides a detection device. Please refer to Figure 12, which is a schematic diagram of the structure of a detection device 1200 provided in this application embodiment. The detection device 1200 includes a memory 1201, a processor 1202, a communication interface 1203, and a bus 1204. The memory 1201, the processor 1202, and the communication interface 1203 are interconnected via the bus 1204.

[0188] The memory 1201 can be a read-only memory, a static storage device, a dynamic storage device, or a random access memory. The memory 1201 can store computer instructions. When the computer instructions stored in the memory 1201 are executed by the processor 1202, the processor 1202 and the communication interface 1203 are used to perform the steps in the router detection method. For example, the processor 1202 is used to perform the steps in the router detection method shown in FIG. 6 or FIG. 7 above, as well as the functions of the router detection device 1100 described in FIG. 11 above.

[0189] Processor 1202 may be a general-purpose CPU, an application-specific integrated circuit (ASIC), a GPU, or any combination thereof. Processor 1202 may include one or more chips.

[0190] The communication interface 1203 uses a transceiver module, such as, but not limited to, a transceiver, to enable communication between the detection device 1200 and other devices or communication networks.

[0191] Bus 1204 may include a pathway for transmitting information between various components of the detection device 1200 (e.g., memory 1201, processor 1202, communication interface 1203).

[0192] The detection device 1200 can be a computer (e.g., a server) in a cloud data center, or a computer or terminal in an edge data center.

[0193] The method steps in this embodiment can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and storage medium can reside in an ASIC. Alternatively, the ASIC can reside in a terminal device. Of course, the processor and storage medium can also exist as discrete components in a network device or terminal device.

[0194] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this application are performed entirely or partially. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video disc (DVD); or it can be a semiconductor medium, such as a solid-state drive (SSD). The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0195] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A router detection method, characterized in that, The method includes: Acquire transmitted and received signals; the received signal includes a static object reflection signal, which is the signal after the static object reflects the transmitted signal back to the transmitted signal; Based on the transmitted signal and the received signal, determine the distance and energy value corresponding to multiple sub-signals in the received signal, wherein the distance is the transmission distance during the process from signal transmission to signal reception; Based on the distance and energy values ​​corresponding to multiple sub-signals in the received signal, the static object reflection signal in the received signal is determined; The router placement environment is determined based on the signals reflected from the static objects.

2. The method according to claim 1, characterized in that, The plurality of sub-signals includes a first sub-signal. Determining the distance and energy values ​​of the plurality of sub-signals in the received signal based on the transmitted signal and the received signal includes: The transmitted signal and the received signal are mixed and Fourier transformed to obtain the spectrum of the plurality of sub-signals; The energy value corresponding to the first sub-signal is determined to be the square of the magnitude of the spectrum of the first sub-signal; The local maximum value is found in the spectrum to obtain the frequency value of the peak value in the spectrum of the first sub-signal; The flight time of the first sub-signal is determined based on the frequency point value, and the flight time is used to indicate the time difference between the transmission time and the reception time of the first sub-signal; Based on the flight time, the distance corresponding to the first sub-signal is determined. The distance is either the distance between the static object corresponding to the first sub-signal and the router, or the distance between the receiving antenna and the transmitting antenna corresponding to the first sub-signal.

3. The method according to claim 1 or 2, characterized in that, Determining the router placement environment based on the reflected signals from the static object includes: If the energy value of the signal reflected by the static object is greater than a preset first energy value, the router placement environment is determined to be a congested environment, or the router placement environment contains a static object with a signal reflection intensity higher than a preset value.

4. The method according to claim 3, characterized in that, The method further includes: Output the first prompt message, which is used to prompt the user to change the router's placement environment.

5. The method according to any one of claims 1-4, characterized in that, The received signal includes the direct signal emitted by the transmitting antenna toward the receiving antenna in the transmitted signal, and the method further includes: Based on the distance and energy values ​​of the plurality of sub-signals, the direct signal in the received signal is determined; Determine whether the antenna placement results in poor signal coverage based on the direct signal.

6. The method according to claim 5, characterized in that, The step of determining whether the antenna placement results in poor signal coverage based on the direct signal includes: Determine the difference between the energy value of the direct signal and the preset second energy value; When the difference is greater than a preset threshold, it is determined that the antenna placement method results in poor signal coverage.

7. The method according to claim 6, characterized in that, The method further includes: Output a second prompt message, which is used to prompt the user to check the antenna placement.

8. The method according to any one of claims 5-7, characterized in that, The received signal further includes a dynamic object reflection signal, which is the signal reflected by a dynamic object from the transmitted signal. After acquiring the transmitted signal and the received signal, and before determining the distance and energy values ​​of multiple sub-signals in the received signal based on the transmitted signal and the received signal, the method further includes: The dynamic object reflection signal in the received signal is filtered out to obtain the remaining signal.

9. The method according to claim 8, characterized in that, The process of filtering out the dynamic object reflection signal from the received signal to obtain the remaining signal includes: The Dynamic Target Indication (MTI) algorithm is used for filtering to remove clutter signals from the received signal, except for the reflection signal of the dynamic object, to obtain the reflection signal of the dynamic object. The remaining signal is obtained by subtracting the reflected signal from the dynamic object from the received signal.

10. The method according to claim 8 or 9, characterized in that, Based on the distance and energy values ​​of the plurality of sub-signals, the direct signal and the static object reflected signal in the received signal are determined, including: Identify the second sub-signal whose distance is less than a preset distance and the third sub-signal whose distance is greater than a preset distance from the remaining signals; When the energy value of the second sub-signal is greater than the energy value of the third sub-signal, the direct signal is determined to be the second sub-signal and the static object reflection signal is determined to be the third sub-signal.

11. The method according to any one of claims 1-10, characterized in that, The transmitting antenna and the receiving antenna are located on the same router.

12. A router detection device, characterized in that, The device includes: An acquisition module is used to acquire transmitted signals and received signals; the received signals include static object reflection signals, which are signals reflected by a static object after the transmitted signals are reflected by the static object. The determination module is used to determine the distance and energy value corresponding to multiple sub-signals in the received signal based on the transmitted signal and the received signal; determine the static object reflection signal in the received signal based on the distance and energy value corresponding to the multiple sub-signals in the received signal; the distance is the transmission distance during the signal transmission to signal reception process; and determine the router placement environment based on the static object reflection signal.

13. A router, characterized in that, Includes a transmitting antenna, a receiving antenna, memory, and a processor; The transmitting antenna is used to transmit signals; The receiving antenna is used to receive signals, including static object reflected signals, which are signals reflected by a static object after the transmitted signal is reflected by the static object. The memory is used to store at least one set of computer instructions; The processor, when executing the at least one set of computer instructions, performs the operational steps of the method according to any one of claims 1-11.

14. A testing device, characterized in that, The method includes a memory and a processor, wherein the memory is used to store at least one set of computer instructions; when the processor executes the at least one set of computer instructions, it performs the operational steps of the method according to any one of claims 1-11.

15. A computer-readable storage medium, characterized in that, include: Computer software instructions; when the computer software instructions are executed in a controller, the controller performs the method of any one of claims 1-11.

Citation Information

Patent Citations

  • Wireless router access method and system

    CN117793857A

  • Indoor map generation using radio frequency sensing

    US20220329968A1

  • Method for identifying a wireless signal reflected by moving object

    WO2017219603A1