A wireless signal strength detection method, device, electronic device and storage medium

By adopting the master-slave mode method in the wireless signal strength detection equipment in a closed space, the detection signal is only sent when the signal fluctuation exceeds the range, which solves the problem of unstable signal reception caused by the closed design and improves the detection accuracy and equipment life. .

CN114679744BActive Publication Date: 2024-09-27BEIJING CHINACOMM DESIGN & CONSULTING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210199317.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-01
Publication Date
2024-09-27
Estimated Expiration
2042-03-01

AI Technical Summary

Technical Problem

Wireless signal strength detection equipment in confined spaces causes unstable signal reception due to the sealed design. An optimized detection method is needed to reduce equipment loss and improve monitoring accuracy.

Method used

By adopting the master-slave mode between the transmitting device and the receiving device, the strength detection signal is only sent when the wireless signal strength value fluctuates beyond the preset range, and the data is updated when there is no signal change, reducing signal transmission pressure and equipment loss.

Benefits of technology

It effectively reduces the number of times the wireless signal strength detection signal is sent, extends the service life of the device, improves battery life, and saves resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114679744B
    Figure CN114679744B
Patent Text Reader

Abstract

The embodiments of the present application provide a wireless signal strength detection method, device, electronic device and storage medium. The method is applied to a transmitting device, including: collecting the wireless signal strength value at the current moment in a confined space at intervals of a first preset time; matching the signal strength range and the strength output value corresponding to the signal strength range according to the wireless signal strength value; judging whether the strength output value at the current moment is consistent with the strength output value at the previous moment; if not, sending a strength detection signal so that the receiving device updates the signal strength data according to the strength detection signal; if so, not sending a strength detection signal, and the receiving device updates the signal strength data at the current moment according to the previous strength detection signal. The present application can detect the strength of wireless signals in a confined space, and reduces the number of times the strength detection signal is sent, reduces the signal transmission pressure and the loss to the device, and thus increases the service life of the device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of wireless signal detection, and more specifically, to a wireless signal strength detection method, device, electronic device and storage medium. Background Art

[0002] In urban septic tanks, sewage pipe networks, drainage pipe networks and other explosive and toxic gas source places, installing online gas detection equipment can effectively manage the safety hazards in the area. Since the equipment uses mobile networks and monitoring centers to transmit data and commands, the wireless signal strength of the wireless data transmission module determines whether the equipment can operate normally. In many devices that use wireless data transmission modules, due to differences in the modules themselves and differences in the use environment, the wireless communication of the equipment will be affected by changes in signal strength.

[0003] Conventional wireless signal strength tests inside partially enclosed spaces must be sent to professional organizations for testing. As for the wireless signal strength detection inside equipment that is widely distributed and operating outdoors in various places, the signal strength is within the normal range after the cabinet is opened. If the cabinet is closed, the partially enclosed design of the cabinet itself will affect its signal reception. At present, by setting the wireless signal strength detection device as a transmitting device and a receiving device in master-slave mode, the transmitting device is set inside the cabinet. The transmitting device can detect the wireless signal strength inside the enclosed cabinet and send the detection result to the receiving device to improve the detection accuracy of the wireless signal strength inside the cabinet. However, when it is necessary to continuously monitor the wireless signal strength inside the cabinet, the uninterrupted operation of the transmitting device and the receiving device causes a large loss to the equipment itself. Therefore, how to provide a better wireless signal strength detection method has become an urgent problem to be solved. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a wireless signal strength detection method, device, electronic device and storage medium.

[0005] In a first aspect of the present application, a wireless signal strength detection method is provided. The method is applied to a transmitting device, comprising:

[0006] At first preset time intervals, collecting the current wireless signal strength value in the confined space;

[0007] Matching a signal strength range and a strength output value corresponding to the signal strength range according to the wireless signal strength value;

[0008] Determine whether the intensity output value at the current moment is consistent with the intensity output value at the previous moment;

[0009] If not, sending a strength detection signal so that the receiving device updates the signal strength data according to the strength detection signal;

[0010] If so, no strength detection signal is sent, and the receiving device updates the signal strength data at the current moment according to the last strength detection signal.

