Loss measurement method, electronic equipment and storage medium
By dividing a wall into two sub-walls and using inverse Fourier transform and dielectric constant calculation, the problem of the non-universality of measuring wall signal penetration loss in existing technologies is solved, thus improving the user experience.
Patent Information
- Application Number
- CN202410253372.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-06
- Publication Date
- 2025-09-09
AI Technical Summary
The existing wall signal penetration loss measurement method is not universal for measuring different walls, and has high requirements for the measurement environment and personnel skills, resulting in a reduced user experience.
The target wall is divided into two sub-walls, and the signal penetration loss is determined through inverse Fourier transform and dielectric constant calculation, improving the versatility of the measurement.
It improves the versatility of measuring signal penetration loss in different wall structures, reduces dependence on the measurement environment and personnel skills, and improves user experience.
Smart Images

Figure CN120614064A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a loss measurement method, electronic equipment, and storage medium. Background Art
[0002] With the widespread use of smart devices, the demand for mobile communication networks is growing. Billions of users around the world access the Internet through mobile terminals, and wireless traffic occurring indoors accounts for more than 85% of the total traffic. Good indoor signal coverage is crucial for mobile operators and mobile users.
[0003] Link loss calculation is a critical and essential part of mobile operators' network planning. To better plan networks, it's necessary to evaluate the wireless signal absorption and reflection effects of various wall types, and then conduct network planning and optimization based on the evaluation results.
[0004] Currently, a common evaluation method involves measuring the target wall's penetration loss from both sides using a single set of measuring equipment. However, this two-sided measurement approach is constrained by the target wall's structural type. This means that while the measuring equipment performs well on specific walls, it struggles to guarantee accuracy for walls of unknown structures. Furthermore, two-sided measurement requires the equipment to be aligned between the inner and outer walls, placing high demands on the measurement environment and the skills of the surveyor. This means that the current measurement method is not universally applicable to different wall types, resulting in a poor user experience. Summary of the Invention
[0005] The present application provides a loss measurement method, electronic device and storage medium, which help to improve the versatility of measuring signal penetration loss of different walls, thereby improving the user experience.
[0006] In the first aspect, the present application provides a loss measurement method, which is applied to an electronic device, wherein the electronic device is located on the target side of a target wall, and the target wall is equivalent to a first equivalent sub-wall and a second equivalent sub-wall, the first equivalent sub-wall includes a first wall surface, and the first wall surface is the physical wall surface of the first equivalent sub-wall, the second equivalent sub-wall includes a second wall surface, and the second wall surface is the physical wall surface of the second equivalent sub-wall, and the target side is the side close to the first wall surface. The method includes: collecting echo signals; performing an inverse Fourier transform on the echo signals to obtain a one-dimensional range image of the echo signals; determining a first dielectric constant, a second dielectric constant and a second peak value based on the one-dimensional range image, the first dielectric constant being the dielectric constant of the first equivalent sub-wall, the second dielectric constant being the dielectric constant of the second equivalent sub-wall, the second peak being the peak value of the second peak, and the second peak being used to characterize the target peak in the echo signal corresponding to the second wall surface; determining the signal wall penetration loss based on the first dielectric constant, the second dielectric constant and the second peak value.
[0007] In this application, by dividing the target wall into two sub-walls and calculating the dielectric constants of the two equivalent sub-walls respectively, the signal penetration loss of the target wall can be calculated, which helps to improve the versatility of measuring the signal penetration loss of different walls, thereby improving the user experience.
[0008] In one possible implementation, determining the first dielectric constant and the second dielectric constant based on the one-dimensional range image includes: determining a first peak in the one-dimensional range image, where the first peak is the peak corresponding to the highest peak in the one-dimensional range image; calculating an average peak, where the average peak is used to characterize the average value of the peaks corresponding to all peaks between the first peak and the second peak in the one-dimensional range image; and determining the first dielectric constant and the second dielectric constant based on the first peak and the average peak, where the first peak is the peak corresponding to the first peak.
[0009] In one possible implementation, the second peak is the highest peak in the one-dimensional range image that is smaller than the first peak and has rapid attenuation on both sides of the second peak.
[0010] In one possible implementation manner, the method further includes: determining an equivalent thickness of the target wall; and determining the thickness of the target wall based on the equivalent thickness of the target wall, the first dielectric constant, and the second dielectric constant.
[0011] In one possible implementation, the equivalent thickness of the target wall is determined by a difference between a first distance value and a second distance value, where the first distance value is a distance value corresponding to the first wave crest, and the second distance value is a distance value corresponding to the second wave crest.
[0012] In one possible implementation, the echo signal is subjected to an inverse Fourier transform to obtain an inverse Fourier transformed signal; the background value is subtracted from the inverse Fourier transformed signal to obtain a target signal, and a one-dimensional range image of the echo signal is drawn based on the target signal. The background value is used to characterize the loss value of the signal propagating in the air.
[0013] In one possible implementation manner, before performing inverse Fourier transform on the echo signal, the method further includes: interpolating the echo signal.
[0014] In one possible implementation, before collecting the echo signal, the method further includes: determining the distance between the electronic device and the target wall; collecting the echo signal includes: collecting the echo signal at a target position, and the target position is determined by the distance between the electronic device and the target wall.
[0015] In one possible implementation manner, the distance between the electronic device and the target wall is determined by the array distribution of the antennas of the electronic device.
[0016] In one possible implementation manner, the echo signal is a microwave radar signal.
[0017] In a second aspect, the present application provides a loss measurement device, comprising one or more functional modules, wherein the one or more functional modules are used to implement the loss measurement method as described in the first aspect.
[0018] In a third aspect, the present application provides an electronic device comprising: a processor and a memory, wherein the memory is used to store a program; and the processor is used to run the program to implement the loss measurement method as described in the first aspect.
[0019] In a fourth aspect, the present application provides a readable storage medium, which stores a program. When the program is run on an electronic device, the electronic device implements the loss measurement method as described in the first aspect.
[0020] In a fifth aspect, the present application provides a program, which, when executed on a processor of an electronic device, enables the electronic device to execute the loss measurement method as described in the first aspect.
[0021] In one possible design, the program in the fifth aspect may be stored in whole or in part on a storage medium packaged with the processor, or may be stored in whole or in part on a memory not packaged with the processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0023] Figure 2 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0024] Figure 3 A schematic diagram of a flow chart of an embodiment of the loss measurement method provided in this application;
[0025] Figure 4 A schematic diagram of an equivalent wall provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram of the peak value of the echo waveform provided in an embodiment of the present application;
[0027] Figure 6 A schematic diagram of the structure of the loss measurement device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] In the embodiments of this application, unless otherwise specified, the character " / " indicates that the associated objects are in an "or" relationship. For example, A / B can represent A or B. "And / or" describes the relationship between the associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exists simultaneously, or B exists alone.
[0029] It should be pointed out that the words "first", "second", etc. involved in the embodiments of this application are only used for distinguishing description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated, nor can they be understood as indicating or implying order.
[0030] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. In addition, "at least one of the following" or similar expressions refers to any combination of these items, which may include any combination of single items or plural items. For example, at least one of A, B, or C can represent: A, B, C, A and B, A and C, B and C, or A, B and C. Among them, each of A, B, and C can be an element itself, or a set containing one or more elements.
[0031] In the embodiments of this application, the terms "exemplary," "in some embodiments," and "in another embodiment" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" in this application should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the word "exemplary" is intended to present concepts in a concrete manner.
[0032] In the embodiments of this application, the terms "of," "corresponding," and "relevant" may sometimes be used interchangeably. It should be noted that, when the distinction between them is not emphasized, the meanings they convey are the same. In the embodiments of this application, the terms "communication" and "transmission" may sometimes be used interchangeably. It should be noted that, when the distinction between them is not emphasized, the meanings they convey are the same. For example, "transmission" may include "sending" and / or "receiving," and may be either a noun or a verb.
[0033] In the embodiments of this application, "equal to" can be used in conjunction with "greater than" and is applicable to the technical solution adopted when "greater than" is used, and can also be used in conjunction with "less than" and is applicable to the technical solution adopted when "less than" is used. It should be noted that when "equal to" is used in conjunction with "greater than", it cannot be used in conjunction with "less than"; and when "equal to" is used in conjunction with "less than", it cannot be used in conjunction with "greater than".
[0034] With the widespread use of smart devices, the demand for mobile communication networks is growing. Billions of users around the world access the Internet through mobile terminals, and wireless traffic occurring indoors accounts for more than 85% of the total traffic. Good indoor signal coverage is crucial for mobile operators and mobile users.
[0035] Link loss calculation is a critical and essential part of mobile operators' network planning. To better plan networks, it's necessary to evaluate the wireless signal absorption and reflection effects of various wall types, and then conduct network planning and optimization based on the evaluation results.
[0036] Currently, a common evaluation method involves measuring the target wall's penetration loss from both sides using a single set of measuring equipment. However, this two-sided measurement approach is constrained by the target wall's structural type. This means that while the measuring equipment performs well on specific walls, it struggles to guarantee accuracy for walls of unknown structures. Furthermore, two-sided measurement requires the equipment to be aligned between the inner and outer walls, placing high demands on the measurement environment and the skills of the surveyor. This means that the current measurement method is not universally applicable to different wall types, resulting in a poor user experience.
[0037] Based on the above problems, an embodiment of the present application proposes a loss measurement method for electronic equipment.
[0038] Figure 1 First, a structural diagram of the electronic device 100 is shown as an example.
[0039] The electronic device 100 may include at least one processor and at least one memory connected to the processor, wherein the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the method provided in the embodiment shown in this document.
[0040] Figure 1 A block diagram of an exemplary electronic device 100 suitable for implementing embodiments herein is shown. Figure 1 The electronic device 100 shown is merely an example and should not limit the functionality and scope of use of the embodiments herein.
[0041] like Figure 1 As shown, the components of the electronic device 100 may include, but are not limited to, one or more processors 110 , a memory 120 , a communication bus 140 connecting different system components (including the memory 120 and the processor 110 ), and a communication interface 130 .
[0042] Communication bus 140 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnection (PCI) bus.
[0043] The electronic device 100 typically includes a variety of computer system readable media, which can be any available media that can be accessed by the device, including volatile and non-volatile media, removable and non-removable media.
[0044] The memory 120 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The device may further include other removable / non-removable, volatile / non-volatile computer system storage media. Figure 1 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a Compact Disc Read Only Memory (CD-ROM), a Digital Video Disc Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the communication bus 140 via one or more data medium interfaces. The memory 120 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the various embodiments herein.
[0045] A program / utility having a set (at least one) of program modules may be stored in memory 120. Such program modules include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. The program modules generally perform the functions and / or methods of the embodiments described herein.
[0046] The electronic device 100 may also communicate with one or more external devices (e.g., keyboard, pointing device, display, etc.), one or more devices that enable a user to interact with the device, and / or any device that enables the device to communicate with one or more other devices (e.g., network card, modem, etc.). Such communication may be performed through the communication interface 130. In addition, the electronic device 100 may also communicate with the network adapter ( Figure 1 The network adapter can communicate with other modules of the device through the communication bus 140. It should be understood that although Figure 1 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (Redundant Arrays of Independent Drives; hereinafter referred to as: RAID) systems, tape drives, and data backup storage systems.
[0047] The processor 110 executes various functional applications and data processing by running the programs stored in the memory 120, such as implementing the methods provided in the embodiments of this document.
[0048] It is understood that the interface connection relationship between the modules illustrated in the embodiments herein is merely illustrative and does not constitute a structural limitation on the electronic device 100. In other embodiments herein, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0049] Figure 2 This is a schematic diagram of the application scenario of this application. Figure 2 This application scenario includes an electronic device 100 and a target wall 200. The electronic device 100 is used to measure the signal penetration loss of the target wall 200. The distance between the electronic device 100 and the target wall 200 is denoted as L, and the thickness of the target wall is denoted as D. The electronic device 100 measures the signal penetration loss of the target wall 200 by sending a signal to the target wall 200 and receiving an echo signal from one side of the target wall. This is a one-sided measurement method.
[0050] The signal wall penetration loss can be represented by a wall penetration loss value X.
[0051] In some optional embodiments, during the measurement of the signal wall penetration loss, the thickness D of the target wall may also be calculated.
[0052] Next, combine Figure 3-Figure 5 The loss measurement method provided in the embodiment of the present application is described.
[0053] like Figure 3 The figure shows a flow chart of an embodiment of the loss measurement method provided by the present application, which specifically includes the following steps:
[0054] Step 301: The electronic device collects and obtains a background value.
[0055] Specifically, the electronic device may include an ultra-wideband array antenna with k transmit and m receive, where k and m are positive integers. The k-transmit ultra-wideband array antenna may be used to transmit signals, and the m-receive ultra-wideband array antenna may be used to receive echo signals.
[0056] In some optional embodiments, in order to obtain better measurement results, the antenna array can be set to a tilt mode. For example, the array antenna can be arranged at a tilt of 30 degrees, thereby providing resolution in two directions.
[0057] It will be understood that the above-mentioned 30-degree tilt is merely an exemplary illustration and does not constitute a limitation on the embodiments of the present application. In some embodiments, the array antenna may also be set to other angles.
[0058] Next, the electronic device's array antenna can face an unobstructed environment to transmit signals and receive echo signals to obtain a background value. This background value can be considered the loss value of the signal propagating in the air, and can also be called the air propagation loss value.
[0059] It should be noted that the signal sent and the echo signal received in this application may be a microwave radar signal.
[0060] In some optional embodiments, the signal sent and the echo signal received in the present application may be other types of radar signals, which are not particularly limited in the embodiments of the present application.
[0061] In step 302, the electronic device sends a signal to the target wall and collects a corresponding echo signal.
[0062] Specifically, the antenna of the electronic device may face the target wall so as to send a signal to the target wall and collect an echo signal reflected by the target wall.
[0063] Step 303: The electronic device pre-processes the echo signal.
[0064] Specifically, after the electronic device collects the echo signal, it can preprocess the echo signal to obtain a one-dimensional range image of the echo signal.
[0065] The process of pre-processing the echo signal by the electronic device may include the following steps:
[0066] Step 3031: The electronic device determines echo information.
[0067] The echo information may include but is not limited to the number of range units, the interval between range units, the real part and the imaginary part of the echo signal, and other information.
[0068] It is understood that the number of range cells and the interval between range cells can be determined by the sampling interval, signal bandwidth, and range range. The signal bandwidth also determines the maximum range resolution that the system can achieve.
[0069] In step 3032, the electronic device performs an inverse Fourier transform on the echo signal based on the echo information to obtain a one-dimensional range image of the echo signal.
[0070] The electronic device can perform an inverse Fourier transform on the echo signal within a preset frequency band, thereby obtaining a signal after the inverse Fourier transform. Then, a one-dimensional range image of the signal after the inverse Fourier transform can be drawn. The one-dimensional range image of the signal after the inverse Fourier transform can also be considered as a one-dimensional range image corresponding to the echo signal within the preset frequency band.
[0071] In some optional embodiments, the electronic device may intercept a target frequency band within a preset frequency band, and may perform an inverse Fourier transform on the echo signal within the target frequency band to obtain a one-dimensional range image corresponding to the echo signal within the target frequency band.
[0072] It is understood that the one-dimensional range profile can be a waveform obtained by subtracting the background value from the echo signal. For example, after performing an inverse Fourier transform on the collected signal, an inverse Fourier transformed signal can be obtained. Subsequently, a complex number subtraction is performed between the inverse Fourier transformed signal and the background value to obtain the target signal. Finally, a one-dimensional range profile of the target signal can be plotted. The one-dimensional range profile of the target signal can be considered to be the one-dimensional range profile corresponding to the echo signal.
[0073] In some optional embodiments, before step 3032, the following steps may also be included:
[0074] In step 3033, the electronic device interpolates the echo signal.
[0075] The electronic device can interpolate the echo signals within a preset frequency band.
[0076] In some optional embodiments, the electronic device may intercept a target frequency band within a preset frequency band and may interpolate the echo signal within the target frequency band.
[0077] It is understandable that by interpolating the echo signal, the high sampling rate of the signal can be restored. The interpolation multiple can be 10 times, or the interpolation multiple can be other multiples, which is not specifically limited in the embodiment of the present application.
[0078] In step 304 , the electronic device determines the signal wall penetration loss based on the one-dimensional range profile of the echo signal.
[0079] Specifically, after the electronic device obtains the one-dimensional range image of the echo signal, it can perform inversion based on the peak difference in the one-dimensional range image of the echo signal to calculate the corresponding signal wall penetration loss.
[0080] Now combined Figure 4 An example is given of the inversion algorithm for signal wall penetration loss.
[0081] refer to Figure 4The target wall W can be equivalent to two walls composed of two media and of the same thickness. For example, the equivalent walls of the two media can be W1 and W2, respectively. The thickness of the equivalent wall W1 can be D1, the dielectric constant of the equivalent wall W1 is ε1, and the equivalent wall W1 includes a reflective surface Y1, which can be considered as the physical wall surface of the equivalent wall W1. The thickness of the equivalent wall W2 can be D2, the dielectric constant of the equivalent wall W2 is ε2, and the equivalent wall W2 includes a reflective surface Y2, which can be considered as the physical wall surface of the equivalent wall W2. D1 = D2.
[0082] It is understandable that the equivalent wall W1 and the equivalent wall W2 can be considered as equivalent walls with one front and one back. For example, if the equivalent wall W1 is a front equivalent wall, that is, Y1 is the front of the target wall W, then the equivalent wall W2 can be a back equivalent wall, that is, Y2 is the back of the target wall W; or, if the equivalent wall W1 is a back equivalent wall, that is, Y1 is the back of the target wall W, then the equivalent wall W2 can be a front equivalent wall, that is, Y2 is the front of the target wall W. The electronic device can perform measurements on one side of the equivalent wall W1, that is, the electronic device can perform measurements close to the side of Y1, or the electronic device can perform measurements on one side of the equivalent wall W2, that is, the electronic device can perform measurements close to the side of Y2. This embodiment of the present application does not specifically limit this.
[0083] Assume that the electronic device is measured on one side of the equivalent wall W1. For vertical polarization, the following formula can be obtained:
[0084]
[0085]
[0086] Wherein, R is the reflection coefficient, T is the transmission coefficient, ε0 is the dielectric constant of air, and i and j are integers of 0, 1, and 2.
[0087] Then, the following formula can be obtained based on the relationship between the peak value of the echo and R and T:
[0088] peak1=R 10 ; (3)
[0089] peak ave =T 01 ×R 12 ×T 10 ; (4)
[0090] peak2=T 01 ×A×R 20 ×A×T 10 ; (5)
[0091] Wherein, peak1 is the maximum peak value of the echo corresponding to the wall surface of the equivalent wall W1, peak2 is the maximum peak value of the echo corresponding to the wall surface of the equivalent wall W2, and peak ave is the average peak value of the echo from the middle wall, and A is the propagation loss of the signal in the process of penetrating the wall.
[0092] It is understandable that peak1 and peak2 can be extracted from the one-dimensional range image. ave It can be obtained by calculation.
[0093] Now combined Figure 5 For peak1, peak2, peak ave The acquisition of is illustrated below.
[0094] refer to Figure 5 Waveform 500 is a one-dimensional range image of the echo signal. P1 is the highest peak in waveform 500. This P1 can be considered the highest peak in the echo waveform corresponding to the equivalent wall W1, i.e., the value of P1 can be peak1. P2 is the highest peak in waveform 500, with a peak value less than that of P1 and with rapid attenuation on both sides of P2. This P2 can be considered the highest peak in the echo waveform corresponding to the equivalent wall W2, i.e., the value of P2 can be peak2. ave is the average value of the peak values of all peaks between P1 and P2. For example, assuming there are three peaks between P1 and P2, for example, the three peaks may be P3, P4 and P5, and the corresponding peak values may be Peak3, Peak4 and Peak5 respectively, then peak ave =(Peak3+Peak4+Peak5) / 3.
[0095] It is understandable that the above example only illustrates the three peaks between P1 and P2, but does not constitute a limitation on the embodiments of the present application. In some embodiments, there may be more than three or less than three peaks between P1 and P2.
[0096] When peak1 and peak ave After the value of , the values of ε1 and ε2 can be calculated by formulas (1)-(4).
[0097]
[0098]
[0099] Next, the wall penetration loss value X can be calculated using the values of peak2, ε1, and ε2. X can be calculated using the following formula:
[0100]
[0101] It can be seen from formula (8) that the wall penetration loss value X is only related to the peak value of the echo and the values of ε1 and ε2. By analyzing the peak value of the echo, the wall penetration loss value X can be quickly calculated.
[0102] In some optional embodiments, in addition to calculating the wall penetration loss value X, the thickness D of the target wall may also be calculated, where D may be calculated using the following formula:
[0103]
[0104] Where △d is the equivalent thickness of the target wall.
[0105] by Figure 5 As an example, the calculation method of △d is illustrated. Figure 5 , the distance value corresponding to P1 is Z1, and the distance value corresponding to P2 is Z2. By calculating the distance difference between P1 and P2, the value of △d can be obtained, for example, △d=Z2-Z1.
[0106] In some optional embodiments, before step 301, the following steps may also be included:
[0107] In step 1, the electronic device determines the distance L between the electronic device and the target wall.
[0108] Specifically, in order to obtain a better measurement effect, the electronic device may also pre-set a distance L between the electronic device and the target wall.
[0109] The preset distance L between the electronic device and the target wall may be determined by the array distribution of the antennas.
[0110] It is understandable that the array distribution of antennas may include but is not limited to information such as antenna angles, intervals between antennas, and the number of antennas.
[0111] For example, after determining the target array distribution of antennas, multiple groups of echo signals can be collected at different distances using the antennas of the target array. For example, the different distances can include n distances, such as L1, L2, ..., Ln, where n is a positive integer. Accordingly, each distance can correspond to a group of echo signals. For example, the multiple groups of echo signals can include n groups of echo signals, such as S1, S2, ..., Sn, etc., where S1 corresponds to L1, S2 corresponds to L2, and Sn corresponds to Ln.
[0112] Next, the n groups of echo signals S1, S2...Sn are analyzed to extract the best echo signal from the n groups of echo signals S1, S2...Sn, so that the best distance corresponding to the best echo signal can be found among the n distances L1, L2...Ln, and the best distance can be used as the preset distance L between the electronic device and the target wall.
[0113] When the preset distance L between the electronic device and the target wall has been determined, a bracket can be customized for the electronic device. The length of the bracket can be L. The electronic device can be fixed to the target wall through the bracket so that the distance between the electronic device and the target wall is L. This eliminates the need for the user to measure the signal penetration loss of the target wall by holding the electronic device, thereby reducing errors caused by holding the device.
[0114] Figure 6 This is a schematic diagram of the structure of an embodiment of the loss measurement device of the present application, as shown in FIG. Figure 6 As shown, the above-mentioned loss measurement device 60 is applied to an electronic device, and the electronic device is located on the target side of a target wall. The target wall is equivalent to a first equivalent sub-wall and a second equivalent sub-wall. The first equivalent sub-wall includes a first wall surface, which is a physical wall surface of the first equivalent sub-wall. The second equivalent sub-wall includes a second wall surface, which is a physical wall surface of the second equivalent sub-wall. The target side is the side close to the first wall surface. The above-mentioned loss measurement device 60 may include: an acquisition module 61, a transformation module 62 and a determination module 63; wherein,
[0115] Acquisition module 61, used for collecting echo signals;
[0116] a transform module 62, configured to perform an inverse Fourier transform on the echo signal to obtain a one-dimensional range image of the echo signal;
[0117] Determination module 63 is used to determine a first dielectric constant, a second dielectric constant and a second peak value based on the one-dimensional range image, where the first dielectric constant is the dielectric constant of the first equivalent sub-wall, the second dielectric constant is the dielectric constant of the second equivalent sub-wall, and the second peak value is the peak value of the second wave peak, which is used to represent the target wave peak in the echo signal corresponding to the second wall surface; and determine the signal wall penetration loss based on the first dielectric constant, the second dielectric constant and the second peak value.
[0118] In one possible implementation, the determining module 63 is specifically configured to determine a first peak in the one-dimensional range image, where the first peak is a peak corresponding to a highest peak value in the one-dimensional range image;
[0119] Calculating and obtaining an average peak value, where the average peak value is used to represent an average value of peak values corresponding to all peaks between the first peak and the second peak in the one-dimensional range image;
[0120] The first dielectric constant and the second dielectric constant are determined based on a first peak value and the average peak value, the first peak value being a peak value corresponding to the first wave crest.
[0121] In one possible implementation, the second peak is the highest peak in the one-dimensional range image that is smaller than the first peak and has rapid attenuation on both sides of the second peak.
[0122] In one possible implementation, the determining module 63 is further configured to determine the equivalent thickness of the target wall;
[0123] The thickness of the target wall is determined based on the equivalent thickness of the target wall, the first dielectric constant, and the second dielectric constant.
[0124] In one possible implementation, the equivalent thickness of the target wall is determined by a difference between a first distance value and a second distance value, where the first distance value is a distance value corresponding to the first wave crest, and the second distance value is a distance value corresponding to the second wave crest.
[0125] In one possible implementation, the transformation module 62 is specifically configured to perform an inverse Fourier transform on the echo signal to obtain an inverse Fourier transformed signal;
[0126] The background value is subtracted from the inverse Fourier transformed signal to obtain a target signal, and a one-dimensional range image of the echo signal is drawn based on the target signal. The background value is used to characterize the loss value of the signal propagating in the air.
[0127] In one possible implementation, the loss measuring device 60 further includes:
[0128] An interpolation module is used to interpolate the echo signal.
[0129] In one possible implementation, the determining module 63 is further configured to determine a distance between the electronic device and the target wall;
[0130] The acquisition module 61 is specifically configured to acquire echo signals at a target position, where the target position is determined by the distance between the electronic device and the target wall.
[0131] In one possible implementation manner, the distance between the electronic device and the target wall is determined by the array distribution of the antennas of the electronic device.
[0132] In one possible implementation manner, the echo signal is a microwave radar signal.
[0133] Figure 6 The loss measurement device 60 provided in the illustrated embodiment can be used to implement the technical solution of the method embodiment shown in this application. Its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0134] It should be understood that the above Figure 6 The division of the various modules of the loss measurement device 60 shown is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also all be implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. During the implementation process, each step of the above method or each of the above modules can be completed by the hardware integrated logic circuit in the processor element or the instructions in the form of software.
[0135] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more microprocessors (DSPs), or one or more field programmable gate arrays (FPGAs). For another example, these modules may be integrated together to implement a system-on-a-chip (SOC).
[0136] In the above embodiments, the processor involved may include, for example, a CPU, a DSP, a microcontroller, or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units; hereinafter referred to as: NPU) and an image signal processor (hereinafter referred to as: ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASICs, or one or more integrated circuits for controlling the execution of the program of the technical solution of this application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.
[0137] An embodiment of the present application also provides a readable storage medium, which stores a program. When the program is run on an electronic device, the electronic device executes the method provided by the embodiment shown in the present application.
[0138] An embodiment of the present application also provides a program product, which includes a program. When the program product is run on an electronic device, the electronic device executes the method provided by the embodiment shown in the present application.
[0139] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c can be single or multiple.
[0140] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented using a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0141] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0142] In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of this application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk and other media that can store program code.
[0143] The above description is merely a specific embodiment of the present application. Any person skilled in the art may easily conceive of variations or substitutions within the technical scope disclosed in this application, and such variations or substitutions shall be within the scope of protection of this application. The scope of protection of this application shall be subject to the scope of protection of the claims.
Claims
1. A loss measurement method, characterized in that: Applied to an electronic device, the electronic device is located on a target side of a target wall, the target wall is equivalent to a first equivalent sub-wall and a second equivalent sub-wall, the first equivalent sub-wall includes a first wall surface, the first wall surface is a physical wall surface of the first equivalent sub-wall, the second equivalent sub-wall includes a second wall surface, the second wall surface is a physical wall surface of the second equivalent sub-wall, the target side is a side close to the first wall surface, and the method includes: Collect echo signals; Performing an inverse Fourier transform on the echo signal to obtain a one-dimensional range image of the echo signal; Determining a first dielectric constant, a second dielectric constant, and a second peak value based on the one-dimensional range image, where the first dielectric constant is the dielectric constant of the first equivalent sub-wall, the second dielectric constant is the dielectric constant of the second equivalent sub-wall, and the second peak value is the peak value of a second wave peak, where the second wave peak is used to represent a target wave peak in the echo signal corresponding to the second wall surface; The signal wall penetration loss is determined based on the first dielectric constant, the second dielectric constant, and the second peak value.
2. The method according to claim 1, characterized in that Determining the first dielectric constant and the second dielectric constant based on the one-dimensional range image includes: Determining a first peak in the one-dimensional range image, where the first peak is a peak corresponding to a highest peak value in the one-dimensional range image; Calculating and obtaining an average peak value, where the average peak value is used to represent an average value of peak values corresponding to all peaks between the first peak and the second peak in the one-dimensional range image; The first dielectric constant and the second dielectric constant are determined based on a first peak value and the average peak value, the first peak value being a peak value corresponding to the first wave crest.
3. The method according to claim 2, characterized in that The second wave peak is the highest wave peak in the one-dimensional range image, which is smaller than the first peak value and has rapid decay on both sides of the second wave peak.
4. The method according to claim 2 or 3, characterized in that The method further comprises: determining the equivalent thickness of the target wall; The thickness of the target wall is determined based on the equivalent thickness of the target wall, the first dielectric constant, and the second dielectric constant.
5. The method according to claim 4, characterized in that The equivalent thickness of the target wall is determined by a difference between a first distance value and a second distance value, wherein the first distance value is a distance value corresponding to the first wave crest, and the second distance value is a distance value corresponding to the second wave crest.
6. The method according to any one of claims 1 to 5, characterized in that Performing an inverse Fourier transform on the echo signal to obtain a one-dimensional range image of the echo signal includes: Performing an inverse Fourier transform on the echo signal to obtain an inverse Fourier transformed signal; The background value is subtracted from the inverse Fourier transformed signal to obtain a target signal, and a one-dimensional range image of the echo signal is drawn based on the target signal. The background value is used to characterize the loss value of the signal propagating in the air.
7. The method according to any one of claims 1 to 5, characterized in that Before performing inverse Fourier transform on the echo signal, the method further includes: The echo signal is interpolated.
8. The method according to any one of claims 1 to 7, characterized in that Before collecting the echo signal, the method further includes: determining a distance between the electronic device and the target wall; The collecting of echo signals comprises: An echo signal is collected at a target position, where the target position is determined by the distance between the electronic device and the target wall.
9. The method according to claim 8, characterized in that The distance between the electronic device and the target wall is determined by the array distribution of the antennas of the electronic device.
10. The method according to any one of claims 1 to 9, characterized in that The echo signal is a microwave radar signal.
11. An electronic device, characterized in that: include: A processor and a memory, wherein the memory is used to store a program; and the processor is used to run the program to implement the loss measurement method according to any one of claims 1 to 10.
12. A readable storage medium, characterized in that: The readable storage medium stores a program, and when the program is run on an electronic device, the loss measurement method according to any one of claims 1 to 10 is implemented.