Indoor positioning method and device, electronic equipment and computer readable medium
By combining GNSS signals and Bluetooth signals and step counting sensor data, high-precision positioning of user equipment in indoor environments is achieved, solving the problem of low accuracy of traditional GNSS positioning in indoor environments.
Patent Information
- Application Number
- CN202411186973.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2025-02-14
AI Technical Summary
In indoor spaces with dense people and complex spatial structures, traditional GNSS-based positioning and navigation methods are difficult to achieve high-precision positioning, and are subject to frequent interference from walls, ground, people, etc.
By combining the GNSS signal and Bluetooth signal of the global satellite navigation system, the current position of the user equipment is determined; the step count data of the step count sensor is used to estimate the position change; based on the current position and position change, the next moment position of the user equipment is predicted.
It improves the accuracy of indoor positioning, reduces the impact of GNSS signal interference, and can achieve more accurate positioning in complex indoor environments.
Smart Images

Figure CN119439213A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of positioning and navigation technology, and in particular to a method, device, electronic device and computer-readable medium for indoor positioning. Background Art
[0002] The Global Navigation Satellite System (GNSS) is an airborne radio navigation and positioning system that can provide users with all-weather three-dimensional coordinates, speed, and time information at any location on the Earth's surface or near-Earth space. Using the GNSS observation data of smart terminals, high-precision positioning can be achieved in outdoor environments.
[0003] However, for indoor spaces with dense crowds and complex spatial structures, traditional positioning and navigation methods are difficult to meet users' positioning and navigation needs. For example, in transportation hubs such as subway stations and railway stations, the positioning accuracy of GNSS-based positioning and navigation is low because GNSS signals are easily interfered by walls, ground, and people. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method, device, electronic device and computer-readable medium for indoor positioning, which can improve the accuracy of indoor positioning.
[0005] To solve the above technical problems, the embodiments of the present application are implemented through the following aspects.
[0006] In a first aspect, an embodiment of the present application provides a method for indoor positioning, including: determining a first position of a user device at a current moment based on a global satellite navigation system GNSS signal and a Bluetooth signal; estimating a position change of the user device based on step data of a pedometer sensor; and determining a second position of the user device at a next moment based on the first position and the position change.
[0007] In second aspect, an embodiment of the present application provides an indoor positioning device, comprising: a first determination module, used to determine a first position of a user device at a current moment based on a global satellite navigation system GNSS signal and a Bluetooth signal; an estimation module, used to estimate a position change of the user device based on step data of a pedometer sensor; and a second determination module, used to determine a second position of the user device at a next moment based on the first position and the position change.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and computer executable instructions stored in the memory and executable on the processor, wherein the computer executable instructions, when executed by the processor, implement the indoor positioning method described in the first aspect above.
[0009] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which is used to store computer-executable instructions. When the computer-executable instructions are executed by a processor, the indoor positioning method described in the first aspect is implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the indoor positioning method described in the first aspect above.
[0011] In an embodiment of the present application, the first position of the user device at the current moment is determined based on the global satellite navigation system GNSS signal and the Bluetooth signal; the position change of the user device is estimated based on the step data of the pedometer sensor; and the second position of the user device at the next moment is determined based on the first position and the position change, thereby improving the accuracy of indoor positioning. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0013] Figure 1 A schematic diagram showing a flow chart of an indoor positioning method provided by an embodiment of the present application;
[0014] Figure 2 Another schematic diagram showing a flow chart of an indoor positioning method provided by an embodiment of the present application;
[0015] Figure 3 Another schematic diagram showing a flow chart of an indoor positioning method provided by an embodiment of the present application;
[0016] Figure 4 A schematic diagram showing the structure of an indoor positioning device provided in an embodiment of the present application is shown;
[0017] Figure 5A schematic diagram of the hardware structure of an electronic device for executing an indoor positioning method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0019] Figure 1 A flow chart of the method for indoor positioning provided by an embodiment of the present application is shown, and the method can be executed by an electronic device, such as a terminal device or a server device. In other words, the method can be executed by software or hardware installed in the terminal device or the server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. As shown in the figure, the method may include the following steps S110 to S130.
[0020] Step S110: Determine the first location of the user equipment at the current moment based on the global satellite navigation system GNSS signal and the Bluetooth signal.
[0021] GNSS signals are signals from GNSS used for navigation and positioning. GNSS is an air-based radio navigation and positioning system that can provide users with all-weather three-dimensional coordinates, speed and time information at any location on the earth's surface or in near-Earth space, including the Beidou Satellite Navigation System, the Global Positioning System, the GLONASS Satellite Navigation System, etc. Bluetooth signals are short-range wireless communication signals based on Bluetooth technology. Bluetooth technology is used to locate user devices based on the signal strength between Bluetooth beacons and user devices. Compared with GNSS-based positioning, Bluetooth positioning is mainly used in indoor spaces. User equipment is a communication device carried by a user that can send and receive GNSS signals and Bluetooth signals, such as a mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), notebook computer, personal digital assistant (Personal Digital Assistant, PDA), PDA, netbook, ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), mobile Internet device (Mobile Internet Device, MID), augmented reality (Augmented Reality, AR), virtual reality (Virtual Reality, VR) equipment, robot, wearable device (Wearable Device), etc. Among them, wearable devices include smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. The type of user equipment is not limited here.
[0022] Based on the navigation positioning signals provided by the Beidou satellite navigation system or the global positioning system or other navigation systems, combined with the Bluetooth signals received and sent by the user's device, the user's current first position in the indoor space is determined. The indoor space can be a subway station, a railway station, a subway and railway station complex, etc., which has a complex floor layout, dense flow of people, and also includes special space structures such as entry and exit passages.
[0023] In this step, based on the GNSS signal and Bluetooth signal sent and received by the user equipment, the first position of the user in the indoor space at the current moment can be determined.
[0024] Step S120: estimating the position change of the user equipment based on the step counting data of the step counting sensor.
[0025] A pedometer sensor, also known as a pedometer, can be a unit with a pedometer function built into the user's device, such as an application for pedometers in a mobile phone; it can also be a device carried by the user independently of the user's device, such as a pedometer wristband. A pedometer is mainly composed of a vibration sensor and a counter. The pedometer data of the pedometer sensor is used to represent the user's movement in an indoor space, and may include the number of steps, speed, distance, step length, direction of travel, exercise duration, user gender, user weight, exercise calories consumed, etc. The position change of the user's device can be the distance the user's device has moved, the user's moving direction, or the user's estimated position in the future, where the future is the moment after the current moment.
[0026] The pedometer sensor carried by the user is used to obtain pedometer data used to represent the user's movement status; based on the pedometer data, the possible position changes of the user and the user device can be estimated.
[0027] Step S130: Determine a second location of the user equipment at a next moment based on the first location and the location change.
[0028] Based on the first position and the distance or direction that the user device may move, determine the second position of the user at the next moment, where the next moment is a moment after the current moment. Alternatively, determine the second position based on the first position and the estimated position of the user device at a future moment. The second position may be located in the aforementioned indoor space, or may be another position near the indoor space, such as a station passage position, which is not limited here.
[0029] In an embodiment of the present application, a first position of a user device at a current moment is determined based on a global satellite navigation system GNSS signal and a Bluetooth signal; a position change of the user device is estimated based on the pedometer data of a pedometer sensor; and a second position of the user device at a next moment is determined based on the first position and the position change. The Bluetooth signal and the pedometer data are combined on the basis of the GNSS signal. The Bluetooth signal has a higher accuracy in indoor positioning, and the pedometer data is not easily affected by indoor walls, floors, pedestrian flow, etc., so it can be accurately positioned in the indoor space, thereby improving the accuracy of indoor positioning.
[0030] Figure 2 Another schematic flow chart of the indoor positioning method provided by the embodiment of the present application is shown. As shown in the figure, the method may include the following steps S211 to S230.
[0031] Step S211: Determine a third location of the user equipment at a current moment based on a GNSS signal.
[0032] Based on GNSS signals, such as GPS signals or BeiDou signals, the user equipment is positioned to determine a third position of the user equipment in the indoor space.
[0033] In a possible implementation, the GNSS signal is a Beidou signal forwarded by a room antenna.
[0034] The Beidou signal is forwarded losslessly to the indoor space by using a 5G indoor antenna. The number of the indoor antennas is multiple.
[0035] In a possible implementation, step S211 includes: dividing the indoor space into multiple areas based on the signal strength of the GNSS signal; optimizing the multiple areas based on the influencing factors of the GNSS signal in the indoor space; and determining the third position based on the optimized areas.
[0036] Analyze the GNSS signals (such as Beidou signals) forwarded to the indoor space and divide the area according to the signal overlap area. The signal overlap area is the intersection of two or more indoor antenna signal coverage areas. By analyzing the signal strength of the signal overlap area, the boundaries of different functional areas are defined.
[0037] For the divided areas, optimization is performed based on the influencing factors of the GNSS signal. The influencing factors of the GNSS signal include at least one of the following: signal stability, signal interference, and indoor space changes. Using signal stability to constrain the divided areas can ensure that the Beidou signal within each divided area maintains a certain stability and continuity after being forwarded by the 5G indoor antenna, thereby ensuring the accuracy and reliability of positioning and navigation. Signal interference includes interference or weakening of the signal by walls, elevator shafts, large metal structures, etc. Indoor space changes are changes in the indoor space relative to its modeling and division, such as temporary structures built in the indoor space or changes in the flow of people in the indoor space. Optionally, the indoor space is modeled and divided into areas based on the distribution of indoor antennas.
[0038] Optimize multiple areas, including re-dividing the areas. That is, based on the above-mentioned influencing factors, introduce a dynamic adjustment mechanism for area division to improve the accuracy of area division. In addition, the mechanism can adjust the area boundaries according to real-time data to improve the adaptability and flexibility of positioning navigation.
[0039] Optionally, the BeiDou signal strength forwarded by multiple 5G indoor antennas is collected simultaneously to determine the boundaries and characteristics of different areas. The data of the BeiDou positioning system and the data of the 5G indoor system are fused to create a comprehensive signal strength map. The signal strength map can show the signal strength and stability of different areas, which can serve as the basis for regional division and regional re-division.
[0040] In a possible implementation, determining the third position based on the optimized area includes: correcting the third position when a signal strength change value corresponding to the optimized area is greater than a predetermined threshold.
[0041] When the signal strength change value corresponding to the optimized area is greater than a predetermined threshold, such as when the signal strength of the area changes significantly, the positioning error of the area is automatically detected, and the error of the third position is corrected in real time according to the detection result.
[0042] Optionally, the environment in the indoor space is monitored. When the change in the indoor space exceeds a specified threshold, for example, the volume of a temporary structure built indoors is greater than a predetermined volume threshold or the change in indoor human flow is greater than a predetermined human flow change threshold, the positioning model and related parameters are adjusted to improve the continuity and stability of positioning.
[0043] By modeling indoor spaces such as subway train station complexes and dividing the space into regions based on the distribution of indoor antennas in the indoor space, this step can improve the accuracy of positioning compared to positioning methods that do not take indoor space characteristics into account, as both modeling and region division are based on the structural characteristics of the indoor space.
[0044] Step S212: Determine the fourth location of the user equipment at the current moment based on the Bluetooth signal.
[0045] Based on the Bluetooth signal received by the user equipment, an angle-of-arrival (AOA) positioning algorithm is used to determine the fourth position of the user equipment in the indoor space at the current moment.
[0046] In a possible implementation, step S212 includes: determining an incident angle of the user equipment relative to the Bluetooth beacon by deploying the Bluetooth beacon in the indoor space; and determining the fourth position using a triangulation positioning algorithm based on a plurality of the incident angles.
[0047] In order to achieve AOA positioning, multiple Bluetooth beacons are deployed in the indoor space, and each Bluetooth beacon is equipped with a directional antenna to determine the incident angle of the user device. After the user device receives the signal from multiple beacons, it uses the incident angle measurement technology to determine the direction of the signal, including measuring the phase difference and measuring the signal arrival time. By measuring the incident angle of the user device to each beacon through multiple beacons, the triangulation positioning algorithm can be used to determine the fourth position of the user device.
[0048] Step S213: Determine the first position based on the third position and the fourth position.
[0049] The third position and the fourth position are processed using a high-precision algorithm such as multi-point positioning, and a positioning result, namely the first position, is output.
[0050] In one possible implementation, based on signal strength, weighted fusion is performed on the Beidou indoor subsystem positioning data (such as Beidou differential signal) and the Bluetooth beacon positioning data (such as received signal strength indication, Received Signal Strength Indication) to determine the first position.
[0051] Considering the complexity of the structure of the subway train station complex, the first position determined by this step can be used as a preliminary estimate of the user's position, providing a basis for subsequent positioning.
[0052] Step S220: estimating the position change of the user equipment based on the step counting data of the step counting sensor.
[0053] Step S230: Determine a second location of the user equipment at a next moment based on the first location and the location change.
[0054] Step S220 and step S230 may adopt the description of the corresponding steps in the previous embodiment, and the repeatable parts will not be repeated here.
[0055] In the embodiment of the present application, by deploying indoor antennas and Bluetooth beacons in the indoor space, the user equipment can be more accurately positioned in combination with the structure of the indoor space, and a basis for subsequent positioning can be provided.
[0056] Figure 3 Another flow chart of the indoor positioning method provided by the embodiment of the present application is shown. As shown in the figure, the method may include the following steps S310 to S330.
[0057] Step S310: Determine the first location of the user equipment at the current moment based on the global satellite navigation system GNSS signal and the Bluetooth signal.
[0058] Step S320: Based on at least one of the stride, the stride frequency and the motion pattern, using a Kalman filter, the position change is estimated.
[0059] Step S330: Determine a second location of the user equipment at a next moment based on the first location and the location change.
[0060] Step S310 and step S330 may adopt the description of the corresponding steps in the aforementioned embodiment, and the repeatable parts will not be repeated here.
[0061] In step S320, the stride is used to indicate the length of each step of the user, which may be an average value; the step frequency is used to indicate the number of steps of the user per unit time, such as 150 steps per minute. The exercise mode may include walking, jogging, and running. Different exercise modes correspond to different stride lengths and step frequencies.
[0062] Using a Kalman filter, estimating the position change includes: using the state transfer equation x k+1 =Fx k +Bu k +w k Perform state estimation and prediction, where the state vector x k =[x k ,y k ,v x ,v y ] T , [] T represents transpose, F is the state transfer matrix, B is the control input matrix, u k is the control input, w k is the process noise. The state vector x k Including user position and speed. Specifically, the step data of the pedometer sensor is used as each column of the control input matrix B; the user position data is used as each column of the state transfer matrix, and the measured user movement direction is the control input u k Furthermore, in the prediction step, we use Predict the state, using P k∣k-1 =FP k-1∣k-1 F T +Q prediction covariance; in the update step, the Kalman gain K k =P k∣k-1 H T (HP k∣k-1 H T +R) -1 ,use Update the status using P k∣k =(IK k H)P k∣k-1 Update covariance. Where P is the prediction error covariance matrix of the system state estimation, which represents the covariance of the current state prediction error and is used to measure the uncertainty of the state; H is the observation matrix, which is used to map the state vector of the system to the observation space, and defines how to generate observations from the state vector; R is the covariance matrix of the observation noise, which is used to represent the statistical characteristics of the measurement noise, for example, to represent the degree of measurement uncertainty, which is usually estimated based on the characteristics of the actual measurement; I is the identity matrix.
[0063] In the embodiment of the present application, the position change of the user device can be predicted based on the stride, frequency and movement pattern recorded by the pedometer sensor; combined with the position change, the first position determined based on the GNSS signal and the Bluetooth signal can be calibrated to obtain a second position with higher positioning accuracy. Moreover, the second position is a position updated in real time based on the Kalman filter, which can avoid the problem of delayed position update.
[0064] In a possible implementation manner, after determining the second location of the user equipment at the next moment, the method further includes: determining a path from the second location to a target location based on the second location.
[0065] The second position is the user device location updated in real time based on the first position and position changes, and the target position is the destination the user is going to. The second position is compared with the target position, and the best navigation path is calculated. The best navigation path can be a path that avoids signal blind spots or crowded areas and has the strongest signal and the shortest distance. When calculating the navigation path, path planning and navigation prompts can be provided to the user based on the functions and signal characteristics of different areas. Optionally, when calculating the navigation path, regional division will be used for path planning and navigation prompts. The calculated best navigation path guides the user to reach the target correctly. Optionally, the navigation information is displayed on the user device in the form of icons or text.
[0066] In a possible implementation, a method for indoor positioning includes the following steps 1) to 6).
[0067] 1) Model and divide the indoor space into areas.
[0068] 2) AOA positioning based on Bluetooth signals.
[0069] 3) Collect pedometer sensor data.
[0070] 4) Based on the signal strength, the Bluetooth beacon positioning data and the BeiDou indoor subsystem positioning data are weighted and fused to preliminarily estimate the user's location.
[0071] 5) Real-time location update. As the user moves, the pedometer sensor obtains step data in real time. Continuously collect the positioning data of the Beidou indoor subsystem, the positioning data of the Bluetooth beacon, the step data of the pedometer sensor, and the user's location information. Use the online update strategy and iterative optimization positioning algorithm to update the user's location in real time.
[0072] 6) Location comparison and navigation guidance. Monitor the changes in the indoor space environment and dynamically adjust the area boundaries based on real-time data to accommodate temporary structure construction or changes in traffic. Compare the real-time updated user location with the target location, calculate the best navigation path, and guide the user to the target location.
[0073] In an embodiment of the present application, the first position of the user device at the current moment is determined based on the global satellite navigation system GNSS signal and the Bluetooth signal; the position change of the user device is estimated based on the step data of the pedometer sensor; and the second position of the user device at the next moment is determined based on the first position and the position change, thereby improving the accuracy of indoor positioning.
[0074] Figure 4 The schematic diagram of the structure of the indoor positioning device provided by the embodiment of the present application is shown, and the device 400 includes: a first determination module 410, an estimation module 420 and a second determination module 430. The first determination module 410 is used to determine the first position of the user equipment at the current moment based on the global satellite navigation system GNSS signal and the Bluetooth signal; the estimation module 420 is used to estimate the position change of the user equipment based on the step counting data of the step counting sensor; the second determination module 430 is used to determine the second position of the user equipment at the next moment based on the first position and the position change.
[0075] In a possible implementation, the first determination module 410 is used to determine the third location of the user device at a current moment based on a GNSS signal; determine the fourth location of the user device at a current moment based on a Bluetooth signal; and determine the first location based on the third location and the fourth location.
[0076] In a possible implementation, the first determination module 410 is used to divide the indoor space into multiple areas based on the signal strength of the GNSS signal; optimize the multiple areas based on the influencing factors of the GNSS signal in the indoor space; and determine the third position based on the optimized areas.
[0077] In a possible implementation, the first determination module 410 is configured to correct the third position when a signal strength change value corresponding to the optimized area is greater than a predetermined threshold.
[0078] In a possible implementation, the first determination module 410 is used to determine the incident angle of the user equipment relative to the Bluetooth beacon by deploying the Bluetooth beacon in the indoor space; and determine the fourth position based on the multiple incident angles using a triangulation positioning algorithm.
[0079] In one possible implementation, the pedometer data includes the user's stride, the user's step frequency, and the user's motion pattern; the estimation module 420 is used to estimate the position change based on at least one of the stride, the step frequency, and the motion pattern using a Kalman filter.
[0080] In a possible implementation, the GNSS signal is a Beidou signal forwarded by a room antenna.
[0081] In a possible implementation manner, the indoor positioning device 400 is further configured to determine a path from the second position to a target position based on the second position.
[0082] The device 400 provided in the embodiment of the present application can execute the various methods described in the foregoing method embodiments, and realize the functions and beneficial effects of the various methods described in the foregoing method embodiments, which will not be repeated here.
[0083] Figure 5 A schematic diagram of the hardware structure of an electronic device that executes the indoor positioning method provided in an embodiment of the present application is shown. Referring to the figure, at the hardware level, the electronic device includes a processor 510, and optionally, an internal bus 520, a network interface 530, and a memory. Among them, the memory may include a memory 540, such as a high-speed random access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory) 550, such as at least one disk storage, etc. Of course, the electronic device may also include hardware required for other services.
[0084] The processor 510, the network interface 530 and the memory may be connected to each other via an internal bus 520, which may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0085] The memory is used to store programs. Specifically, the program may include program codes, and the program codes include computer operation instructions. The memory may include a memory 540 and a non-volatile memory 550, and provide instructions and data to the processor 510.
[0086] The processor 510 reads the corresponding computer program from the non-volatile memory 550 into the memory 540 and then runs it, forming a device for locating the target user at the logical level. The processor 510 executes the program stored in the memory and is specifically used to execute Figures 1 to 3 The method described in the embodiment achieves the same or corresponding technical effects.
[0087] The above application Figures 1 to 3 The method disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor 510. The processor 510 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in the processor 510. The above processor 510 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor 510 reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0088] The electronic device can also execute the methods described in the foregoing method embodiments, and realize the functions and beneficial effects of the methods described in the foregoing method embodiments, which will not be repeated here.
[0089] Of course, in addition to software implementation, the electronic device of the present application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0090] The embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable medium stores one or more programs, and when the one or more programs are executed by an electronic device including multiple application programs, the electronic device executes Figures 1 to 3 The method described in the embodiment achieves the same or corresponding technical effects.
[0091] Furthermore, the embodiment of the present application also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, Figures 1 to 3 The method described in the embodiment achieves the same or corresponding technical effects.
[0092] In short, the above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0093] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0094] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change RAM (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0095] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0096] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
Claims
1. A method for indoor positioning, characterized in that: include: Determine the first location of the user device at the current moment based on the global satellite navigation system GNSS signal and the Bluetooth signal; estimating a location change of the user device based on step counting data of a step counting sensor; A second location of the user equipment at a next moment is determined based on the first location and the location change.
2. The method according to claim 1, characterized in that The determining the first location of the user equipment at the current moment based on the global satellite navigation system GNSS signal and the Bluetooth signal includes: Determine a third location of the user equipment at a current moment based on the GNSS signal; Determine a fourth location of the user equipment at a current moment based on the Bluetooth signal; Based on the third position and the fourth position, the first position is determined.
3. The method according to claim 2, characterized in that The determining, based on the GNSS signal, a third location of the user equipment at a current moment includes: Based on the signal strength of GNSS signals, the indoor space is divided into multiple areas; Based on the influencing factors of the GNSS signal in the indoor space, optimizing the plurality of areas; Based on the optimized area, the third position is determined.
4. The method according to claim 3, characterized in that The determining the third position based on the optimized area includes: When the signal intensity change value corresponding to the optimized area is greater than a predetermined threshold, the third position is corrected.
5. The method according to claim 2, characterized in that: The determining, based on the Bluetooth signal, a fourth location of the user equipment at a current moment, includes: Determining, by means of a Bluetooth beacon deployed in the indoor space, an incident angle of the user equipment relative to the Bluetooth beacon; The fourth position is determined based on the multiple incident angles using a triangulation positioning algorithm.
6. The method according to claim 1, characterized in that The step counting data includes the user's stride length, the user's step frequency and the user's movement pattern; The estimating the position change of the user equipment based on the step counting data of the step counting sensor includes: The position change is estimated using a Kalman filter based on at least one of the stride length, stride frequency and movement pattern.
7. The method according to claim 1, characterized in that The GNSS signal is a Beidou signal forwarded by an indoor antenna.
8. The method according to claim 1, characterized in that After determining the second location of the user equipment at the next moment, the method further includes: Based on the second location, a path from the second location to a target location is determined.
9. An electronic device, characterized in that: include: processor; as well as A memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor performs the indoor positioning method according to any one of claims 1 to 8.
10. A computer-readable medium, characterized in that The computer-readable medium stores one or more programs, which, when executed by an electronic device including a plurality of application programs, enable the electronic device to execute the indoor positioning method according to any one of claims 1 to 8.