[0011] In a possible implementation manner, after sending the strength detection signal, the method further includes:

[0012] The sending record of the intensity detection signal is stored in a preset storage repository, wherein the intensity detection signal includes an intensity output value and a sending time:

[0013] After receiving the feedback signal from the receiving device, the strength detection signal corresponding to the feedback signal is analyzed, and the sending record corresponding to the strength detection signal is deleted.

[0014] In one possible implementation, it also includes:

[0015] A compensation signal is sent every second preset time period, wherein the compensation signal includes the intensity detection signal currently stored in the preset storage memory.

[0016] In a possible implementation manner, after deleting the sending record, the method further includes:

[0017] Determining whether the preset storage memory still stores the sending record of the strength detection signal;

[0018] If so, a compensation signal is sent, wherein the compensation signal includes the intensity detection signal currently stored in the preset storage memory.

[0019] In a second aspect of the present application, a wireless signal strength detection method is provided, which is applied to a receiving device, and includes:

[0020] When receiving the strength detection signal, updating the signal strength data according to the strength detection signal;

[0021] When no strength detection signal is received, the signal strength data is updated according to the last received strength detection signal.

[0022] In a possible implementation, the method further includes: receiving a compensation signal, and analyzing a sending time of each strength detection signal in the compensation signal;

[0023] Replace the strength detection signal at the historical moment that matches the sending time based on the sending time.

[0024] In a third aspect of the present application, a wireless signal strength detection device is provided, comprising:

[0025] A collection module, used for collecting the wireless signal strength value at the current moment in the confined space at every first preset time period;

[0026] A matching module, used for matching a signal strength range and a strength output value corresponding to the signal strength range according to the wireless signal strength value;

[0027] A judgment module, used to judge whether the signal strength output value at the current moment is consistent with the signal strength output value at the previous moment;

[0028] An execution module, configured to send a strength detection signal when the signal strength output value at the current moment is inconsistent with the signal strength output value at the previous moment, so that the receiving device updates the signal strength data according to the strength detection signal;

[0029] When the signal strength output value at the current moment is consistent with the signal strength output value at the previous moment, no strength detection signal is sent, and the receiving device updates the signal strength data at the current moment according to the previous strength detection signal.

[0030] In a fourth aspect of the present application, an electronic device is provided, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the program, the method described above is implemented.

[0031] In a fifth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method according to the first aspect of the present application is implemented.

[0032] The present application discloses a method for detecting the strength of a wireless signal. The method collects the strength value of a wireless signal in a confined space through a transmitting device, matches the signal strength range and the strength output value that matches the signal strength range according to the wireless signal strength value, and determines whether the strength output value at the current moment is consistent with the strength output value at the previous moment. If not, a strength detection signal is output, so that the receiving device can update the signal strength data according to the strength detection signal. If so, it indicates that the fluctuation of the strength value of the wireless signal is within a preset range, and there is no need to output a strength detection signal. The receiving device updates the signal strength data according to the strength detection signal at the previous moment. The present application processes the strength value of the wireless signal before sending the strength detection signal, which reduces the number of times the strength detection signal is sent, reduces the pressure of signal transmission and the loss to the device, and thus increases the service life of the device. At the same time, it also reduces the power consumption rate of the sending device, improves the endurance of the sending device, and saves resources to a certain extent.

[0033] It should be understood that the contents described in the Summary of the Invention are not intended to limit the key or important features of the embodiments of the present application, nor are they intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0035] Figure 1 A flow chart of a wireless signal strength detection method according to an embodiment of the present application is shown;

[0036] Figure 2 A block diagram of a wireless signal strength detection device according to an embodiment of the present application is shown;

