Multi-building indoor positioning method and system based on Internet of Things
Through the multi-building indoor positioning method based on the Internet of Things, the user positioning system information, building layout and environmental data are used, combined with historical information to perform layer-by-layer screening and scene comparison, which solves the problem of low positioning accuracy in multi-building environments. Achieving more efficient indoor positioning.
Patent Information
- Application Number
- CN202410844861.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing indoor positioning technology suffers from low positioning accuracy and high cost in multi-building environments, especially signal instability caused by signal interference sources such as walls, partitions, and metal structures.
Using a multi-building indoor positioning method based on the Internet of Things, by obtaining user positioning system information, building layout maps and environmental data, combined with user historical positioning information and number of steps, layer-by-layer screening and scene comparison are performed to determine the user's specific location and reduce Positioning errors caused by similar scenes improve positioning accuracy and reliability.
It achieves more accurate and reliable indoor positioning in multi-building environments, reduces positioning errors due to signal interference, and improves convenience and energy saving.
Smart Images

Figure CN118695360A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of multi-building indoor positioning based on the Internet of Things, and in particular to a multi-building indoor positioning method and system based on the Internet of Things. Background Art
[0002] Indoor positioning refers to the use of indoor positioning technology as an auxiliary positioning of satellite positioning when satellite positioning cannot be used in indoor environments, solving the problem that satellite signals are weak when reaching the ground and cannot penetrate buildings. The current location of the object is finally located. Positioning provides great convenience for people's daily lives. Users can quickly understand their location based on positioning information. Not only can they quickly reach their destination based on location information, but they can also get help in time based on location information when in danger.
[0003] In the related technologies, positioning through Wi-Fi indoor positioning, Bluetooth indoor positioning and other communication means requires the installation of a large number of devices, which is costly. On the other hand, due to the presence of various signal interference sources indoors, such as walls, partitions, metal structures, etc., these interferences can affect the performance of sensors and devices. If the signal becomes unstable, it will affect the accuracy of indoor positioning, and there is room for improvement.
[0004] To this end, we propose a multi-building indoor positioning method and system based on the Internet of Things to solve the above problems. Summary of the invention
[0005] The object of the present invention is to provide a method and system for indoor positioning of multiple buildings based on the Internet of Things to solve the problems raised in the above background technology.
[0006] In the first aspect, the multi-building indoor positioning method based on the Internet of Things provided by the present application adopts the following technical solutions:
[0007] Obtain user positioning system information, perform preliminary positioning, locate the location of the building where the user is located, and obtain primary positioning data;
[0008] Based on the primary positioning data, a building layout diagram is obtained to obtain layout data; the surrounding environment of the building is obtained to obtain building environment data;
[0009] Acquire the scene around the user according to the building environment data and the layout data, and obtain intermediate positioning data according to the comparison between the scene and the layout;
[0010] Based on the intermediate positioning data, the user's historical positioning information and the number of steps the user takes are obtained, the user's specific location is determined, and the advanced positioning data is obtained;
[0011] According to the advanced positioning data, the user's surrounding environment is acquired to obtain indoor environment data; according to the indoor environment, the floor height is determined to obtain positioning data;
[0012] Based on the positioning data, the positioning information is sent to the user end, user feedback is obtained, and the positioning analysis process is adjusted.
[0013] By adopting the above technical solution, the user's surrounding scenes are screened layer by layer, and similar scene positioning is screened according to the changes in the external environment and the user's deployment, so as to achieve accurate indoor positioning. The occurrence of indoor positioning errors caused by similar scenes is reduced, and the accuracy of indoor positioning of multiple buildings based on the Internet of Things is improved.
[0014] Preferably, the steps of acquiring a building layout diagram based on the primary positioning data to obtain layout data; and acquiring the surrounding environment of the building to obtain building environment data specifically include the following steps:
[0015] Based on the primary positioning data, a 3D scan is performed on the building to form a 3D modeling diagram to obtain the layout data;
[0016] Acquire the surrounding environment of the building according to the layout data to obtain building environment data, wherein the building environment data includes temperature and humidity data, atmospheric pressure data, noise data and light data;
[0017] Based on the noise data, the noise is filtered to obtain the noise of the vehicle flow, thereby obtaining the vehicle flow noise data.
[0018] By adopting the above technical solution, scene comparison is carried out according to the 3D modeling diagram of the building, which is conducive to the subsequent indoor positioning work. The environmental conditions around the building provide a basis for determining the user's positioning height, thereby improving the reliability of indoor positioning of multiple buildings based on the Internet of Things.
[0019] Preferably, the step of acquiring the scene around the user according to the building environment data and the layout data, and obtaining intermediate positioning data according to the comparison between the scene and the layout, further comprises the following steps:
[0020] Scan the scene around the user according to the building environment data, obtain a 3D modeling diagram of the surrounding scene, and obtain preliminary scene data;
[0021] According to the layout data, acquiring the environment when the layout data is scanned to obtain layout environment data;
[0022] Based on the building environment data and the preliminary scene data, comparing the environment when scanning the scene around the user and the scene when performing 3D scanning on the building, adjusting the parameters of the preliminary scene data to obtain scene data;
[0023] According to the scene data and the layout environment data, the scene around the user is compared with the building layout, similar scenes in the building layout are selected, and the intermediate positioning data is obtained according to the scene position.
[0024] By adopting the above technical solution, a 3D scan of the user's location can filter out possible location information that meets the positioning requirements. By adjusting the user's scanning parameters according to the parameters when scanning the 3D modeling diagram of the building, the comparison results can be made more accurate and reliable, thereby improving the accuracy of indoor positioning of multiple buildings based on the Internet of Things.
[0025] Preferably, the step of comparing the scene around the user with the building layout according to the scene data and the layout environment data, selecting similar scenes in the building layout, and obtaining the intermediate positioning data according to the scene position further includes the following steps:
[0026] Setting a similarity threshold between the user's surrounding scene and the building layout to obtain similarity threshold data;
[0027] Based on the similarity threshold data, the scene data and the layout environment data, the scene around the user is compared with the building layout, scenes that reach the similarity threshold are screened, and preliminary scene location data is obtained according to the scene location;
[0028] According to the preliminary scene position data, the number of scene positions reaching a similarity threshold is obtained, and the position information is sorted according to the similarity to obtain the intermediate positioning data.
[0029] Through the above technical solution, some location information can be filtered out according to the scene comparison similarity, while retaining the positioning information with greater possibility, narrowing the scope of positioning information, and further obtaining more accurate positioning data. The accuracy of indoor positioning of multiple buildings based on the Internet of Things is improved.
[0030] Preferably, the step of obtaining the user's historical positioning information and the number of steps based on the intermediate positioning data, determining the user's specific location, and obtaining the advanced positioning data further includes the following steps:
[0031] According to the intermediate positioning data, the user's historical positioning information and positioning time are obtained to obtain historical positioning data;
[0032] Based on the historical positioning data, the user's daily walking speed is obtained, the user's distance range is analyzed according to the historical positioning time, and the distance data is obtained according to the maximum threshold of the distance range;
[0033] According to the distance data and the historical positioning data, a spherical area is formed with the historical positioning as the center and the distance threshold as the radius to obtain positioning area data;
[0034] Based on the positioning area data and the intermediate positioning data, scene positions that are not in the positioning area are screened and removed to obtain the advanced positioning data.
[0035] By adopting the above technical solution, the user's personal habits and historical positioning are used to form the area that the user can reach, excluding the area that the user cannot reach within the time, further reducing the interference of redundant location information, and retaining reasonable location information. Reducing the interference of redundant location information can obtain the user's indoor positioning more quickly, improving the convenience of indoor positioning of multiple buildings based on the Internet of Things.
[0036] Preferably, the step of acquiring the user's surrounding environment according to the advanced positioning data to obtain indoor environment data; and determining the floor height according to the indoor environment to obtain positioning data specifically includes the following steps:
[0037] Based on the advanced positioning data and the preliminary scene data, the user environment is analyzed according to the 3D modeling diagram of the scene around the user to obtain user environment data;
[0038] According to the user environment data, the user's surrounding environment is detected to obtain the indoor environment data, wherein the indoor environment data includes indoor temperature and humidity data, indoor atmospheric pressure data, indoor noise data and indoor light data;
[0039] Based on the user environment data and the indoor environment data, the similarity between the 3D modeling diagram of the user's surrounding scene and the actual detected user's surrounding environment is compared to determine the floor height and obtain environment similarity data;
[0040] According to the environmental similarity data, an environmental similarity threshold is set, scene location information that does not reach the threshold is screened and removed, and the similarities are sorted to obtain the positioning data;
[0041] When there is only one scene position, the positioning analysis is stopped immediately, and the positioning data is obtained with the only scene position.
[0042] By adopting the above technical solution, the user's height can be confirmed according to environmental changes, and the user's vertical position can be obtained, which solves the problem of height positioning for high buildings. At the same time, no matter which positioning link, when there is only one location information after screening, the positioning data can be obtained in time, and no unnecessary screening and analysis will be performed, which improves the energy saving of multi-building indoor positioning based on the Internet of Things.
[0043] Preferably, the step of comparing the similarity between the 3D modeling diagram of the user's surrounding scene and the actual detected user's surrounding environment based on the user environment data and the indoor environment data, determining the floor height, and obtaining the environment similarity data further includes the following steps:
[0044] Based on the user environment data, the light source position and light source brightness of the 3D modeling diagram of the scene around the user are obtained to obtain scene light data;
[0045] According to the scene light data and the indoor light data, filter and remove light source positions and scene positions with different light source brightness to obtain first filter data;
[0046] Based on the indoor temperature and humidity data and the temperature and humidity data, the inverse relationship between the floor height and the temperature, and the direct relationship between the floor height and the humidity are obtained, a correlation curve is drawn with the temperature and humidity as the starting point, and the floor height range corresponding to the indoor temperature and humidity is obtained according to the correlation curve to obtain preliminary floor range data;
[0047] According to the preliminary floor range data, the indoor atmospheric pressure data and the atmospheric pressure data, the specific floor position is determined according to the inverse coefficient between the floor height and the atmospheric pressure to obtain floor data; the scene positions that do not meet the floor range are screened and removed to obtain second screened data;
[0048] Based on the second screening data, the indoor noise data and the noise data, screening the scene positions that do not meet the noise level to obtain third screening data;
[0049] According to the third screening data and the indoor environment data, the comprehensive similarity between the screened scene and the indoor scene is calculated to obtain the environment similarity data.
[0050] By adopting the above technical solution, indoor height positioning is performed based on air pressure and noise, which has double protection. In addition, the height situation is analyzed in real time according to the change of noise, which reduces the interference from the outside world, reduces the error of positioning data, and improves the accuracy of indoor positioning of multiple buildings based on the Internet of Things.
[0051] Preferably, the step of screening scene positions that do not meet the noise level based on the second screening data, the indoor noise data and the noise data to obtain the third screening data further includes the following steps:
[0052] Based on the noise data, the noise is filtered to filter out vehicle noise and obtain vehicle noise data; based on the indoor noise data, the noise is subjected to noise reduction filtering to filter out vehicle noise and human noise and obtain indoor vehicle noise data and human voice data;
[0053] According to the traffic noise data, the vehicle noise data and the indoor vehicle noise data, the inverse coefficient between the floor height and the vehicle noise magnitude is obtained, and the height is calculated according to the indoor vehicle noise to obtain the height data;
[0054] Based on the height data and the floor data, calculating the floor according to the height; and then verifying whether the floor data is correct;
[0055] If it is correct, no change is made; if it is incorrect, the scene position is screened using the preliminary floor range data to obtain the second screening data;
[0056] According to the human voice data and the second screening data, the flow of people is obtained through monitoring video, the noise level of the scenes left after screening is calculated based on the flow of people, the human voice is compared with the calculated noise level, and the scene positions that do not reach the noise similarity threshold are screened and removed to obtain the third screening data.
[0057] By adopting the above technical solution, the height of the user is analyzed based on the inverse relationship between sound volume and distance, that is, the higher the floor, the smaller the car sound. At the same time, with the theory that the flow of people and noise on different floors are different, the user's positioning height is further confirmed, which improves the practicality of indoor positioning in multiple buildings based on the Internet of Things.
[0058] Preferably, the step of sending positioning information to a user terminal based on the positioning data, obtaining user feedback, and adjusting the positioning analysis process further includes the following steps:
[0059] Based on the positioning data, the positioning information with the highest similarity is sent to the user end, and user feedback is obtained to obtain user feedback data;
[0060] According to the user feedback data, if the user feedback indicates that the positioning is wrong, the actual positioning provided by the user is obtained to obtain the actual positioning data;
[0061] Based on the actual positioning data and the positioning data, searching for the link in the positioning analysis process where the actual positioning data appears, and obtaining link data;
[0062] According to the link data, the threshold and screening range in the link screening are adjusted for the next positioning.
[0063] By adopting the above technical solution, the positioning method can be improved and adjusted in time according to the positioning feedback of the user, and the positioning accuracy can be improved. The positioning analysis process can be automatically upgraded through feedback, which improves the intelligence of indoor positioning of multiple buildings based on the Internet of Things.
[0064] In the second aspect, the multi-building indoor positioning system based on the Internet of Things provided by this application adopts the following technical solutions:
[0065] The multi-building indoor positioning system based on the Internet of Things includes a detection module, an analysis module and a communication module. The detection module is used to detect buildings and the user's surrounding environment and collect detection data; the analysis module is connected to the detection module signal, and is used to receive the detection data and output positioning data after analyzing the user's positioning; the communication module is connected to the analysis module signal, and is used to receive the positioning data and transmit it to the user end, and transmit the feedback data collected by the user end to the background end.
[0066] Through the above technical solution, the collected data is analyzed by the electronic module to meet the user's indoor positioning needs, reduce the user's getting lost, thereby reducing the user's time wasted due to inaccurate positioning, and improve the convenience of indoor positioning of multiple buildings based on the Internet of Things.
[0067] In summary, the present application includes at least one of the following beneficial technical effects:
[0068] 1. Screening is performed layer by layer based on the user's surrounding scenes. Similar scene positioning is screened based on changes in the external environment and the user's deployment to achieve accurate indoor positioning. This reduces the occurrence of indoor positioning errors caused by similar scenes and improves the accuracy of indoor positioning in multiple buildings based on the Internet of Things.
[0069] 2. Based on the 3D modeling diagram of the building, scene comparison is carried out, which is conducive to the subsequent indoor positioning work. The environmental conditions around the building provide a basis for determining the user's positioning height, which improves the reliability of indoor positioning of multiple buildings based on the Internet of Things.
[0070] 3. Through the user's personal habits and historical positioning, the user's reachable area is formed, and the area that the user cannot reach within the time is excluded, further reducing the interference of redundant location information and retaining reasonable location information. Reducing the interference of redundant location information can obtain the user's indoor positioning more quickly, and improve the convenience of indoor positioning of multiple buildings based on the Internet of Things. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 It is a schematic diagram of the specific steps of the multi-building indoor positioning method based on the Internet of Things of the present invention;
[0072] Figure 2 2 is a schematic diagram of specific steps of step 2 of the multi-building indoor positioning method based on the Internet of Things of the present invention;
[0073] Figure 3 3 is a schematic diagram of specific steps of step 3 of the multi-building indoor positioning method based on the Internet of Things of the present invention;
[0074] Figure 43 is a schematic diagram of specific steps of step 34 of the multi-building indoor positioning method based on the Internet of Things of the present invention;
[0075] Figure 5 4 is a schematic diagram of specific steps of step 4 of the multi-building indoor positioning method based on the Internet of Things of the present invention;
[0076] Figure 6 Schematic diagram of specific steps of step 5 of the method for indoor positioning of multiple buildings based on the Internet of Things of the present invention;
[0077] Figure 7 5 is a schematic diagram of specific steps of step 53 of the method for indoor positioning of multiple buildings based on the Internet of Things of the present invention;
[0078] Figure 8 5 is a schematic diagram of specific steps of step 535 of the multi-building indoor positioning method based on the Internet of Things of the present invention;
[0079] Fig. 9 It is a schematic diagram of specific steps of step 6 of the multi-building indoor positioning method based on the Internet of Things of the present invention. DETAILED DESCRIPTION
[0080] The following is combined with the embodiments and attached Figure 1-9 The present invention is further described in detail, but the embodiments of the present invention are not limited thereto.
[0081] Example:
[0082] The present invention discloses a method for indoor positioning of multiple buildings based on the Internet of Things. Figure 1 , specifically including the following steps:
[0083] Step S1, obtaining user positioning system information, performing preliminary positioning, locating the location of the building where the user is located, and obtaining primary positioning data.
[0084] Step S2: Based on the primary positioning data, obtain the layout diagram of the building to obtain layout data, obtain the surrounding environment of the building to obtain building environment data.
[0085] Step S3, obtaining the scene around the user based on the building environment data and layout data, and obtaining intermediate positioning data based on the comparison between the scene and the layout.
[0086] Step S4, based on the intermediate positioning data, obtain the user's historical positioning information and the number of steps of the user, determine the specific location of the user, and obtain the advanced positioning data.
[0087] Step S5, obtaining the user's surrounding environment based on the advanced positioning data to obtain indoor environment data, determining the floor height based on the indoor environment to obtain positioning data.
[0088] Step S6: Based on the positioning data, the positioning information is sent to the user end, user feedback is obtained, and the positioning analysis process is adjusted.
[0089] In actual use, indoor positioning often deviates due to the presence of various signal interference sources indoors, such as walls, partitions, metal structures, etc. These interferences can affect the performance of sensors and equipment. Especially when a building has multiple floors, it is difficult to accurately locate the floors of the building. Through scene comparison, according to the distance range of the user and historical positioning, as well as changes in the surrounding environment, the positioning information is screened layer by layer to obtain accurate positioning information and meet the user's indoor positioning needs. For example, there is a Yonghui supermarket around the user, but there is only one Yonghui supermarket on the negative first floor in Building A. Therefore, based on the scene comparison, it can be known that the user is next to the Yonghui supermarket on the negative first floor.
[0090] Reference Figure 2 Based on the primary positioning data, a building layout diagram is obtained to obtain layout data. The steps of obtaining the surrounding environment of the building and obtaining building environment data specifically include the following steps:
[0091] Step S21, based on the primary positioning data, perform 3D scanning on the building to form a 3D modeling diagram and obtain layout data.
[0092] Step S22, acquiring the surrounding environment of the building according to the layout data to obtain building environment data, the building environment data including temperature and humidity data, atmospheric pressure data, noise data and light data.
[0093] Step S23, based on the noise data, filtering the noise to obtain the noise of the vehicle flow, and obtaining the vehicle flow noise data.
[0094] In actual use, a building often has multiple floors and multiple areas. 3D scanning of the building is more conducive to scene comparison and clearer. In addition, the height of the user can be determined according to the environmental conditions. It is necessary to refer to the external environment of the building to obtain more accurate data. For example, in place A, the air pressure at the horizon is 98 kPa, and the air pressure at the 30th floor of the high-rise building is 99 kPa. However, in place B, the air pressure at the horizon has reached 99 kPa, so the air pressure of the 30-story building in place B is not 99 kPa, but 100 kPa. Specific problems should be analyzed specifically, and more accurate positioning can be obtained based on the actual situation of the positioning location.
[0095] Reference Figure 3 ,According to the building environment data and layout data, the scene around the user is obtained, and the intermediate positioning data is obtained by comparing the scene with the layout, and the steps also include the following steps:
[0096] Step S31, based on the building environment data, scan the scene around the user, obtain a 3D modeling diagram of the surrounding scene, and obtain preliminary scene data.
[0097] Step S32, acquiring the environment when the layout data is scanned according to the layout data, and obtaining layout environment data.
[0098] Step S33, based on the building environment data and the preliminary scene data, compare the environment when scanning the scene around the user and the scene when performing 3D scanning on the building, adjust the preliminary scene data parameters, and obtain scene data.
[0099] Step S34, based on the scene data and layout environment data, the scene around the user is compared with the building layout, similar scenes in the building layout are selected, and intermediate positioning data is obtained according to the scene position.
[0100] In actual use, the scene around the user can be scanned and compared with the 3D modeling diagram of the building to quickly select similar scenes and obtain possible positioning information. If there are specific signs, it can even be quickly located. However, because the 3D modeling of the scene around the user and the 3D modeling of the building are not done at the same time, there will be slight deviations in the parameters. Adjusting the parameters is conducive to obtaining more accurate data. For example, the 3D modeling is scanned and photographed during the day, and the white objects reflect more strongly, while the user is positioning at night, and the white objects reflect less. At this time, the brightness needs to be adjusted for comparison, otherwise the scene comparison will reduce the similarity of the same scene.
[0101] Reference Figure 4 , according to the scene data and the layout environment data, the scene around the user is compared with the building layout, similar scenes in the building layout are selected, and the step of obtaining intermediate positioning data according to the scene position also includes the following steps:
[0102] Step S341, setting a similarity threshold for comparing the user's surrounding scene with the building layout to obtain similarity threshold data.
[0103] Step S342, based on the similarity threshold data, scene data and layout environment data, compare the scene around the user with the building layout, filter the scenes that meet the similarity threshold, and obtain preliminary scene location data according to the scene location.
[0104] Step S343, based on the preliminary scene position data, the number of scene positions that reach the similarity threshold is obtained, and the position information is sorted according to the similarity to obtain the intermediate positioning data.
[0105] In actual use, there are similar areas in buildings, such as stairs in escape passages or restrooms in shopping malls. According to the scene around the user, some areas that are not positioning points can be filtered out and removed to narrow the positioning range, so that the positioning situation can be obtained more quickly. For example, a shopping mall has two bakeries, one on the first floor and the other on the fourth floor. According to the scene around the user, it can be determined that the user is next to the bakery. According to the scene screening, it can be determined that the user is either on the first floor or on the fourth floor. Then further screening based on other data can quickly locate the user's location.
[0106] Reference Figure 5 , based on the intermediate positioning data, obtaining the user's historical positioning information and the number of user steps, determining the user's specific location, and obtaining the advanced positioning data, further includes the following steps:
[0107] Step S41, acquiring the user's historical positioning information and positioning time according to the intermediate positioning data, and obtaining the historical positioning data.
[0108] Step S42, based on the historical positioning data, obtain the user's daily walking speed, analyze the user's distance range according to the historical positioning time, and obtain the distance data according to the maximum threshold of the distance range.
[0109] Step S43, based on the distance data and the historical positioning data, a spherical area is formed with the historical positioning as the center and the distance threshold as the radius to obtain positioning area data.
[0110] Step S44, based on the positioning area data and the intermediate positioning data, screen and remove scene locations that are not within the positioning area to obtain advanced positioning data.
[0111] In actual use, users cannot use public transportation inside buildings, so walking becomes the only means of transportation for users. However, due to different personal habits and age, the range of movement within a limited time is also different for each person. Based on the user's historical positioning information and the user's range of movement, areas that the user cannot reach within a limited time can be excluded, thereby meeting the requirements for further screening of positioning information. For example, it is detected that the user is in the stairwell of a residential building. The last positioning was 1 minute ago, and the positioning shows that the user is on the first floor of the residential building. The residential building has a total of 6 floors and no elevator. The user is older and can only go up two floors in a minute. Therefore, stairwells above two floors can be excluded and do not belong to the user's positioning situation.
[0112] Reference Figure 6 According to the advanced positioning data, the user's surrounding environment is obtained to obtain indoor environment data. The steps of determining the floor height according to the indoor environment and obtaining positioning data specifically include the following steps:
[0113] Step S51, based on the advanced positioning data and the preliminary scene data, the user environment is analyzed according to the 3D modeling diagram of the scene around the user to obtain user environment data.
[0114] Step S52, detecting the user's surrounding environment according to the user environment data to obtain indoor environment data, where the indoor environment data includes indoor temperature and humidity data, indoor atmospheric pressure data, indoor noise data, and indoor light data.
[0115] Step S53, based on the user environment data and the indoor environment data, compare the similarity between the 3D modeling diagram of the user's surrounding scene and the actual detected user's surrounding environment, determine the floor height, and obtain environment similarity data.
[0116] Step S54, according to the environmental similarity data, an environmental similarity threshold is set, scene location information that does not reach the threshold is screened and removed, and the similarities are sorted to obtain positioning data.
[0117] Step S55: When there is only one scene position, the positioning analysis is stopped immediately, and the positioning data is obtained with the only scene position.
[0118] In actual use, the height of the floor can also be determined based on the surrounding environment, because the temperature and humidity of different floors will be different. On high floors, the temperature is lower and the humidity is higher. The atmospheric pressure is lower as the altitude increases. Therefore, based on the user's surrounding environment, the user's height can be determined, thereby further determining the user's location. For example, if the temperature on the first floor is 25 degrees Celsius and the temperature on the 30th floor is 24.5 degrees Celsius, then the temperature around the user is detected to be 24.5 degrees, then the similarity between the temperature around the user and the temperature on the 30th floor is 100%, and combined with other environmental conditions, positioning information that does not meet the environmental similarity can be filtered out.
[0119] Reference Figure 7 The step of comparing the similarity between the 3D modeling diagram of the user's surrounding scene and the actual detected user's surrounding environment based on the user's environment data and the indoor environment data, determining the floor height, and obtaining the environment similarity data also includes the following steps:
[0120] Step S531, based on the user environment data, obtain the light source position and light source brightness of the 3D modeling diagram of the scene around the user to obtain scene light data.
[0121] Step S532: Filter and remove light source positions and scene positions with different light source brightness according to the scene light data and the indoor light data to obtain first filtered data.
[0122] Step S533, based on the indoor temperature and humidity data and the temperature and humidity data, obtain the inverse relationship between floor height and temperature, and the direct relationship between floor height and humidity, draw a correlation curve with temperature and humidity as the starting point, obtain the floor height range corresponding to the indoor temperature and humidity according to the correlation curve, and obtain preliminary floor range data.
[0123] Step S534, based on the preliminary floor range data, indoor atmospheric pressure data and atmospheric pressure data, and based on the inverse coefficient between floor height and atmospheric pressure, determine the specific floor position to obtain floor data. Filter and remove scene positions that do not meet the floor range to obtain second filtered data.
[0124] Step S535, based on the second screening data, the indoor noise data and the noise data, the scene positions that do not meet the noise level are screened to obtain third screening data.
[0125] Step S536, calculating the comprehensive similarity between the filtered scene and the indoor scene based on the third filtered data and the indoor environment data to obtain environment similarity data.
[0126] In actual use, temperature, humidity, atmospheric pressure and noise will change with the height of the floor. The similarity of environmental factors can be screened layer by layer. After screening, the comprehensive similarity is calculated to narrow the scope of positioning information. At the same time, the positioning information is sorted to find the most likely positioning information. For example, the similarity of temperature is 90%, the similarity of humidity is 95%, the similarity of atmospheric pressure is 98%, and the similarity of noise is 88%. The comprehensive similarity is (90% + 95% + 98% + 88%) ÷ 4 = 92.75%. The higher the comprehensive similarity, the more likely the positioning information is the user's positioning information. At the same time, the non-compliant positioning information is screened and removed.
[0127] Reference Figure 8 The step of filtering the scene positions that do not meet the noise level based on the second screening data, the indoor noise data and the noise data to obtain the third screening data also includes the following steps:
[0128] Step S5351: based on the noise data, filter the noise to filter out the vehicle noise and obtain the vehicle noise data. Based on the indoor noise data, perform noise reduction filtering on the noise to filter out the vehicle noise and human noise and obtain the indoor vehicle noise data and human voice data.
[0129] Step S5352, based on the traffic noise data, vehicle noise data and indoor vehicle noise data, obtain the inverse coefficient between the floor height and the vehicle noise level, calculate the height based on the indoor vehicle noise, and obtain the height data.
[0130] Step S5353, based on the height data and the floor data, the floor is calculated according to the height, and then the floor data is verified to be correct.
[0131] Step S5354: if correct, no change is made; if incorrect, the scene position is screened using the preliminary floor range data to obtain second screening data.
[0132] Step S5355, based on the human voice data and the second screening data, obtain the flow of people through monitoring video, calculate the noise level of the scenes left after screening based on the flow of people, compare the human voice with the calculated noise level, screen and remove the scene positions that do not reach the noise similarity threshold, and obtain the third screening data.
[0133] In actual use, since transportation cannot be used in buildings, the car noise obtained in the building comes from the first floor, so the higher the floor, the smaller the car noise obtained. As for the noise caused by people, since people can move freely, the noise on each floor is actually determined by the flow of people. The dual calculation of car sounds and human voices is conducive to obtaining more accurate data. For example, the 4th floor of the mall is the dining area. At meal time, the flow of people on the 4th floor is large, and the human voice noise is high, at 60 decibels. The clothing store on the 2nd floor has less flow of people, and the human voice noise is lower, at 40 decibels. The human voice noise around the user is 55 decibels, indicating that the user is closer to the 4th floor.
[0134] Reference Fig. 9 , based on the positioning data, sending positioning information to the user end, obtaining user feedback, and adjusting the positioning analysis process, further comprising the following steps:
[0135] Step S61: Based on the positioning data, the positioning information with the highest similarity is sent to the user terminal to obtain user feedback and obtain user feedback data.
[0136] Step S62: based on the user feedback data, if the user feedback indicates that the positioning is wrong, the actual positioning provided by the user is obtained to obtain the actual positioning data.
[0137] Step S63, based on the actual positioning data and the positioning data, find the link in the positioning analysis process where the actual positioning data appears, and obtain the link data.
[0138] Step S64, according to the link data, adjust the threshold and screening range in the link screening for the next positioning.
[0139] In actual use, indoor positioning may have positioning deviations. The positioning analysis process can be adjusted in time through user feedback. Appropriate adjustment of the threshold in the screening process can improve the accuracy of subsequent indoor positioning. For example, at the beginning, the similarity threshold of atmospheric pressure was set to 90%, and the positioning floor range was 3 to 20 floors. The actual user feedback showed that the positioning was on the 21st floor, so the positioning was deviated. When the similarity threshold of atmospheric pressure was set to 88%, the floor range was 2 to 21 floors, and the user's actual positioning was included. In the next positioning, the atmospheric pressure similarity threshold was adjusted to 88%.
[0140] The multi-building indoor positioning system based on the Internet of Things, by applying the multi-building indoor positioning method based on the Internet of Things as described above, includes a detection module, an analysis module and a communication module, wherein the detection module is used to detect buildings and the user's surrounding environment and collect detection data. The analysis module is connected to the detection module signal, and is used to receive the detection data and output the positioning data after analyzing the user's positioning. The communication module is connected to the analysis module signal, and is used to receive the positioning data and transmit it to the user end, and transmit the feedback data collected by the user end to the background end.
[0141] In actual use, indoor positioning is achieved through electronic modules, which reduces the manual guidance service work and thus reduces the waste of human resources. At the same time, according to the scene screening and comparison, the signal is less affected by indoor interference, making the data more reliable and accurate. Indoor positioning provides great convenience for people's travel and makes positioning technology more accurate.
[0142] The implementation principle of this system is as follows: First, the detection module detects the surrounding environment of the building based on the preliminary positioning obtained by the communication module, that is, the information of the building where the user is located. Environmental detection includes temperature detection, humidity detection, atmospheric pressure detection and noise detection, among which the noise is filtered to obtain the noise caused by traffic flow. Then, the analysis module compares the 3D modeling diagram of the scene around the user detected by the detection module with the 3D modeling diagram of the building, screens the scenes that reach the similarity threshold, and obtains the positioning information of these scenes. Before the comparison, the parameters need to be adjusted to be consistent according to the 3D modeling environment of the two. Then, according to the user's personal walking habits and the user's historical positioning information, the distance range that the user can reach since the last positioning is analyzed, with the last positioning as the center of the sphere and the distance as the radius, forming a sphere range, and excluding the unreachable area. Finally, according to the environmental factors around the user detected by the detection module, the environment around the building is compared and analyzed to determine the user's floor. The positioning information with the highest similarity is transmitted to the user end through the communication module, and the positioning analysis process is adjusted in time when the user end feedbacks positioning errors.
[0143] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A multi-building indoor positioning method based on the Internet of Things, characterized in that: The specific steps include: Obtain user positioning system information, perform preliminary positioning, locate the location of the building where the user is located, and obtain primary positioning data; Based on the primary positioning data, a building layout diagram is obtained to obtain layout data; the surrounding environment of the building is obtained to obtain building environment data; Acquire the scene around the user according to the building environment data and the layout data, and obtain intermediate positioning data according to the comparison between the scene and the layout; Based on the intermediate positioning data, the user's historical positioning information and the number of steps the user takes are obtained, the user's specific location is determined, and the advanced positioning data is obtained; According to the advanced positioning data, the user's surrounding environment is acquired to obtain indoor environment data; according to the indoor environment, the floor height is determined to obtain positioning data; Based on the positioning data, the positioning information is sent to the user end, user feedback is obtained, and the positioning analysis process is adjusted.
2. The method for indoor positioning of multiple buildings based on the Internet of Things according to claim 1 is characterized in that: The steps of acquiring a building layout diagram based on the primary positioning data to obtain layout data and acquiring the surrounding environment of the building to obtain building environment data specifically include the following steps: Based on the primary positioning data, a 3D scan is performed on the building to form a 3D modeling diagram to obtain the layout data; Acquire the surrounding environment of the building according to the layout data to obtain building environment data, wherein the building environment data includes temperature and humidity data, atmospheric pressure data, noise data and light data; Based on the noise data, the noise is filtered to obtain the noise of the vehicle flow, thereby obtaining the vehicle flow noise data.
3. The method for indoor positioning of multiple buildings based on the Internet of Things according to claim 1, characterized in that: The step of acquiring the scene around the user according to the building environment data and the layout data, and obtaining intermediate positioning data according to the comparison between the scene and the layout, further comprises the following steps: Scan the scene around the user according to the building environment data, obtain a 3D modeling diagram of the surrounding scene, and obtain preliminary scene data; According to the layout data, acquiring the environment when the layout data is scanned to obtain layout environment data; Based on the building environment data and the preliminary scene data, comparing the environment when scanning the scene around the user and the scene when performing 3D scanning on the building, adjusting the preliminary scene data parameters to obtain scene data; According to the scene data and the layout environment data, the scene around the user is compared with the building layout, similar scenes in the building layout are selected, and the intermediate positioning data is obtained according to the scene position.
4. The method for indoor positioning of multiple buildings based on the Internet of Things according to claim 3 is characterized in that: The step of comparing the scene around the user with the building layout according to the scene data and the layout environment data, selecting similar scenes in the building layout, and obtaining the intermediate positioning data according to the scene position also includes the following steps: Setting a similarity threshold between the user's surrounding scene and the building layout to obtain similarity threshold data; Based on the similarity threshold data, the scene data and the layout environment data, the scene around the user is compared with the building layout, scenes that reach the similarity threshold are screened, and preliminary scene location data is obtained according to the scene location; According to the preliminary scene position data, the number of scene positions reaching a similarity threshold is obtained, and the position information is sorted according to the similarity to obtain the intermediate positioning data.
5. The method for indoor positioning of multiple buildings based on the Internet of Things according to claim 1, characterized in that: The step of obtaining the user's historical positioning information and the number of steps based on the intermediate positioning data, determining the user's specific location, and obtaining the advanced positioning data further includes the following steps: According to the intermediate positioning data, the user's historical positioning information and positioning time are obtained to obtain historical positioning data; Based on the historical positioning data, the user's daily walking speed is obtained, the user's distance range is analyzed according to the historical positioning time, and the distance data is obtained according to the maximum threshold of the distance range; According to the distance data and the historical positioning data, a spherical area is formed with the historical positioning as the center and the distance threshold as the radius to obtain positioning area data; Based on the positioning area data and the intermediate positioning data, scene positions that are not in the positioning area are screened and removed to obtain the advanced positioning data.
6. The method for indoor positioning of multiple buildings based on the Internet of Things according to claim 1, characterized in that: The step of acquiring the user's surrounding environment according to the advanced positioning data to obtain indoor environment data; and determining the floor height according to the indoor environment to obtain positioning data specifically includes the following steps: Based on the advanced positioning data and the preliminary scene data, the user environment is analyzed according to the 3D modeling diagram of the scene around the user to obtain user environment data; According to the user environment data, the user's surrounding environment is detected to obtain the indoor environment data, wherein the indoor environment data includes indoor temperature and humidity data, indoor atmospheric pressure data, indoor noise data and indoor light data; Based on the user environment data and the indoor environment data, the similarity between the 3D modeling diagram of the user's surrounding scene and the actual detected user's surrounding environment is compared to determine the floor height and obtain environment similarity data; According to the environmental similarity data, an environmental similarity threshold is set, scene location information that does not reach the threshold is screened and removed, and the similarities are sorted to obtain the positioning data; When there is only one scene position, the positioning analysis is stopped immediately, and the positioning data is obtained with the only scene position.
7. The method for indoor positioning of multiple buildings based on the Internet of Things according to claim 6, characterized in that: The step of comparing the similarity between the 3D modeling diagram of the user's surrounding scene and the actual detected user's surrounding environment based on the user environment data and the indoor environment data, determining the floor height, and obtaining the environment similarity data further includes the following steps: Based on the user environment data, the light source position and light source brightness of the 3D modeling diagram of the scene around the user are obtained to obtain scene light data; According to the scene light data and the indoor light data, filter and remove light source positions and scene positions with different light source brightness to obtain first filter data; Based on the indoor temperature and humidity data and the temperature and humidity data, the inverse relationship between the floor height and the temperature, and the direct relationship between the floor height and the humidity are obtained, a correlation curve is drawn with the temperature and humidity as the starting point, and the floor height range corresponding to the indoor temperature and humidity is obtained according to the correlation curve to obtain preliminary floor range data; According to the preliminary floor range data, the indoor atmospheric pressure data and the atmospheric pressure data, the specific floor position is determined according to the inverse coefficient between the floor height and the atmospheric pressure to obtain floor data; the scene positions that do not meet the floor range are screened and removed to obtain second screened data; Based on the second screening data, the indoor noise data and the noise data, screening the scene positions that do not meet the noise level to obtain third screening data; According to the third screening data and the indoor environment data, the comprehensive similarity between the screened scene and the indoor scene is calculated to obtain the environment similarity data.
8. The method for indoor positioning of multiple buildings based on the Internet of Things according to claim 7, characterized in that: The step of filtering scene positions that do not meet the noise level based on the second filtering data, the indoor noise data and the noise data to obtain the third filtering data further includes the following steps: Based on the noise data, the noise is filtered to filter out vehicle noise and obtain vehicle noise data; based on the indoor noise data, the noise is subjected to noise reduction filtering to filter out vehicle noise and human noise and obtain indoor vehicle noise data and human voice data; According to the traffic noise data, the vehicle noise data and the indoor vehicle noise data, the inverse coefficient between the floor height and the vehicle noise magnitude is obtained, and the height is calculated according to the indoor vehicle noise to obtain the height data; Based on the height data and the floor data, calculating the floor according to the height; and then verifying whether the floor data is correct; If it is correct, no change is made; if it is incorrect, the scene position is screened using the preliminary floor range data to obtain the second screening data; According to the human voice data and the second screening data, the flow of people is obtained through monitoring video, the noise level of the scenes left after screening is calculated based on the flow of people, the human voice is compared with the calculated noise level, and the scene positions that do not reach the noise similarity threshold are screened and removed to obtain the third screening data.
9. The method for indoor positioning of multiple buildings based on the Internet of Things according to claim 1, characterized in that: The step of sending positioning information to the user terminal based on the positioning data, obtaining user feedback, and adjusting the positioning analysis process also includes the following steps: Based on the positioning data, the positioning information with the highest similarity is sent to the user end, and user feedback is obtained to obtain user feedback data; According to the user feedback data, if the user feedback indicates that the positioning is wrong, the actual positioning provided by the user is obtained to obtain the actual positioning data; Based on the actual positioning data and the positioning data, searching for the link in the positioning analysis process where the actual positioning data appears, and obtaining link data; According to the link data, the threshold and screening range in the link screening are adjusted for the next positioning.
10. A multi-building indoor positioning system based on the Internet of Things, characterized in that: By applying the multi-building indoor positioning method based on the Internet of Things as described in any one of claims 1-9, it includes a detection module, an analysis module and a communication module, the detection module is used to detect buildings and the user's surrounding environment and collect detection data; the analysis module is connected to the detection module signal, used to receive the detection data and output positioning data after analyzing the user's positioning; the communication module is connected to the analysis module signal, used to receive the positioning data and transmit it to the user end, and transmit the feedback data collected by the user end to the background end.
Citation Information
Cited By
Positioning method and system based on intelligent perception and storage medium
CN119355775A
