User positioning method and device, equipment and storage medium
By obtaining WiFi hotspot signal strength and step counting sensor data, and combining the partition antenna to divide the area, the problem of inaccurate user positioning in indoor environments such as stations and airports is solved, and higher positioning accuracy and convenient service are achieved.
Patent Information
- Application Number
- CN202411187022.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-12-03
AI Technical Summary
In complex indoor environments such as stations and airports, existing positioning technology is difficult to obtain sufficient signal observations, resulting in inaccurate user positioning and affecting subsequent service content.
By obtaining WiFi hotspot signal strength information, combining pre-established WiFi signal database and step-counting sensor data, the user's initial position is determined, and the location information is updated in real time, and the area is divided using the room division antenna to improve positioning accuracy.
It improves the accuracy of initial position determination and the accuracy of real-time position updates, provides more convenient and accurate user positioning services, and solves the problem of poor indoor application of traditional GPS positioning.
Smart Images

Figure CN119071732A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of positioning technology, and in particular to a user positioning method, apparatus, device and storage medium. Background Art
[0002] With the increase of urban population and the development of social economy, transportation hubs such as stations and airports have become an indispensable part of modern cities. However, the indoor environment of these transportation hubs is complex, especially in the terminal entrance scenes of stations and airports, where the passenger flow is large and the signal is easily interfered. As a result, it is sometimes difficult to obtain sufficient signal observation values based on existing positioning technology to support reliable positioning solutions, and the convergence speed is slow. It is impossible to provide users with accurate location information, resulting in poor positioning results for users, which affects the subsequent series of service contents based on user positioning. Summary of the invention
[0003] The embodiments of the present application provide a user positioning method, apparatus, device and storage medium to improve the accuracy of initial position determination, thereby ensuring the accuracy of subsequent real-time position updates and improving the positioning effect. The technical solution is as follows.
[0004] In one aspect, a user positioning method is provided, the method comprising:
[0005] Obtain first signal strength information of each wireless network WiFi hotspot scanned by the target terminal;
[0006] Based on the first signal strength information of each scanned WiFi hotspot and a pre-established WiFi signal database, the initial location information of the target user corresponding to the target terminal is determined; the WiFi signal database stores the second signal strength information of each WiFi hotspot in each area of the target space and the location information of each area; each area in the target space is divided based on the signal coverage range of the indoor antenna;
[0007] Acquiring the step count information of the target user through a step counting sensor;
[0008] The location information of the target user is determined based on the step count information, stride information and the initial location information of the target user.
[0009] In another aspect, a user positioning device is provided, the device comprising:
[0010] A signal acquisition module, used to acquire first signal strength information of each wireless network WiFi hotspot scanned by the target terminal;
[0011] A first positioning module is used to determine the initial location information of the target user corresponding to the target terminal based on the first signal strength information of each scanned WiFi hotspot and a pre-established WiFi signal database; the WiFi signal database stores the second signal strength information of each WiFi hotspot in each area of the target space and the location information of each area; each area in the target space is divided based on the signal coverage range of the indoor antenna;
[0012] A pedometer module, used to obtain the step count information of the target user through a pedometer sensor;
[0013] The second positioning module is used to determine the location information of the target user based on the step number information, stride information and the initial location information of the target user.
[0014] In a possible implementation, the first positioning module includes:
[0015] A distance determination submodule, used to determine the distance of the target user relative to each area based on the first signal strength information of each scanned WiFi hotspot and the second signal strength information of each WiFi hotspot in each area;
[0016] The location determination submodule is used to determine the initial location information of the target user based on the distance of the target user relative to each area and the location information of each area.
[0017] In a possible implementation manner, the device further includes:
[0018] A navigation information generating module, configured to generate navigation information based on the location information of the target user and the location information of a first area; the first area is an area in the target space where the population density is higher than a density threshold;
[0019] The navigation information feedback module is used to feed back the navigation information to the target user in a target feedback manner.
[0020] In a possible implementation manner, the device further includes:
[0021] A range acquisition module is used to obtain the satellite signal coverage of each indoor antenna in the target space;
[0022] The area division module is used to divide the target space into at least two areas based on the satellite signal coverage range and satellite signal strength of each room antenna.
[0023] In a possible implementation, the region division module is used to:
[0024] Obtaining the overlapping area between the satellite signal coverage of each indoor antenna;
[0025] Based on the change in satellite signal strength within each of the overlapping areas, the area boundaries between each of the room antennas are determined to divide the target space into at least two areas.
[0026] In a possible implementation manner, a satellite signal strength fluctuation value in the same area is less than a fluctuation threshold.
[0027] In a possible implementation, the region division module is further configured to:
[0028] When the spatial structure in the target space changes, obtaining position information of a newly added spatial structure;
[0029] Monitoring satellite signal strength changes based on the location information of the newly added spatial structure;
[0030] When the satellite signal strength change at the location information of the newly added spatial structure exceeds a strength fluctuation threshold, the boundary of the area where the newly added spatial structure is located is adjusted based on the satellite signal strength change at the location information of the newly added spatial structure.
[0031] On the other hand, a computer device is provided, the computer device comprising a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to implement any of the above-mentioned user positioning methods.
[0032] On the other hand, a computer-readable storage medium is provided, wherein at least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement any of the above-mentioned user positioning methods.
[0033] On the other hand, a computer program product is provided, the computer program product comprising at least one computer program, the computer program being loaded and executed by a processor to implement any user positioning method provided in the above-mentioned various optional implementations.
[0034] The technical solution provided by this application may have the following beneficial effects:
[0035] The user positioning method provided in the embodiment of the present application obtains the first signal strength information of each WiFi hotspot scanned by the target terminal, and determines the initial position information of the target user corresponding to the target terminal based on the first signal strength information of each WiFi hotspot scanned and a pre-established WiFi signal database, wherein the WiFi signal database stores the second signal strength information of each WiFi hotspot in each area of the target space and the position information of each area; based on the initial position information, the position information of the target user is determined based on the acquired step number information and stride information of the target user; through the above method, the initial position of the user can be confirmed by combining the signal strength of each WiFi hotspot in each area of the target space with the signal strength of each WiFi hotspot scanned by the target terminal, thereby improving the accuracy of the initial position determination, thereby ensuring the accuracy of the subsequent real-time position update, and improving the positioning effect of the user.
[0036] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0038] Figure 1 A flowchart of a user positioning method provided by an exemplary embodiment of the present application is shown;
[0039] Figure 2 A flowchart of a user positioning method provided by an exemplary embodiment of the present application is shown;
[0040] Figure 3 A block diagram of a user positioning device provided by an exemplary embodiment of the present application is shown;
[0041] Figure 4 A structural block diagram of a computer device shown in an exemplary embodiment of the present application is shown;
[0042] Figure 5 A structural block diagram of a computer device shown in an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0043] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0044] The embodiment of the present application provides a user positioning method, which combines the indoor distributed system, WiFi positioning technology and step counting method to achieve accurate acquisition and real-time tracking of user positions in complex indoor environments, solve the problem that traditional GPS positioning has poor indoor application effects, and provide more convenient and accurate positioning services for users in densely populated transportation hubs such as stations and airports. Figure 1 A flowchart of a user positioning method provided by an exemplary embodiment of the present application is shown. The method can be executed by a computer device, and the computer device can be implemented as a target terminal, or a server corresponding to the target terminal, such as Figure 1 As shown, the user positioning method may include the following steps:
[0045] Step 110: Obtain first signal strength information of each wireless network WiFi hotspot scanned by the target terminal.
[0046] The target terminal refers to the terminal device of the target user to be located, such as a smart phone, tablet computer, etc. The first signal strength information refers to the strength of the wireless signal received by the target terminal from the surrounding WiFi hotspots. The signal strength is usually measured in dBm (decibel milliwatts). Since the dBm value is a negative number, the smaller the value, the stronger the signal.
[0047] The computer device actively searches for nearby WiFi hotspots through the target terminal, and records the first signal strength information of each scanned WiFi hotspot.
[0048] Step 120, based on the first signal strength information of each scanned WiFi hotspot and a pre-established WiFi signal database, determine the initial location information of the target user corresponding to the target terminal; the WiFi signal database stores the second signal strength information of each WiFi hotspot in each area of the target space and the location information of each area; each area in the target space is divided based on the signal coverage range of the indoor antenna.
[0049] The WiFi signal database is a database containing known WiFi hotspot locations and their signal strengths at different locations; the second signal strength refers to the signal strength information of the WiFi hotspot at a specific location (ie, each area) recorded in the WiFi signal database.
[0050] In an embodiment of the present application, the target space refers to a space with indoor positioning requirements, such as indoor environments such as stations, terminals, subway stations, shopping malls, etc.; an indoor antenna is deployed in the target space for losslessly forwarding satellite signals to the indoor environment, and the indoor antenna can be a 5G indoor antenna; based on the signal coverage range of the indoor antenna, the target space can be divided into different areas, such as halls, corridors, offices, etc.
[0051] When determining the initial location of the target user corresponding to the target terminal, in one possible implementation, the computer device may compare the first signal strength information of each WiFi hotspot scanned by the target terminal with the second signal strength information of each WiFi hotspot in each area stored in the WiFi signal database, and determine the location information of the area that best matches the first signal strength information of each WiFi hotspot scanned by the target terminal as the initial location information of the target user corresponding to the target terminal.
[0052] Alternatively, in another possible implementation, the computer device may also determine the distance between the target terminal and each area based on the difference between the first signal strength information of each wireless network WiFi hotspot scanned by the target terminal and the second signal strength information of each WiFi hotspot in each area, combined with the signal strength attenuation model, thereby combining the location information of each area to determine the initial location information of the target user corresponding to the target terminal. The signal strength attenuation model is used to indicate the relationship between the signal strength attenuation amount and the distance; the signal strength attenuation model may be determined in advance through signal simulation and measurement.
[0053] Step 130: Acquire the step count information of the target user through a pedometer sensor.
[0054] A pedometer sensor is a sensor that can detect the number of steps a user takes. The pedometer can calculate the number of steps through an accelerometer and / or gyroscope. The pedometer sensor can collect the user's walking step data, that is, step information, in real time.
[0055] Step 140 : determining the location information of the target user based on the step count information, stride information, and initial location information of the target user.
[0056] Among them, the stride information refers to the distance of each step of the user, which can be determined based on the user's historical walking data; the user's step information, stride information and initial position information can estimate the user's movement distance and direction over a period of time, thereby updating his current position information. Later, as the target user's step information changes, the target user's position information also changes accordingly, thereby achieving real-time positioning of the target user to ensure the timeliness of the position update.
[0057] In summary, the user positioning method provided in the embodiment of the present application obtains the first signal strength information of each WiFi hotspot scanned by the target terminal, and determines the initial position information of the target user corresponding to the target terminal based on the first signal strength information of each WiFi hotspot scanned and a pre-established WiFi signal database, wherein the WiFi signal database stores the second signal strength information of each WiFi hotspot in each area of the target space and the position information of each area; on the basis of the initial position information, the position information of the target user is determined based on the acquired step information and stride information of the target user; through the above method, the initial position of the user can be confirmed by combining the signal strength of each WiFi hotspot in each area of the target space with the signal strength of each WiFi hotspot scanned by the target terminal, thereby improving the accuracy of the initial position determination, thereby ensuring the accuracy of the subsequent real-time position update, and improving the positioning effect of the user.
[0058] Figure 2 A flowchart of a user positioning method provided by an exemplary embodiment of the present application is shown. The method can be executed by a computer device, and the computer device can be implemented as a target terminal, or a server corresponding to the target terminal, such as Figure 2 As shown, the user positioning method may include the following steps.
[0059] Step 210: Obtain first signal strength information of each wireless network WiFi hotspot scanned by the target terminal.
[0060] Step 220: Determine the distance of the target user relative to each area based on the scanned first signal strength information of each WiFi hotspot and the second signal strength information of each WiFi hotspot in each area.
[0061] Among them, a WiFi signal acquisition module can be deployed in each area to continuously scan the surrounding WiFi hotspots and obtain their signal strength information. This information is sorted, stored, and constructed into a WiFi signal database; for example, a WiFi signal acquisition model can be deployed in the entrance area of the station to collect the signal strength of each WiFi hotspot in the entrance area, and the signal strength of each WiFi hotspot corresponding to the entrance area and the location information of the entrance area are stored in the WiFi signal database. Therefore, the WiFi signal database stores the second signal strength information of each WiFi hotspot in each area of the target space and the location information of each area. Among them, the location information of each area can be the location coordinates corresponding to the key position in each area, for example, the key position can be the center of the area, or the key position can be the location coordinates of the landmark building in the area, etc., and this application does not limit this.
[0062] Taking the calculation of the distance of the target user relative to one of the target areas as an example, the computer device can obtain the second signal strength information of each WiFi hotspot under the target area and the first signal strength information of each WiFi hotspot scanned at the current position. When there are identical WiFi hotspots between the various WiFi hotspots under the target area and the various WiFi hotspots scanned at the current position, the distance between the current position and the target area, that is, the distance between the target user and the target area, is determined based on the different signal strengths of the same WiFi hotspot in the target area and the current position and a signal strength attenuation model; wherein, when there are multiple identical WiFi hotspots, the distance calculation can be performed based on each identical WiFi hotspot respectively, so that the average value of the multiple calculation results is determined as the distance between the target user and the target area.
[0063] Each area in the target space is divided based on the signal coverage of the indoor antenna; in a possible implementation, the process of dividing the area in the target space can be implemented as follows:
[0064] Obtain the satellite signal coverage of each indoor antenna in the target space;
[0065] Based on the satellite signal coverage and satellite signal strength of each indoor antenna, the target space is divided into at least two areas.
[0066] Among them, when obtaining the satellite signal coverage range of each indoor antenna in the target space, the computer equipment can determine the satellite signal coverage range of each indoor antenna through simulation analysis based on factors such as the position, power setting, and indoor environment of the indoor antenna; then, based on the signal coverage range of each indoor antenna and the satellite signal strength, through data analysis and / or clustering algorithm, areas with similar satellite signal strength are divided into the same area.
[0067] Alternatively, when accurately modeling and dividing indoor spaces such as subway stations, train stations, or terminals based on the distribution of indoor antennas, the impact of the indoor environment on signal propagation can be considered and used as another area division constraint; for example, walls, elevator shafts. Large metal structures and the like may interfere with or weaken the signal; when dividing the area, the accuracy of the area division is optimized by evaluating and compensating for the impact of these factors. In one possible implementation, the target space is divided into at least two areas based on the satellite signal coverage range and satellite signal strength of each indoor antenna, including:
[0068] Obtaining the overlapping area between the satellite signal coverage of each indoor antenna;
[0069] Based on the change of satellite signal strength in each overlapping area, the area boundary between each room antenna is determined to divide the target space into at least two areas.
[0070] Among them, the overlapping area refers to the intersection area of two or more indoor antenna coverage areas. The overlapping area is used as the key basis for area division, and the boundaries of different areas are defined by analyzing the changes in satellite signal strength in the overlapping area; under normal circumstances, a significant change in satellite signal strength can indicate the existence of a boundary, that is, when from a strong signal area of one indoor antenna to a strong signal area of another indoor antenna, or when the signal of a indoor antenna is blocked by an obstacle, the satellite signal strength may have a significant decline process, and the computer device can determine the location where the satellite signal strength significantly decreases as the area boundary; wherein, a significant decline in satellite signal strength may mean that the difference between the highest satellite signal strength of the indoor antenna is greater than a difference threshold, wherein the difference threshold can be set based on actual needs, and the present application does not impose any restrictions on this.
[0071] Furthermore, the satellite signal strength fluctuation value in the same area is less than the fluctuation threshold. That is to say, when dividing the target space into regions, the stability and continuity of the signal within each region must also be considered. For example, if the fluctuation threshold is 5dBm, within the A1 coverage area, the satellite signal strength can vary from -50dBm to -55dBm, and within the A2 coverage area, the satellite signal strength can vary from -55dBm to -60dBm, etc., thereby ensuring that the satellite signal within each divided area maintains a certain stability and continuity after being forwarded by the indoor antenna, so as to ensure the rationality of the regional division, thereby ensuring the accuracy and reliability of subsequent positioning; it should be noted that the target strength fluctuation range can be set based on actual needs, and this application does not limit this.
[0072] In a possible implementation, since the indoor environment may change, such as the construction of temporary structures, changes in the flow of people, etc., a dynamic adjustment mechanism needs to be introduced when dividing the area. This mechanism can adjust the area boundaries according to factual data to ensure the adaptability and flexibility of the area boundary division; this process can be implemented as follows:
[0073] When the spatial structure in the target space changes, the location information of the newly added spatial structure is obtained;
[0074] Monitor satellite signal strength changes based on location information of the newly added spatial structure;
[0075] When the satellite signal strength change at the location information of the newly added spatial structure exceeds the strength fluctuation threshold, the boundary of the area where the newly added spatial structure is located is adjusted based on the satellite signal strength change at the location information of the newly added spatial structure.
[0076] Optionally, adjusting the boundary of the area where the newly added spatial structure is located may refer to adjusting the boundary of the area to the position of the newly added spatial structure.
[0077] In a possible implementation, after completing the regional division of the target space, the computer device may create a comprehensive satellite signal strength map, in which different regions and the satellite signal strengths or satellite signal strength variation ranges of the different regions are marked.
[0078] Step 230: determining the initial location information of the target user based on the distance of the target user relative to each area and the location information of each area.
[0079] After the distances between the target user and the at least three areas are acquired, the initial location information of the target user may be determined based on the triangulation method and the location information of the at least three areas.
[0080] Step 240: Acquire the target user's step count information in real time through a pedometer sensor.
[0081] Step 250 , determining the location information of the target user based on the step count information, stride information, and initial location information of the target user.
[0082] As the user moves, the pedometer sensor obtains the target user's step information in real time. The computer device updates the user's location information in real time by analyzing the step information and stride information and combining it with the initial location information.
[0083] In one possible implementation, when it is determined based on the target user's step count information and stride information that the user's moving distance is greater than the target distance threshold, the process of determining the initial position information, that is, the process from step 210 to step 230, is re-performed to ensure the accuracy of the initial position information; the target distance threshold can be set based on actual needs.
[0084] In a possible implementation, the method further includes:
[0085] Generate navigation information based on the location information of the target user and the location information of the first area; the first area is an area in the target space where the population density is higher than the density threshold;
[0086] Feedback navigation information to target users through target feedback.
[0087] Illustratively, the first area may refer to a densely populated area such as a station entrance or exit. After determining the location information of the target user, the computer device may plan the best navigation route for the target user based on the location information of the first area and the location information of the target user, and guide the user to the station entrance or exit. It should be noted that the first area may also be any area determined based on user input, such as a navigation station, a ticket office, etc. This application does not impose any restrictions on this. After dividing the target space into areas based on indoor antennas, the computer device may obtain the location information of the area that the user expects to reach, and thus perform corresponding navigation path planning after determining the user's current location information.
[0088] In a possible implementation, the target feedback method includes at least one of the following:
[0089] Displaying the navigation information in the form of a navigation path on a display interface of a target terminal;
[0090] Displaying the navigation information in the form of text on a display interface of a target terminal;
[0091] Navigation information is given by voice.
[0092] In summary, the user positioning method provided in the embodiment of the present application obtains the first signal strength information of each WiFi hotspot scanned by the target terminal, and determines the initial position information of the target user corresponding to the target terminal based on the first signal strength information of each WiFi hotspot scanned and a pre-established WiFi signal database, wherein the WiFi signal database stores the second signal strength information of each WiFi hotspot in each area of the target space and the position information of each area; on the basis of the initial position information, the position information of the target user is determined based on the acquired step information and stride information of the target user; through the above method, the initial position of the user can be confirmed by combining the signal strength of each WiFi hotspot in each area of the target space with the signal strength of each WiFi hotspot scanned by the target terminal, thereby improving the accuracy of the initial position determination, thereby ensuring the accuracy of the subsequent real-time position update, and improving the positioning effect of the user.
[0093] Figure 3 A block diagram of a user positioning device provided by an exemplary embodiment of the present application is shown. The device can perform the following steps: Figure 1 or Figure 2 All or part of the steps of the embodiment shown, such as Figure 3 As shown, the user positioning device includes:
[0094] The signal acquisition module 310 is used to obtain first signal strength information of each wireless network WiFi hotspot scanned by the target terminal;
[0095] The first positioning module 320 is used to determine the initial location information of the target user corresponding to the target terminal based on the first signal strength information of each scanned WiFi hotspot and a pre-established WiFi signal database; the WiFi signal database stores the second signal strength information of each WiFi hotspot in each area of the target space and the location information of each area; each area in the target space is divided based on the signal coverage range of the indoor antenna;
[0096] A pedometer module 330 is used to obtain the step count information of the target user through a pedometer sensor;
[0097] The second positioning module 340 is used to determine the location information of the target user based on the step number information, stride information and the initial location information of the target user.
[0098] In a possible implementation, the first positioning module 320 includes:
[0099] A distance determination submodule, used to determine the distance of the target user relative to each area based on the first signal strength information of each scanned WiFi hotspot and the second signal strength information of each WiFi hotspot in each area;
[0100] The location determination submodule is used to determine the initial location information of the target user based on the distance of the target user relative to each area and the location information of each area.
[0101] In a possible implementation manner, the device further includes:
[0102] A navigation information generating module, configured to generate navigation information based on the location information of the target user and the location information of a first area; the first area is an area in the target space where the population density is higher than a density threshold;
[0103] The navigation information feedback module is used to feed back the navigation information to the target user in a target feedback manner.
[0104] In a possible implementation manner, the device further includes:
[0105] A range acquisition module is used to obtain the satellite signal coverage of each indoor antenna in the target space;
[0106] The area division module is used to divide the target space into at least two areas based on the satellite signal coverage range and satellite signal strength of each room antenna.
[0107] In a possible implementation, the region division module is used to:
[0108] Obtaining the overlapping area between the satellite signal coverage of each indoor antenna;
[0109] Based on the change in satellite signal strength within each of the overlapping areas, the area boundaries between each of the room antennas are determined to divide the target space into at least two areas.
[0110] In a possible implementation manner, a satellite signal strength fluctuation value in the same area is less than a fluctuation threshold.
[0111] In a possible implementation, the region division module is further configured to:
[0112] When the spatial structure in the target space changes, obtaining position information of a newly added spatial structure;
[0113] Monitoring satellite signal strength changes based on the location information of the newly added spatial structure;
[0114] When the satellite signal strength change at the location information of the newly added spatial structure exceeds a strength fluctuation threshold, a boundary of the area where the newly added spatial structure is located is adjusted based on the satellite signal strength change at the location information of the newly added spatial structure.
[0115] Figure 4 The structural block diagram of a computer device 400 shown in an exemplary embodiment of the present application is shown. The computer device can be implemented as a server in the above-mentioned solution of the present application. The computer device 400 includes a central processing unit (CPU) 401, a system memory 404 including a random access memory (RAM) 402 and a read-only memory (ROM) 403, and a system bus 405 connecting the system memory 404 and the central processing unit 401. The computer device 400 also includes a large-capacity storage device 406 for storing an operating system 409, an application program 410 and other program modules 411.
[0116] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, Erasable Programmable Read Only Memory (EPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM) flash memory or other solid-state storage technology, CD-ROM, Digital Versatile Disc (DVD) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage medium is not limited to the above. The above-mentioned system memory 404 and mass storage device 406 can be collectively referred to as memory.
[0117] According to various embodiments of the present disclosure, the computer device 400 can also be connected to a remote computer on the network through a network such as the Internet. That is, the computer device 400 can be connected to the network 408 through the network interface unit 407 connected to the system bus 404, or the network interface unit 407 can be used to connect to other types of networks or remote computer systems (not shown).
[0118] The memory also includes at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is stored in the memory. The central processing unit 401 implements all or part of the steps in the user positioning method shown in the above-mentioned embodiments by executing the at least one instruction, at least one program, code set or instruction set.
[0119] Figure 5 The following is a block diagram of a computer device 500 according to an exemplary embodiment of the present application. The computer device 500 may be implemented as the container caller or task distributor described above, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, etc. The computer device 500 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal, or other names.
[0120] Typically, the computer device 500 includes a processor 501 and a memory 502 .
[0121] In some embodiments, the computer device 500 may also optionally include: a peripheral device interface 503 and at least one peripheral device. The processor 501, the memory 502 and the peripheral device interface 503 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 503 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 504, a display screen 505, a camera assembly 506, an audio circuit 507 and a power supply 508.
[0122] In some embodiments, the computer device 500 further includes one or more sensors 509 , including but not limited to: an acceleration sensor 510 , a gyroscope sensor 511 , a pressure sensor 512 , an optical sensor 513 , and a proximity sensor 514 .
[0123] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the computer device 500, and the computer device 500 may include more or less components than those shown in the figure, or combine some components, or adopt a different arrangement of components.
[0124] In an exemplary embodiment, a computer-readable storage medium is also provided, in which at least one computer program is stored, and the computer program is loaded and executed by a processor to implement all or part of the steps in the above-mentioned user positioning method. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0125] In an exemplary embodiment, a computer program product is also provided, the computer program product comprising at least one computer program, the computer program being loaded and executed by a processor Figure 1 or Figure 2 All or part of the steps of the user positioning method shown in any embodiment.
[0126] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.
[0127] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A user positioning method, characterized in that: The method comprises: Obtain first signal strength information of each wireless network WiFi hotspot scanned by the target terminal; Based on the first signal strength information of each scanned WiFi hotspot and a pre-established WiFi signal database, the initial location information of the target user corresponding to the target terminal is determined; the WiFi signal database stores the second signal strength information of each WiFi hotspot in each area of the target space and the location information of each area; each area in the target space is divided based on the signal coverage range of the indoor antenna; Acquiring the step count information of the target user through a step counting sensor; The location information of the target user is determined based on the step count information, stride information and the initial location information of the target user.
2. The method according to claim 1, characterized in that The determining the initial location information of the target user corresponding to the target terminal based on the first signal strength information of each scanned WiFi hotspot and a pre-established WiFi signal database includes: Determine the distance of the target user relative to each area based on the scanned first signal strength information of each WiFi hotspot and the second signal strength information of each WiFi hotspot in each area; The initial location information of the target user is determined based on the distance of the target user relative to each area and the location information of each area.
3. The method according to claim 1, characterized in that The method further comprises: Generate navigation information based on the location information of the target user and the location information of a first area; the first area is an area in the target space where the population density is higher than a density threshold; The navigation information is fed back to the target user in a target feedback manner.
4. The method according to claim 2, characterized in that: The method further comprises: Obtain the satellite signal coverage of each indoor antenna in the target space; Based on the satellite signal coverage and satellite signal strength of each indoor antenna, the target space is divided into at least two areas.
5. The method according to claim 4, characterized in that The target space is divided into at least two areas based on the satellite signal coverage and satellite signal strength of each room antenna, including: Obtaining the overlapping area between the satellite signal coverage of each indoor antenna; Based on the change in satellite signal strength within each of the overlapping areas, the area boundaries between each of the room antennas are determined to divide the target space into at least two areas.
6. The method according to claim 5, characterized in that The satellite signal strength fluctuation value in the same area is less than the fluctuation threshold.
7. The method according to claim 4, characterized in that The method further comprises: When the spatial structure in the target space changes, obtaining position information of a newly added spatial structure; Monitoring satellite signal strength changes based on the location information of the newly added spatial structure; When the satellite signal strength change at the location information of the newly added spatial structure exceeds a strength fluctuation threshold, a boundary of the area where the newly added spatial structure is located is adjusted based on the satellite signal strength change at the location information of the newly added spatial structure.
8. A user positioning device, characterized in that: The device comprises: A signal acquisition module, used to acquire first signal strength information of each wireless network WiFi hotspot scanned by the target terminal; A first positioning module is used to determine the initial location information of the target user corresponding to the target terminal based on the first signal strength information of each scanned WiFi hotspot and a pre-established WiFi signal database; the WiFi signal database stores the second signal strength information of each WiFi hotspot in each area of the target space and the location information of each area; each area in the target space is divided based on the signal coverage range of the indoor antenna; A pedometer module, used to obtain the step count information of the target user through a pedometer sensor; The second positioning module is used to determine the location information of the target user based on the step number information, stride information and the initial location information of the target user.
9. A computer device, characterized in that: The computer device includes a processor and a memory, the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the user positioning method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the computer program is loaded and executed by a processor to implement the user positioning method according to any one of claims 1 to 7.