[0037] Figure 3 A schematic diagram of the structure of a terminal device or server suitable for implementing an embodiment of the present application is shown. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0039] The present application can be applied to detect the strength of wireless signals in outdoor closed cabinets. The transmitting device can be set in the closed cabinet. The wireless signal strength value at the current moment in the cabinet is collected every first preset time. The signal strength range and the strength output value corresponding to the signal strength range are matched according to the wireless signal strength value. It is judged whether the strength output value at the current moment is consistent with the signal strength output value at the previous moment. If not, a strength detection signal is output. If so, the strength detection signal is not sent. The strength detection signal includes the strength output value and the sending time. The sending time can be the collection time of the wireless signal strength value. The receiving device can receive the strength detection signal. The signal strength data of the receiving device is updated every first preset time. When the strength detection signal is received, the signal strength data is updated according to the strength detection signal. When the strength detection data is not received, the signal strength data at the current moment is updated according to the previous strength detection signal. The transmitting device matches and compares the collected wireless signal strength value before sending the strength detection signal. The strength detection signal is output only when the fluctuation of the wireless signal strength value exceeds the range. After receiving the strength detection signal, the receiving device updates the signal strength data according to the strength detection signal. When no strength detection signal is received, it is considered that the wireless signal strength value at the current moment is in the same signal strength range as the wireless signal strength value at the previous moment, and the signal strength data at the current moment is updated according to the previous strength detection signal until the strength detection signal is received.

[0040] This application processes the wireless signal strength value before sending the strength detection signal, which reduces the number of times the strength detection signal is sent, reduces the signal transmission pressure and the loss to the device, thereby increasing the service life of the device. At the same time, it also reduces the power consumption speed of the sending device, increases the endurance of the sending device, and saves resources to a certain extent.

[0041] Figure 1 A flow chart of a wireless signal strength detection method according to an embodiment of the present application is shown. The method is applied to a transmitting device.

[0042] Step S110: collecting the wireless signal strength value at the current moment in the enclosed space at every first preset time period.

[0043] Among them, the method of collecting the wireless signal strength value can be to set a test antenna on the transmitting device body to collect it, and the first preset time length can be set according to needs. The first preset time length can be 0.5 seconds, 1 second or 2 seconds, etc., which is not limited here.

[0044] Step S120: Match a signal strength range and a strength output value corresponding to the signal strength range according to the wireless signal strength value.

[0045] During the wireless signal strength test, when the wireless signal strength stability is high, the fluctuation of the wireless signal strength value detected by the transmitting device is small. In order to save signal transmission costs, the signal strength range can be divided according to the signal strength value, and each signal strength range corresponds to a strength output value, which is used to represent all wireless signal strength values ​​contained in the corresponding signal strength range.

[0046] In a specific example, the accuracy of the strength output value is accurate to the unit digit, then 0-0.4dB is a signal strength range, and the strength output value corresponding to the signal strength range is 0dB, 0.5-1.4dB is a signal strength range, and the strength output value corresponding to the signal strength range is 1dB, 1.5-2.4dB is a signal strength range, and the strength output value corresponding to the signal strength range is 2dB, and so on. If the obtained wireless signal strength value is 12.2dB, it can be matched to the signal strength range of 11.5-12.4dB, and the strength output value is 12dB.

[0047] Of course, this is just an example. In another example, the signal strength range may be 0-0.09dB, and the corresponding strength output value may be 0dB; the signal strength range may be 0.10-0.19dB, and the corresponding strength output value may be 0.1dB, and so on.

[0048] Step S130: Determine whether the intensity output value at the current moment is consistent with the intensity output value at the previous moment.

[0049] If not, execute step S140; if so, execute step S150.

[0050] Step S140: sending a strength detection signal so that the receiving device updates the signal strength data according to the strength detection signal;

[0051] Step S150: No strength detection signal is sent, and the receiving device updates the signal strength data at the current moment according to the last strength detection signal.

[0052] After obtaining the strength output value corresponding to the wireless signal strength value at the current moment through matching, determine whether the strength output value at the current moment is consistent with the strength output value at the previous moment. If not, it indicates that the wireless signal strength value at the current moment and the wireless signal strength output value at the previous moment are not in the same range, and the fluctuation of the wireless signal strength value exceeds a signal strength range. At this time, a strength detection signal is output so that the receiving device can update the signal strength data according to the strength detection signal.

[0053] If the strength output value at the current moment is consistent with the strength output value at the previous moment, it indicates that the fluctuation of the wireless signal strength value is small. At this time, no strength detection signal is output, and the receiving device updates the signal strength data according to the previous strength detection signal. In this way, while ensuring that the receiving device updates the data in a timely manner, the number of output times of the strength detection signal is reduced, the signal transmission pressure is reduced, and the battery life of the transmitting device is improved.

