Swimming pool personnel positioning method and system based on wireless signal intensity fingerprint spectrum
By deploying signal receiving devices around the pool and acquiring pool status data, wireless signal strength correction values are generated, and the problem of degradation of positioning accuracy caused by the impact of wireless signal propagation in the pool environment is solved, and a higher positioning accuracy is achieved.
Patent Information
- Application Number
- CN202510249643.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-04
- Publication Date
- 2025-05-27
AI Technical Summary
In special environments such as swimming pools, the propagation of wireless signals is affected by a variety of factors, resulting in a decrease in positioning accuracy based on the fingerprint spectrum of wireless signals.
By deploying multiple signal receiving devices around the pool, the signal strength is obtained and a wireless signal strength fingerprint map is generated. At the same time, pool status data are obtained, such as water level height changes, suspended objects size and quantity, and water temperature change factors, to generate pool status impact coefficients. These factors are substituted into the wireless signal strength analysis model, and the wireless signal strength correction value is generated, and the positioning positioning position is corrected according to the correction value.
Taking into account various factors in the swimming pool environment, we will improve the correction accuracy of wireless signal strength, thereby improving the accuracy of pool personnel positioning.
Smart Images

Figure CN120050605A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of wireless positioning, and particularly relates to a method and system for positioning pool personnel based on a wireless signal strength fingerprint map. Background Art
[0002] In wireless positioning technology, the positioning method based on the wireless signal strength (RSSI, Received Signal Strength Indicator) fingerprint map has attracted wide attention due to its low cost and easy deployment; this method pre-collects the wireless signal strength information of each position in a specific area to construct a fingerprint map database. In the positioning stage, the target position is determined by comparing the real-time received signal strength with the records in the database.
[0003] Currently, the positioning technology based on the wireless signal strength fingerprint map has been widely applied in many fields. However, in special environments such as swimming pools, the propagation of wireless signals will be affected by various factors, such as the absorption and scattering of water and various interference factors in the pool, resulting in a decrease in positioning accuracy. Summary of the Invention
[0004] Aiming at the deficiencies of the prior art, the present invention provides a method and system for positioning pool personnel based on a wireless signal strength fingerprint map, which solves the above problems.
[0005] To achieve the above objectives, the present invention is realized through the following technical solutions: A method for positioning pool personnel based on a wireless signal strength fingerprint map includes the following steps:
[0006] Deploy a plurality of signal receiving devices around the pool, obtain the signal strength of the signal receiving devices, and generate a wireless signal strength fingerprint map;
[0007] Obtain the pool state data and generate a pool state influence coefficient; wherein, the pool state data includes the change value of the water level height around the pool, the size of the suspended matter in the pool, the quantity of the suspended matter in the pool, and the number of people in the pool;
[0008] Obtain the pool water temperature change factor, establish a wireless signal strength analysis model, substitute the current wireless signal strength, the pool water temperature change factor, and the pool state influence coefficient into the wireless signal strength analysis model to generate a wireless signal strength correction value; the current wireless signal strength refers to the wireless signal strength obtained according to the wireless signal strength fingerprint map;
[0009] Generate a corrected distance for positioning pool personnel according to the wireless signal strength correction value;
[0010] Judge whether the wireless signal strength correction value is accurate according to the corrected distance for positioning pool personnel;
[0011] If the wireless signal strength correction value is accurate, the positioning position of the pool personnel is corrected according to the corrected distance of the pool personnel positioning.
[0012] Based on the above technical solutions, the present invention also provides the following alternative technical solutions:
[0013] Further technical solution: The obtaining of the pool state data and generating the pool state influence coefficient specifically includes the following steps:
[0014] Obtain the change value of the water level height around the pool and generate the influence coefficient of the change in the water level height around the pool;
[0015] Obtain the size and quantity of the suspended matter in the pool and generate the influence coefficient of the suspended matter in the pool;
[0016] Obtain the number of people in the pool and generate the influence coefficient of the people in the pool;
[0017] Perform weighted processing on the influence coefficient of the change in the water level height around the pool, the influence coefficient of the suspended matter in the pool, and the influence coefficient of the people in the pool to generate the pool state influence coefficient.
[0018] Further technical solution: The specific generation method of the influence coefficient of the change in the water level height around the pool is as follows:
[0019] Obtain the change value of the water level height around the pool, and perform a difference processing on the change value of the water level height around the pool and the warning value of the water level height change to generate the water level height change difference;
[0020] Perform a ratio processing on the water level height change difference and the warning value of the water level height change to generate the influence coefficient of the change in the water level height around the pool;
[0021] Among them, the specific generation method of the influence coefficient of the suspended matter in the pool is as follows:
[0022] Obtain the size of the suspended matter in the pool and compare the size of the suspended matter in the pool with the suspended matter size threshold;
[0023] If the size of the suspended matter is less than or equal to the suspended matter size threshold, mark the suspended matter as a normal suspended matter;
[0024] If the size of the suspended matter is greater than the suspended matter size threshold, mark the suspended matter as an abnormal suspended matter;
[0025] Divide the pool into several sub-regions on average, obtain the number of abnormal suspended matters in each sub-region, and perform an average processing on the number of abnormal suspended matters in all sub-regions to generate the average distribution number of abnormal suspended matters;
[0026] Perform a difference operation on the average distribution quantity of abnormal suspended matter and the warning value of the suspended matter distribution density to generate the difference in the abnormal suspended matter distribution density;
[0027] Perform a ratio operation on the difference in the abnormal suspended matter distribution density and the warning value of the suspended matter distribution density to generate the influence coefficient of the swimming pool suspended matter;
[0028] Among them, the generation method of the influence coefficient of the number of people in the swimming pool is specifically as follows:
[0029] Obtain the number of people in the swimming pool, perform a difference operation on the number of people in the swimming pool and the standard maximum capacity of the swimming pool to generate the difference in the number of people;
[0030] Perform a ratio operation on the difference in the number of people and the standard maximum capacity of the swimming pool to generate the influence coefficient of the number of people in the swimming pool;
[0031] Obtain the number of people in each sub-region of the swimming pool, and compare the number of people in the sub-region of the swimming pool with the threshold value of the number of people in the sub-region; the threshold value of the number of people in the sub-region refers to the ratio of the standard maximum capacity of the swimming pool to the total number of sub-regions of the swimming pool;
[0032] If the number of people in the sub-region of the swimming pool is greater than the threshold value of the number of people in the sub-region, it means that the more the number of people in the sub-region of the swimming pool, the higher the density of people in this sub-region, then mark this sub-region as a sub-region with a high density of people;
[0033] Obtain the number of sub-regions with a high density of people, and perform a ratio operation on the number of sub-regions with a high density of people and the total number of sub-regions of the swimming pool to generate the influence coefficient of the sub-region of the swimming pool density of people;
[0034] Perform a weighted operation on the influence coefficient of the sub-region of the swimming pool density of people and the influence coefficient of the number of people in the swimming pool to generate the influence coefficient of the people in the swimming pool;
[0035] Among them, the generation method of the influence coefficient of the people in the swimming pool specifically includes:
[0036] Through the formula , generate the influence coefficient Kp of the people in the swimming pool;
[0037] In the formula, represents the influence coefficient of the change in the water level height around the swimming pool, represents the influence coefficient of the swimming pool suspended matter, represents the influence coefficient of the people in the swimming pool, and α, β, and γ are all weight ratios.
[0038] Further technical solution: The method for obtaining the swimming pool water temperature change factor, establishing a wireless signal strength analysis model, substituting the current wireless signal strength, the swimming pool water temperature change factor, and the swimming pool state influence coefficient into the wireless signal strength analysis model to generate a wireless signal strength correction value specifically includes the following steps:
[0039] Obtain the current water temperature in the swimming pool to generate a swimming pool water temperature change factor;
[0040] Obtain the current wireless signal strength according to the wireless signal strength fingerprint map;
[0041] Establish a wireless signal strength analysis model, substitute the current wireless signal strength, the swimming pool water temperature change factor, and the swimming pool state influence coefficient into the wireless signal strength analysis model to generate a wireless signal strength correction value;
[0042] Among them, the expression of the wireless signal strength analysis model is:
[0043] ;
[0044] In the expression, represents the wireless signal strength correction value, represents the current wireless signal strength, Kp represents the influence coefficient of the people in the swimming pool, and T represents the swimming pool water temperature change factor.
[0045] Further technical solution: The specific method for obtaining the swimming pool water temperature change factor is as follows:
[0046] Obtain the current swimming pool water temperature, perform a difference processing on the current swimming pool water temperature and the standard water temperature to generate a water temperature difference; the standard water temperature refers to the swimming pool water temperature value when constructing the wireless signal strength fingerprint map;
[0047] Perform a ratio processing on the water temperature difference and the standard water temperature to generate a swimming pool water temperature change factor.
[0048] Further technical solution: Generating a corrected distance for swimming pool personnel positioning based on the wireless signal strength correction value specifically includes:
[0049] Through the formula , generate the corrected distance Lx for swimming pool personnel positioning;
[0050] In the formula, represents the wireless signal strength correction value, represents the conversion coefficient between the signal strength and the positioning distance.
[0051] Further technical solution: Judging whether the wireless signal strength correction value is accurate according to the corrected distance for swimming pool personnel positioning, and the specific judgment method is as follows:
[0052] Compare the corrected distance Lx of the pool personnel positioning with the reasonable correction distance range; the reasonable correction distance range refers to the maximum error when the wireless signal transmitting device and the wireless signal receiving device propagate in the pool.
[0053] If the corrected distance Lx of the pool personnel positioning is within the reasonable correction range, it means that the current corrected distance Lx of the pool personnel positioning is reasonable, then it is determined that the corrected distance Lx of the pool personnel positioning is accurate.
[0054] If the corrected distance Lx of the pool personnel positioning is not within the reasonable correction range, it means that the current corrected distance Lx of the pool personnel positioning is unreasonable, then it is determined that the corrected distance Lx of the pool personnel positioning is inaccurate.
[0055] A pool personnel positioning system based on wireless signal strength fingerprint map, which is used to execute the above method, including:
[0056] A wireless signal strength fingerprint map setting module, which is used to deploy multiple signal receiving devices around the pool, obtain the signal strength of the signal receiving devices, and generate a wireless signal strength fingerprint map.
[0057] A pool status evaluation unit, which is used to obtain pool status data and generate a pool status influence coefficient; wherein, the pool status data includes the change value of the water level height around the pool, the size of the suspended matter in the pool, the quantity of the suspended matter in the pool, and the number of people in the pool.
[0058] A wireless signal strength correction unit, which is used to obtain the pool water temperature change factor, establish a wireless signal strength analysis model, substitute the current wireless signal strength, the pool water temperature change factor, and the pool status influence coefficient into the wireless signal strength analysis model, and generate a wireless signal strength correction value; the current wireless signal strength refers to the wireless signal strength obtained according to the wireless signal strength fingerprint map.
[0059] A positioning distance correction module, which is used to generate the corrected distance of the pool personnel positioning according to the wireless signal strength correction value.
[0060] A corrected distance judgment module, which is used to judge whether the wireless signal strength correction value is accurate according to the corrected distance of the pool personnel positioning.
[0061] A positioning position adjustment module, if the wireless signal strength correction value is accurate, the positioning position adjustment module is used to correct the positioning position of the pool personnel according to the corrected distance of the pool personnel positioning.
[0062] Further technical solution: The pool status evaluation unit specifically includes:
[0063] A water level change influence coefficient generation module for the pool perimeter, which is used to obtain the water level change value of the pool perimeter and generate a water level change influence coefficient for the pool perimeter;
[0064] A suspended matter influence coefficient generation module for the pool, which is used to obtain the size and quantity of suspended matter in the pool and generate a suspended matter influence coefficient for the pool;
[0065] A person influence coefficient generation module for the pool, which is used to obtain the number of people in the pool and generate a person influence coefficient for the pool;
[0066] A pool state influence coefficient generation module, which is used to perform weighted processing on the water level change influence coefficient for the pool perimeter, the suspended matter influence coefficient for the pool, and the person influence coefficient for the pool to generate a pool state influence coefficient.
[0067] Further technical solution: The wireless signal strength correction unit specifically includes:
[0068] A pool water temperature change factor generation module, which is used to obtain the current water temperature in the pool and generate a pool water temperature change factor;
[0069] A current wireless signal strength acquisition module, which is used to obtain the current wireless signal strength according to the wireless signal strength fingerprint map;
[0070] A wireless signal strength correction value, which is used to establish a wireless signal strength analysis model, substitute the current wireless signal strength, the pool water temperature change factor, and the pool state influence coefficient into the wireless signal strength analysis model to generate a wireless signal strength correction value.
[0071] The present invention provides a method and system for positioning pool personnel based on a wireless signal strength fingerprint map, and has the following beneficial effects compared with the prior art:
[0072] The present invention can comprehensively consider the water level change, suspended matter size, pool water temperature change, and the number of people in the pool of the pool, generate a correction value of the wireless signal strength, then judge the rationality of the correction value, and reasonably correct the wireless signal strength, thereby improving the positioning accuracy. Description of the Drawings
[0073] Figure 1 It is a flow block diagram of a method for positioning pool personnel based on a wireless signal strength fingerprint map provided by an embodiment of the present invention.
[0074] Figure 2 It is a flow block diagram of step S20 provided by an embodiment of the present invention.
[0075] Figure 3 It is a flow block diagram of step S30 provided by an embodiment of the present invention.
[0076] Figure 4 It is the flowchart of step S50 provided by the embodiment of the present invention.
[0077] Figure 5 It is the module block diagram of a pool personnel positioning based on wireless signal strength fingerprint map provided by the embodiment of the present invention.
[0078] Figure 6 It is the module block diagram of the pool state evaluation unit provided by the embodiment of the present invention.
[0079] Figure 7 It is the module block diagram of the wireless signal strength correction unit provided by the embodiment of the present invention. Specific embodiments
[0080] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0081] The following describes the specific implementation of the present invention in detail with reference to specific embodiments.
[0082] As Figure 1 shown, a pool personnel positioning method based on wireless signal strength fingerprint map provided by the embodiment of the present invention includes the following steps:
[0083] Step S10: Deploy a plurality of signal receiving devices around the pool, obtain the signal strength of the signal receiving devices, and generate a wireless signal strength fingerprint map;
[0084] Step S20: Obtain pool state data and generate a pool state influence coefficient; wherein, the pool state data includes the change value of the water level height around the pool, the size of the pool suspended matter, the number of pool suspended matters, and the number of people in the pool;
[0085] Step S30: Obtain the pool water temperature change factor, establish a wireless signal strength analysis model, substitute the current wireless signal strength, the pool water temperature change factor, and the pool state influence coefficient into the wireless signal strength analysis model, and generate a wireless signal strength correction value; the current wireless signal strength refers to the wireless signal strength obtained according to the wireless signal strength fingerprint map;
[0086] Step S40: Generate a corrected distance for pool personnel positioning according to the wireless signal strength correction value;
[0087] Step S50: Determine whether the wireless signal strength correction value is accurate according to the corrected distance for pool personnel positioning;
[0088] Step S60: If the wireless signal strength correction value is accurate, correct the positioning position of the pool personnel according to the corrected distance of the pool personnel positioning.
[0089] As Figure 2 shown, as a preferred embodiment of the present invention, the step S20 specifically includes the following steps:
[0090] Step S21: Obtain the change value of the water level height around the pool and generate an influence coefficient of the change in the water level height around the pool;
[0091] Step S22: Obtain the size and quantity of the suspended matter in the pool and generate an influence coefficient of the suspended matter in the pool;
[0092] Step S23: Obtain the number of people in the pool and generate an influence coefficient of the people in the pool;
[0093] Step S24: Perform weighted processing on the influence coefficient of the change in the water level height around the pool, the influence coefficient of the suspended matter in the pool, and the influence coefficient of the people in the pool to generate an influence coefficient of the pool state.
[0094] As a preferred embodiment of the present invention, the generation method of the influence coefficient of the change in the water level height around the pool is specifically as follows:
[0095] Obtain the change value of the water level height around the pool, perform a difference processing on the obtained change value of the water level height around the pool and the warning value of the water level height change to generate a difference value of the water level height change;
[0096] Perform a ratio processing on the difference value of the water level height change and the warning value of the water level height change to generate an influence coefficient of the change in the water level height around the pool;
[0097] It should be explained that the warning value of the water level height change refers to the maximum value of the change in the water level height around the pool in a stable state of the pool; for example, in a stable state, the change in the water level height around the pool should not be greater than X units (the unit includes but is not limited to millimeters, centimeters, etc.), and this X unit is the warning value of the water level height change; in addition, the change value of the water level around the pool can reflect the stable state of the pool, and the greater the change value of the water level around the pool, the less stable the pool state;
[0098] Among them, the generation method of the influence coefficient of the suspended matter in the pool is specifically as follows:
[0099] Obtain the size of the suspended matter in the pool and compare the size of the suspended matter in the pool with the threshold value of the suspended matter size;
[0100] If the size of the suspended matter is less than or equal to the threshold value of the suspended matter size, mark the suspended matter as a normal suspended matter;
[0101] If the size of the suspended matter is greater than the suspended matter size threshold, mark the suspended matter as abnormal suspended matter;
[0102] Evenly divide the swimming pool into several sub-regions, obtain the number of abnormal suspended matters in each sub-region, and perform an averaging process on the number of abnormal suspended matters in all sub-regions to generate the average distribution number of abnormal suspended matters;
[0103] Perform a difference process on the average distribution number of abnormal suspended matters and the warning value of the suspended matter distribution density to generate the difference in the suspended matter distribution density;
[0104] Perform a ratio process on the difference in the suspended matter distribution density and the warning value of the suspended matter distribution density to generate the influence coefficient of the suspended matter in the swimming pool;
[0105] It should be noted that if there are too many large-particle suspended matters (i.e., too large in size) and the distribution density is too high in the swimming pool, it will affect the strength of the wireless signal; in addition, when the size of the particulate matter reaches a certain level (such as micron level or larger), they may have a significant scattering and absorption effect on the wireless signal, and this level is the suspended matter size threshold, and its specific value is set by relevant personnel in this field;
[0106] Among them, the specific generation method of the influence coefficient of the number of people in the swimming pool is as follows:
[0107] Obtain the number of people in the swimming pool, perform a difference process on the number of people in the swimming pool and the standard maximum capacity of the swimming pool to generate the difference in the number of people;
[0108] Perform a ratio process on the difference in the number of people and the standard maximum capacity of the swimming pool to generate the influence coefficient of the number of people in the swimming pool;
[0109] Furthermore, obtain the number of people in each sub-region of the swimming pool, and compare the number of people in the sub-region of the swimming pool with the sub-region personnel number threshold; the sub-region personnel number threshold refers to the ratio of the standard maximum capacity of the swimming pool to the total number of sub-regions of the swimming pool;
[0110] If the number of people in the sub-region of the swimming pool is less than or equal to the sub-region personnel number threshold, it means that the fewer the number of people in the sub-region of the swimming pool, the lower the personnel density in this sub-region, then mark this sub-region as a sub-region with low personnel density;
[0111] If the number of people in the sub-region of the swimming pool is greater than the sub-region personnel number threshold, it means that the more the number of people in the sub-region of the swimming pool, the higher the personnel density in this sub-region, then mark this sub-region as a sub-region with high personnel density;
[0112] Obtain the number of sub - regions with high population density, and process the ratio of the number of sub - regions with high population density to the total number of sub - regions in the pool to generate the influence coefficient of the sub - regions of the pool population density;
[0113] The influence coefficient of the sub - regions of the pool population density represents the influence of the population density in a certain area of the pool on the wireless signal strength in the water. For example, when people in the pool know each other or are having a conversation, etc., it will cause the people in a certain area of the pool to be more concentrated. Thus, even when the total number of people in the pool does not reach the maximum standard capacity of the pool, it will also affect the strength of the wireless signal in the water;
[0114] Perform weighted processing on the influence coefficient of the sub - regions of the pool population density and the influence coefficient of the number of people in the pool to generate the influence coefficient of the people in the pool;
[0115] Exemplarily, through the formula , generate the influence coefficient of the people in the pool ;
[0116] In the formula, represents the influence coefficient of the sub - regions of the pool population density, represents the influence coefficient of the number of people in the pool, and a1 and a2 are both proportionality coefficients, and a1 + a2 = 1;
[0117] It should be explained that the human body is a relatively strong absorber of electromagnetic waves. When the number of people in the pool increases, their bodies will block and absorb some wireless signals, resulting in a decrease in signal strength. Especially in crowded areas, this blocking effect will be more obvious;
[0118] Among them, the specific generation method of the influence coefficient of the people in the pool specifically includes:
[0119] Through the formula , generate the influence coefficient Kp of the people in the pool;
[0120] In the formula, represents the influence coefficient of the change in the water level height around the pool, represents the influence coefficient of the suspended matter in the pool, represents the influence coefficient of the people in the pool, and α, β, and γ are all weight ratios.
[0121] As Figure 3 shown, as a preferred embodiment of the present invention, the step S30 specifically includes the following steps:
[0122] Step S31: Obtain the water temperature in the current pool and generate the water temperature change factor of the pool;
[0123] Step S32: Obtain the current wireless signal strength according to the wireless signal strength fingerprint map;
[0124] Step S33: Establish a wireless signal strength analysis model, substitute the current wireless signal strength, the swimming pool water temperature change factor, and the swimming pool state influence coefficient into the wireless signal strength analysis model to generate a wireless signal strength correction value;
[0125] Among them, the expression of the wireless signal strength analysis model is:
[0126] ;
[0127] In the expression, represents the wireless signal strength correction value, represents the current wireless signal strength, Kp represents the influence coefficient of the people in the swimming pool, and T represents the swimming pool water temperature change factor.
[0128] As a preferred embodiment of the present invention, the acquisition method of the swimming pool water temperature change factor is specifically:
[0129] Obtain the current swimming pool water temperature, perform a difference processing on the current swimming pool water temperature and the standard water temperature to generate a water temperature difference; the standard water temperature refers to the swimming pool water temperature value when the wireless signal strength fingerprint map is constructed;
[0130] Perform a ratio processing on the water temperature difference and the standard water temperature to generate a swimming pool water temperature change factor;
[0131] It should be explained that the change in water temperature will affect the transmission of wireless signals; for example, a higher water temperature may cause the vibration of water molecules to intensify, thereby increasing the absorption of wireless signals. The principle is that water molecules will interact with wireless signals (electromagnetic waves) during the vibration process, resulting in the loss of signal energy and thus reducing the signal strength.
[0132] As a preferred embodiment of the present invention, the step S40 specifically includes:
[0133] Through the formula , generate the corrected distance Lx for the positioning of the people in the swimming pool;
[0134] In the formula, represents the wireless signal strength correction value, represents the conversion coefficient between the signal strength and the positioning distance;
[0135] It should be explained that the conversion coefficient It is obtained according to the positioning method in the wireless signal strength fingerprint map. For example, when the signal strength in the wireless signal strength fingerprint map increases by x units (the unit of signal strength, such as dBm), the positioning distance will be adjusted by n units (the unit of distance, such as centimeters). At this time, the conversion coefficient is n / x.
[0136] In addition, the unit of the wireless signal strength correction value and the unit of the conversion coefficient between the signal strength and the positioning distance are reasonably set according to the basic mathematical conversion principle, which will not be elaborated here.
[0137] As Figure 4 shown, as a preferred embodiment of the present invention, the judgment method of step S50 is specifically as follows:
[0138] Compare the corrected distance Lx of the pool personnel positioning with the reasonable correction distance range. The reasonable correction distance range refers to the maximum error when the wireless signal transmitting device and the wireless signal receiving device propagate in the pool;
[0139] If the corrected distance Lx of the pool personnel positioning is within the reasonable correction range, it means that the current corrected distance Lx of the pool personnel positioning is reasonable, and it is determined that the corrected distance Lx of the pool personnel positioning is accurate;
[0140] If the corrected distance Lx of the pool personnel positioning is not within the reasonable correction range, it means that the current corrected distance Lx of the pool personnel positioning is unreasonable, and it is determined that the corrected distance Lx of the pool personnel positioning is inaccurate. When it is determined that the corrected distance Lx of the pool personnel positioning is inaccurate, it is necessary to perform re-correction (repeat steps S20 to S50), and it may be necessary to repair its related equipment;
[0141] It should be explained that the reasonable correction distance range is to exclude unreasonable situations of the corrected distance Lx of the pool personnel positioning. For example, the correction distance exceeds the maximum error when the wireless signal transmitting device and the wireless signal receiving device propagate in the pool or exceeds half of the pool size or more. In this case, it is obvious that there is a program calculation error or data acquisition error, and the relevant devices (such as the wireless signal transmitting device, the wireless signal receiving device, the sensor for acquiring data, etc.) should be checked at this time.
[0142] As a preferred embodiment of the present invention, step S60 specifically includes;
[0143] If the wireless signal strength correction value is accurate, the positioning position of the pool personnel is corrected according to the corrected distance of the pool personnel positioning;
[0144] In this embodiment, when correcting the positioning position of the pool personnel, the adjustment direction is the same as the direction of the current wireless signal transmitter; for example, if the wireless signal strength correction value is accurate, the correction direction is on the straight line formed by the current wireless signal transmitter and the current positioning position of the pool personnel.
[0145] As Figure 5 shown, the present invention also provides a pool personnel positioning system based on a wireless signal strength fingerprint map, and the system includes:
[0146] A wireless signal strength fingerprint map setting module, configured to deploy a plurality of signal receiving devices around the pool, obtain the signal strength of the signal receiving devices, and generate a wireless signal strength fingerprint map;
[0147] A pool state evaluation unit, configured to obtain pool state data and generate a pool state influence coefficient; wherein, the pool state data includes the change value of the water level height around the pool, the size of the suspended matter in the pool, the number of suspended matter in the pool, and the number of people in the pool;
[0148] A wireless signal strength correction unit, configured to obtain a pool water temperature change factor, establish a wireless signal strength analysis model, substitute the current wireless signal strength, the pool water temperature change factor, and the pool state influence coefficient into the wireless signal strength analysis model, and generate a wireless signal strength correction value; the current wireless signal strength refers to the wireless signal strength obtained according to the wireless signal strength fingerprint map;
[0149] A positioning distance correction module, configured to generate a correction distance for the positioning of the pool personnel according to the wireless signal strength correction value;
[0150] A correction distance judgment module, configured to judge whether the wireless signal strength correction value is accurate according to the correction distance for the positioning of the pool personnel;
[0151] A positioning position adjustment module, if the wireless signal strength correction value is accurate, the positioning position adjustment module is configured to correct the positioning position of the pool personnel according to the correction distance for the positioning of the pool personnel.
[0152] As Figure 6 shown, as a preferred embodiment of the present invention, the pool state evaluation unit specifically includes:
[0153] A pool perimeter water level height change influence coefficient generation module, configured to obtain the change value of the water level height around the pool and generate a pool perimeter water level height change influence coefficient;
[0154] A pool suspended matter influence coefficient generation module, configured to obtain the size and number of suspended matter in the pool and generate a pool suspended matter influence coefficient;
[0155] A personnel influence coefficient generation module in the pool, which is used to obtain the number of people in the pool and generate a personnel influence coefficient in the pool;
[0156] A pool state influence coefficient generation module, which is used to perform weighted processing on the influence coefficient of the water level change around the pool, the influence coefficient of suspended matter in the pool, and the influence coefficient of people in the pool to generate a pool state influence coefficient.
[0157] As Figure 7 shown, as a preferred embodiment of the present invention, the wireless signal strength correction unit specifically includes:
[0158] A pool water temperature change factor generation module, which is used to obtain the current water temperature in the pool and generate a pool water temperature change factor;
[0159] A current wireless signal strength acquisition module, which is used to obtain the current wireless signal strength according to the wireless signal strength fingerprint map;
[0160] A wireless signal strength correction value, which is used to establish a wireless signal strength analysis model, substitute the current wireless signal strength, the pool water temperature change factor, and the pool state influence coefficient into the wireless signal strength analysis model to generate a wireless signal strength correction value.
[0161] Although the embodiments of the present invention have been shown and described, for those of ordinary skill in the art, it can be understood that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for locating people in a swimming pool based on a wireless signal strength fingerprint map, characterized in that: The following steps are involved: Deploy multiple signal receiving devices around the swimming pool, obtain the signal strength of the signal receiving devices, and generate a wireless signal strength fingerprint map; Obtaining swimming pool status data and generating a swimming pool status influence coefficient; wherein the swimming pool status data includes a change in water level height around the swimming pool, a size of suspended matter in the swimming pool, a quantity of suspended matter in the swimming pool, and a quantity of people in the swimming pool; Obtain the swimming pool water temperature change factor, establish a wireless signal strength analysis model, substitute the current wireless signal strength, swimming pool water temperature change factor and swimming pool state influence coefficient into the wireless signal strength analysis model, and generate a wireless signal strength correction value; the current wireless signal strength refers to the wireless signal strength obtained according to the wireless signal strength fingerprint map; Generate a corrected distance for locating people in the swimming pool based on the corrected value of the wireless signal strength; According to the corrected distance of the pool personnel's positioning, determine whether the corrected value of the wireless signal strength is accurate; If the wireless signal strength correction value is accurate, the positioning position of the swimming pool personnel is corrected according to the correction distance of the swimming pool personnel positioning.
2. A method for locating people in a swimming pool based on a wireless signal strength fingerprint map according to claim 1, characterized in that: The step of obtaining the swimming pool status data and generating the swimming pool status influence coefficient specifically includes the following steps: Obtain the water level change value around the swimming pool and generate the water level change influence coefficient around the swimming pool; Obtain the size and quantity of suspended matter in the swimming pool, and generate the influence coefficient of suspended matter in the swimming pool; Get the number of people in the swimming pool and generate the influence coefficient of people in the swimming pool; The influence coefficient of the water level change around the swimming pool, the influence coefficient of the suspended matter in the swimming pool and the influence coefficient of the people in the swimming pool are weighted to generate the influence coefficient of the swimming pool status.
3. A method for locating people in a swimming pool based on a wireless signal strength fingerprint map according to claim 2, characterized in that: The generation method of the influence coefficient of the water level change around the swimming pool is specifically as follows: Obtain the water level change value around the swimming pool, perform difference processing on the water level change value around the swimming pool and the water level change warning value, and generate the water level change difference value; The water level height change difference is processed by ratio with the water level height change warning value to generate the influence coefficient of the water level height change around the swimming pool; The method for generating the influence coefficient of the suspended matter in the swimming pool is specifically as follows: obtaining a suspended matter size of the swimming pool, and comparing the suspended matter size of the swimming pool with a suspended matter size threshold; If the suspended matter size is less than or equal to the suspended matter size threshold, the suspended matter is marked as normal suspended matter; If the suspended matter size is larger than the suspended matter size threshold, the suspended matter is marked as abnormal suspended matter; Divide the swimming pool into several sub-areas evenly, obtain the number of abnormal suspended matter in each sub-area, average the number of abnormal suspended matter in all sub-areas, and generate the average distribution number of abnormal suspended matter; Perform difference processing on the average distribution quantity of abnormal suspended matter and the warning value of suspended matter distribution density to generate the difference of abnormal suspended matter distribution density; The difference in the density of abnormal suspended matter distribution is compared with the warning value of the density of suspended matter distribution to generate the influence coefficient of suspended matter in the swimming pool; The method for generating the coefficient of influence of the number of people in the swimming pool is specifically as follows: Obtain the number of people in the swimming pool, perform subtraction processing on the number of people in the swimming pool and the maximum number of people that the swimming pool can accommodate, and generate the difference in the number of people; The difference in the number of people is compared with the standard maximum number of people that can be accommodated in the swimming pool to generate the coefficient of influence of the number of people in the swimming pool; Obtain the number of people in each sub-area of the swimming pool, and compare the number of people in the sub-area of the swimming pool with the threshold number of people in the sub-area; the threshold number of people in the sub-area refers to the ratio of the maximum number of people that can be accommodated by the standard swimming pool to the total number of sub-areas of the swimming pool; If the number of people in the swimming pool sub-area is greater than the sub-area population threshold, it means that the more people there are in the swimming pool sub-area, the higher the population density of the sub-area, and the sub-area is marked as a sub-area with high population density; The number of sub-areas with high population density is obtained, and the number of sub-areas with high population density is ratioed to the total number of sub-areas of the swimming pool to generate the influence coefficient of the sub-areas with high population density of the swimming pool; The influence coefficient of the sub-area of the density of people in the swimming pool and the influence coefficient of the number of people in the swimming pool are weighted to generate the influence coefficient of people in the swimming pool; The method for generating the influence coefficient of people in the swimming pool specifically includes: By formula , generate the influence coefficient Kp of people in the swimming pool; In the formula, It represents the influence coefficient of the change of water level around the swimming pool. It represents the influence coefficient of suspended matter in the swimming pool. It represents the influence coefficient of people in the swimming pool, and α, β, and γ are all weight proportions.
4. A method for locating people in a swimming pool based on wireless signal strength fingerprint map according to claim 1, characterized in that: The step of obtaining the swimming pool water temperature variation factor, establishing a wireless signal strength analysis model, substituting the current wireless signal strength, the swimming pool water temperature variation factor and the swimming pool state influence coefficient into the wireless signal strength analysis model, and generating a wireless signal strength correction value specifically includes the following steps: Get the current water temperature in the swimming pool and generate the swimming pool water temperature change factor; Obtain the current wireless signal strength according to the wireless signal strength fingerprint map; Establish a wireless signal strength analysis model, substitute the current wireless signal strength, swimming pool water temperature change factor and swimming pool state influence coefficient into the wireless signal strength analysis model, and generate a wireless signal strength correction value; The expression of the wireless signal strength analysis model is: ; In the expression, It indicates the corrected value of wireless signal strength. It represents the current wireless signal strength, Kp represents the influence coefficient of people in the swimming pool, and T represents the swimming pool water temperature change factor.
5. A method for locating people in a swimming pool based on wireless signal strength fingerprint map according to claim 4, characterized in that: The method for obtaining the swimming pool water temperature change factor is specifically as follows: Get the current swimming pool water temperature, perform difference processing between the current swimming pool water temperature and the standard water temperature, and generate the water temperature difference; the standard water temperature refers to the swimming pool water temperature value when constructing the wireless signal strength fingerprint map; Ratio the water temperature difference to the standard water temperature to generate the swimming pool water temperature change factor.
6. A method for locating people in a swimming pool based on wireless signal strength fingerprint map according to claim 4, characterized in that: Generating a corrected distance for positioning a person in the swimming pool according to the corrected value of the wireless signal strength specifically includes: By formula , generate the corrected distance Lx for the pool personnel positioning; In the formula, It indicates the corrected value of wireless signal strength. It represents the conversion coefficient between signal strength and positioning distance.
7. A method for locating people in a swimming pool based on wireless signal strength fingerprint map according to claim 6, characterized in that: The method of judging whether the correction value of the wireless signal strength is accurate according to the correction distance of the swimming pool personnel positioning is as follows: Compare the corrected distance Lx of the pool personnel positioning with the reasonable corrected distance range; the reasonable corrected distance range refers to the maximum error between the wireless signal transmitting device and the wireless signal receiving device when propagating in the swimming pool; If the corrected distance Lx of the pool personnel positioning is within the reasonable correction range, it means that the corrected distance Lx of the current pool personnel positioning is reasonable, and the corrected distance Lx of the pool personnel positioning is determined to be accurate; If the corrected distance Lx of the swimming pool personnel positioning is not within a reasonable correction range, it means that the current corrected distance Lx of the swimming pool personnel positioning is unreasonable, and it is determined that the corrected distance Lx of the swimming pool personnel positioning is inaccurate.
8. A swimming pool personnel positioning system based on wireless signal strength fingerprint map, characterized in that: The system is used to execute the method described in any one of claims 1 to 7, and the system comprises: A wireless signal strength fingerprint map setting module is used to deploy multiple signal receiving devices around the swimming pool, obtain the signal strength of the signal receiving devices, and generate a wireless signal strength fingerprint map; A swimming pool status evaluation unit, used to obtain swimming pool status data and generate a swimming pool status influence coefficient; wherein the swimming pool status data includes a water level change value around the swimming pool, a size of swimming pool suspended matter, a number of swimming pool suspended matter, and a number of people in the swimming pool; The wireless signal strength correction unit is used to obtain the swimming pool water temperature change factor, establish a wireless signal strength analysis model, substitute the current wireless signal strength, the swimming pool water temperature change factor and the swimming pool state influence coefficient into the wireless signal strength analysis model, and generate a wireless signal strength correction value; the current wireless signal strength refers to the wireless signal strength obtained according to the wireless signal strength fingerprint map; A positioning distance correction module is used to generate a corrected distance for positioning the swimming pool personnel according to the wireless signal strength correction value; The correction distance judgment module is used to judge whether the correction value of the wireless signal strength is accurate according to the correction distance of the swimming pool personnel; The positioning position adjustment module is used to correct the positioning position of the swimming pool personnel according to the correction distance of the swimming pool personnel positioning if the wireless signal strength correction value is accurate.
9. A swimming pool personnel positioning system based on wireless signal strength fingerprint map according to claim 8, characterized in that: The swimming pool status assessment unit specifically includes: A module for generating an influence coefficient of water level change around a swimming pool, which is used to obtain a change value of water level around a swimming pool and generate an influence coefficient of water level change around a swimming pool; A swimming pool suspended matter influence coefficient generation module is used to obtain the swimming pool suspended matter size and the swimming pool suspended matter quantity, and generate the swimming pool suspended matter influence coefficient; A module for generating the influence coefficient of people in the swimming pool is used to obtain the number of people in the swimming pool and generate the influence coefficient of people in the swimming pool; The swimming pool state influence coefficient generation module is used to perform weighted processing on the influence coefficient of the water level change around the swimming pool, the influence coefficient of the swimming pool suspended matter and the influence coefficient of the people in the swimming pool to generate the swimming pool state influence coefficient.
10. A swimming pool personnel positioning system based on wireless signal strength fingerprint map according to claim 8, characterized in that: The wireless signal strength correction unit specifically includes: The swimming pool water temperature change factor generation module is used to obtain the current water temperature in the swimming pool and generate the swimming pool water temperature change factor; A current wireless signal strength acquisition module is used to obtain the current wireless signal strength according to the wireless signal strength fingerprint map; The wireless signal strength correction value is used to establish a wireless signal strength analysis model. The current wireless signal strength, swimming pool water temperature change factor and swimming pool state influence coefficient are substituted into the wireless signal strength analysis model to generate a wireless signal strength correction value.