[0054] It should be noted that the timetables of the transmitting device and the receiving device are one-to-one corresponding, that is, each time the transmitting device collects a wireless signal strength value, the receiving device updates the signal strength data accordingly.

[0055] In the embodiment of the present application, after the transmitting device sends the strength detection signal, if it receives interference from external signals or other unexpected conditions, the strength detection signal may be intercepted midway. Therefore, after sending the strength detection signal, the transmitting device may store the sending record of the strength detection signal in a preset storage library, and after receiving the feedback signal output by the receiving device, analyze the strength detection signal corresponding to the feedback signal, and delete the sending record corresponding to the strength detection signal. If the feedback signal is received, it indicates that the receiving device has received the corresponding strength detection signal.

[0056] In order to avoid the situation where errors in signal strength data occur due to the receiving device not receiving the strength detection signal, it can be determined at every second preset time period whether there is a sending record of the strength detection signal stored in the preset storage repository. If so, a compensation signal is sent, and the compensation signal includes the strength detection signal currently stored in the preset storage repository, so that the receiving device can replace the strength detection signal of the historical moment that matches the sending time according to the sending time of each strength detection signal in the compensation signal when receiving the compensation signal.

[0057] In a possible implementation, after deleting the sending record of the strength detection signal, it is determined whether the preset storage memory still stores the sending record of the strength detection signal; if so, a compensation signal is sent.

[0058] In other embodiments, after sending the strength detection signal, the sending record of the strength detection signal is stored in a preset storage repository, and after obtaining the wireless signal strength value next time, it is determined whether a feedback signal is received. If not, the strength detection signal continues to be sent until the feedback signal is received, and after receiving the feedback signal, a compensation signal is output.

[0059] When the sending device continuously sends the strength detection signal, an unexpected situation may occur, such as a failure of the receiving device. Therefore, an alarm message may be output when the sending frequency of the strength detection signal is greater than a preset frequency.

[0060] In another aspect of the present application, a wireless signal strength detection method applied to a receiving device is also provided, the method comprising:

[0061] Step S210: when a strength detection signal is received, update the signal strength data according to the strength detection signal;

[0062] When no strength detection signal is received, the signal strength data is updated according to the last received strength detection signal.

[0063] Step S220, receiving the compensation signal, and analyzing the sending time of each strength detection signal in the compensation signal;

[0064] Step S230: replace the strength detection signal of the historical moment matching the sending time according to the sending time.

[0065] After the strength detection signal at the historical moment is replaced, the signal strength data at the next moment of the historical moment is updated along with the replaced strength detection signal until the moment when the strength detection signal has been received.

[0066] The receiving device can generate a signal strength waveform based on the signal strength data. The signal strength waveform can be a waveform starting from the moment when the wireless strength detection signal is detected, with time as the horizontal axis and the strength output value as the vertical axis, for analysis by technical personnel.

[0067] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0068] The above is an introduction to the method embodiment. The following is a further explanation of the scheme described in this application through an apparatus embodiment.

[0069] Figure 2 A block diagram of a wireless signal strength detection device according to an embodiment of the present application is shown. The device includes:

[0070] The collection module 201 is used to collect the wireless signal strength value at the current moment in the confined space every first preset time period;

[0071] A matching module 202, configured to match a signal strength range and a strength output value corresponding to the signal strength range according to the wireless signal strength value;

[0072] A judging module 203 is used to judge whether the signal strength output value at the current moment is consistent with the signal strength output value at the previous moment;

[0073] An execution module 204 is used to send a strength detection signal when the signal strength output value at the current moment is inconsistent with the signal strength output value at the previous moment, so that the receiving device updates the signal strength data according to the strength detection signal;

[0074] When the signal strength output value at the current moment is consistent with the signal strength output value at the previous moment, no strength detection signal is sent, and the receiving device updates the signal strength data at the current moment according to the previous strength detection signal.

[0075] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0076] Figure 3 A schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present application is shown.

[0077] like Figure 3 As shown, the electronic device includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage part 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the system 300 are also stored. The CPU 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0078] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage section 308 as needed.

[0079] In particular, according to an embodiment of the present application, the above reference flow chart Figure 1The described process can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a machine-readable medium, and the computer program contains program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 309, and / or installed from the removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, the above-mentioned functions defined in the system of the present application are executed.

[0080] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0081] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of the code, and the aforementioned module, program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0082] The units or modules involved in the embodiments of the present application may be implemented by software or hardware. The units or modules described may also be provided in a processor. For example, they may be described as: a processor including an acquisition module, a matching module, a judgment module, and an execution module. The names of these units or modules do not, in some cases, constitute limitations on the units or modules themselves. For example, the acquisition module may also be described as "a module for collecting the wireless signal strength value at the current moment in the confined space at intervals of a first preset time period".

[0083] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute a wireless signal strength detection method described in the present application.

[0084] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the above features are replaced with (but not limited to) technical features with similar functions applied in the present application.

Claims

1. A wireless signal strength detection method, characterized in that: Applied to transmitting equipment, including: At first preset time intervals, collecting the current wireless signal strength value in the confined space; Matching a signal strength range and a strength output value corresponding to the signal strength range according to the wireless signal strength value; Determine whether the intensity output value at the current moment is consistent with the intensity output value at the previous moment; If not, sending a strength detection signal so that the receiving device updates the signal strength data according to the strength detection signal; If so, no strength detection signal is sent, and the receiving device updates the signal strength data at the current moment according to the last strength detection signal.

2. A wireless signal strength detection method according to claim 1, characterized in that: After sending the strength detection signal, the method further includes: The sending record of the intensity detection signal is stored in a preset storage repository, wherein the intensity detection signal includes an intensity output value and a sending time: After receiving the feedback signal from the receiving device, the strength detection signal corresponding to the feedback signal is analyzed, and the sending record corresponding to the strength detection signal is deleted.

3. A wireless signal strength detection method according to claim 2, characterized in that: Also includes: A compensation signal is sent every second preset time period, wherein the compensation signal includes the intensity detection signal currently stored in the preset storage memory.

4. A wireless signal strength detection method according to claim 1, characterized in that: After deleting the sending records, it also includes: Determining whether a sending record of the strength detection signal is still stored in a preset storage memory; If so, a compensation signal is sent, wherein the compensation signal includes the intensity detection signal currently stored in the preset storage memory.

5. A wireless signal strength detection method, characterized in that: Applicable to receiving equipment, including: When a strength detection signal is received, the signal strength data is updated according to the strength detection signal; the strength detection signal is sent to the receiving device by the transmitting device when the strength output value at the current moment is inconsistent with the strength output value at the previous moment, the strength output value is the output value corresponding to the signal strength range obtained by the transmitting device according to the matching of the wireless signal strength value, and the wireless signal strength value is collected by the transmitting device at the current moment in the confined space every first preset time length; When no strength detection signal is received, the signal strength data is updated according to the last received strength detection signal.

6. A wireless signal strength detection method according to claim 5, characterized in that: Also includes: receiving the compensation signal, and analyzing the sending time of each strength detection signal in the compensation signal; Replace the strength detection signal at the historical moment that matches the sending time based on the sending time.

7. A wireless signal strength detection device, characterized in that: include: A collection module (201), used for collecting the wireless signal strength value at the current moment in the enclosed space at intervals of a first preset time; A matching module (202), configured to match a signal strength range and a strength output value corresponding to the signal strength range according to the wireless signal strength value; A judgment module (203) is used to judge whether the signal strength output value at the current moment is consistent with the signal strength output value at the previous moment; An execution module (204) is used to send a strength detection signal when the signal strength output value at the current moment is inconsistent with the signal strength output value at the previous moment, so that the receiving device updates the signal strength data according to the strength detection signal; When the signal strength output value at the current moment is consistent with the signal strength output value at the previous moment, no strength detection signal is sent, and the receiving device updates the signal strength data at the current moment according to the previous strength detection signal.

8. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the program, the method according to any one of claims 1 to 4 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.