Indoor positioning method, system, and electronic device
By receiving distance parameters and image information from the ranging terminal and combining them with a preset mapping relationship, the problem of insufficient two-dimensional positioning under complex high-rise buildings is solved, achieving accurate three-dimensional indoor positioning and reducing costs and equipment complexity.
Patent Information
- Application Number
- CN202210251085.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-15
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-03-15
AI Technical Summary
Existing indoor positioning solutions are mostly two-dimensional planar positioning, which is difficult to meet the three-dimensional positioning requirements of complex high-rise buildings.
By receiving distance parameters reported by the ranging terminal, a three-dimensional coordinate system based on the ranging terminal is established. Combining image information and time information, the three-dimensional coordinates of the user terminal are determined, and coordinate transformation is performed using a preset mapping relationship to achieve three-dimensional positioning.
It achieves accurate three-dimensional positioning in complex indoor environments, is highly adaptable, low-cost, unaffected by light and temperature, and has reliable positioning capabilities.
Smart Images

Figure CN116801181B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data communication technology, and in particular to an indoor positioning method, system and electronic device. Background Technology
[0002] In modern society, people are spending more and more time in large indoor venues such as shopping malls and exhibitions. In unfamiliar and complex indoor environments, accurate indoor positioning can help users know their location in real time, accurately reach their destination, and avoid getting lost.
[0003] Currently, most common indoor positioning solutions are designed for two-dimensional space. However, with the increasing number of complex high-rise buildings, providing only two-dimensional planar information is no longer sufficient to meet users' positioning needs. Therefore, it is necessary to provide a new indoor positioning solution. Summary of the Invention
[0004] This application provides an indoor positioning method, system, and electronic device for achieving three-dimensional positioning of a user in an indoor environment.
[0005] In a first aspect, embodiments of this application provide an indoor positioning method, comprising: receiving first distance parameters between a target user terminal and a plurality of ranging terminals reported by a plurality of ranging terminals, wherein the ranging terminals are deployed within a target building; determining a first coordinate of the target user terminal in a first coordinate system based on the plurality of the first distance parameters, wherein the first coordinate system is a three-dimensional coordinate system established with the ranging terminals as a reference; and transforming the first coordinates according to a preset mapping relationship to obtain a second coordinate of the target user terminal in a second coordinate system, wherein the second coordinate system is a three-dimensional coordinate system established with the target building as a reference.
[0006] In one possible implementation, the number of ranging terminals is greater than two; determining the first coordinates of the target user terminal in the first coordinate system based on several first distance parameters includes: determining multiple location ranges of the target user terminal based on the deployment coordinates of each ranging terminal in the first coordinate system and the reported first distance parameters; and obtaining the first coordinates of the target user terminal in the first coordinate system based on the intersection of the multiple location ranges.
[0007] In one possible implementation, the method further includes: obtaining the deployment coordinates of each ranging terminal in a first coordinate system.
[0008] In one possible implementation, obtaining the deployment coordinates of each ranging terminal in the first coordinate system includes: receiving the second distance parameters reported by each ranging terminal and the other ranging terminals; calculating the angle value of the direction angle formed by any ranging terminal and the other ranging terminals using the law of cosines based on each second distance parameter; and obtaining the deployment coordinates of each ranging terminal in the first coordinate system based on the angle values of each direction angle.
[0009] In one possible implementation, the number of the plurality of ranging terminals is no more than two; determining the first coordinates of the target user terminal in the first coordinate system based on the plurality of first distance parameters includes: acquiring image information of the target user terminal; determining the moving speed of the target user terminal and the time information of entering each floor based on the image information; obtaining the target floor where the target terminal is located and the estimated position range of the target floor based on the moving speed and the time information; and determining the first coordinates of the target user terminal in the first coordinate system based on the estimated position range and the plurality of first distance parameters.
[0010] In one possible implementation, obtaining the image information of the target user terminal includes: receiving an association information pair sent by an auxiliary terminal, wherein the association information pair includes the image information of the target user terminal and the identification information of the target user terminal.
[0011] In one possible implementation, determining the moving speed of the target user terminal based on the image information includes: determining the movement mode of the target user terminal based on the image information; and determining the moving speed of the target user terminal based on the movement mode.
[0012] In one possible implementation, the method further includes: establishing and storing the mapping relationship based on the first coordinate system and the second coordinate system.
[0013] Secondly, embodiments of this application provide an indoor positioning system, the system comprising: a positioning server and a plurality of ranging terminals connected to the positioning server; the positioning server is capable of performing the method described in the first aspect.
[0014] Thirdly, embodiments of this application provide an indoor positioning device, the device comprising: a receiving module, configured to receive first distance parameters reported by a plurality of ranging terminals and a target user terminal, the ranging terminals being deployed within the target building; a determining module, configured to determine a first coordinate of the target user terminal in a first coordinate system based on the plurality of the first distance parameters, the first coordinate system being a three-dimensional coordinate system established with the ranging terminals as a reference; and a transformation module, configured to transform the first coordinates according to a preset mapping relationship to obtain a second coordinate of the target user terminal in a second coordinate system, the second coordinate system being a three-dimensional coordinate system established with the target building as a reference.
[0015] Fourthly, embodiments of this application provide an electronic device, including: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores program instructions executable by the processor, and the processor can execute the method as described in the first aspect by invoking the program instructions.
[0016] Fifthly, embodiments of this application provide a computer-readable storage medium storing computer instructions that cause the computer to perform the method described in the first aspect.
[0017] The above technical solution enables accurate three-dimensional positioning of users in complex indoor environments. Attached Figure Description
[0018] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 A structural diagram of an indoor positioning system provided in an embodiment of this application; Figure 2 A flowchart illustrating an indoor positioning method provided in this application embodiment; Figure 3 A schematic diagram illustrating a scenario for the deployment location of a ranging terminal, provided in an embodiment of this application; Figure 4 A scene diagram of a first coordinate system provided for an embodiment of this application; Figure 5 A schematic diagram of a scenario for determining the deployment coordinates of a ranging terminal, provided in an embodiment of this application; Figure 6 This is a schematic diagram of the structure of an indoor positioning device provided in an embodiment of this application; Figure 7 This is a schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0020] To better understand the technical solution of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0021] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0022] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0023] Figure 1 This is a structural diagram of an indoor positioning system provided in an embodiment of this application. Figure 1 As shown, the indoor positioning system provided in this embodiment may include a positioning server 01 and a plurality of ranging terminals 02. The positioning server 01 is connected to the plurality of ranging terminals 02 respectively.
[0024] The ranging terminal 02 has a ranging function, which can be used to detect the distance between itself and various user terminals within the target building. Simultaneously, the ranging terminal 02 can interact with the positioning server 01, reporting the measured distance parameters to the positioning server 01. The ranging terminal 02 can be deployed within the target building. Specifically, each ranging terminal 02 can be deployed on a different floor of the target building, and the number deployed on each floor can be determined based on the signal coverage range of the ranging terminal 02. The number of ranging terminals 02 deployed on each floor can be the same or different.
[0025] The positioning server 01 can receive the distances between each ranging terminal 02 and each user terminal, and determine the three-dimensional coordinate parameters of the user terminal within the target building based on these distances.
[0026] The indoor positioning method provided in this application can be executed in the aforementioned indoor positioning system, specifically in the positioning server 01.
[0027] Figure 2 A flowchart illustrating an indoor positioning method provided in an embodiment of this application. Figure 2 As shown, the above indoor positioning method may include: Step 101: The positioning server receives the first distance parameters between itself and the target user terminal reported by several ranging terminals.
[0028] When using the indoor positioning method provided in this application to perform three-dimensional coordinate positioning of users within a target building, the positioning method is the same for each user. For ease of description and understanding, this application will use the positioning process for any single user as an example. Hereinafter, any single user will be referred to as the target user, and the terminal carried by any single user will be referred to as the target user terminal.
[0029] In modern society, people carry mobile devices such as smartphones with them when they go out. Based on this reality, in this embodiment of the application, the location of the target user can be achieved by detecting the location of the target user's terminal.
[0030] Specifically, after the target user enters the target building, several ranging terminals can use their own ranging functions to detect the initial distance parameter between themselves and the target user's terminal. Simultaneously, these ranging terminals can also interact with the target user's terminal to obtain its identifier.
[0031] Then, several ranging terminals can upload the detected first distance parameters to the positioning server. Specifically, the ranging terminals can upload the first distance parameters with the target user terminal to the positioning server in the form of information pairs. The information pairs may include the terminal identifier of the target user terminal and the first distance parameters.
[0032] After receiving the information pair, the positioning server can determine the first distance parameter corresponding to the target user terminal.
[0033] Step 102: The positioning server determines the first coordinates of the target user terminal in the first coordinate system based on several first distance parameters.
[0034] In this embodiment, the first coordinate system refers to a three-dimensional coordinate system established with the ranging terminal as the reference. After the first coordinate system is established, the deployment coordinates of each ranging terminal in the first coordinate system can be determined. The deployment coordinates of each ranging terminal can be stored in advance in the positioning server, or they can be stored within each ranging terminal.
[0035] Based on this, the embodiments of this application can determine the first coordinate of the target user terminal in the first coordinate system according to the first distance parameter between each ranging terminal and the target user terminal.
[0036] Specifically, depending on the number of ranging terminals deployed within the target building, the first coordinates of the target user terminal P in the first coordinate system can be determined using different methods. .
[0037] In one possible implementation, the number of ranging terminals is greater than two. In this case, the positioning server can obtain multiple location ranges of the target user terminal based on the deployment coordinates of each ranging terminal in the first coordinate system and the first distance parameter between each terminal and the target user terminal. In a three-dimensional coordinate system, when the number of multiple location ranges is three or more, the first coordinates of the target user terminal P can be obtained based on the intersection of these location ranges. .
[0038] In another possible implementation, the number of ranging terminals is no more than two. In a three-dimensional coordinate system, when the number of ranging terminals is no more than two, based on the previous implementation, it will be impossible to obtain the first coordinates of the target user terminal P. Therefore, in this situation, an auxiliary terminal can be used to locate the target user terminal.
[0039] First, the positioning server can use an auxiliary terminal to obtain image information of the target user's terminal.
[0040] Specifically, in this embodiment, the auxiliary terminal can be deployed at the entrance of each floor of the target building. The auxiliary terminal can carry a camera to collect image information of the target user terminal. Simultaneously, the auxiliary terminal can interact with the target user terminal to obtain the terminal identifier of the target user terminal.
[0041] The positioning server can receive association information pairs sent by the auxiliary terminal. The association information pairs may include image information of the target user terminal and identification information of the target user terminal.
[0042] Then, the positioning server can determine the target user terminal's moving speed and the time information for entering each floor based on the image information.
[0043] Specifically, on the one hand, the positioning server can determine the target user terminal's mode of movement based on image information, such as walking, driving, ice skating, or using a balance bike. Then, based on the mode of movement, it can estimate the target user terminal's speed. In another implementation, the auxiliary terminal can also have a speed measurement function, thereby directly measuring the target user terminal's speed.
[0044] On the other hand, the image information can carry a time stamp. Based on this time stamp, the positioning server can determine the time when the target user terminal entered each floor. The time stamp can be added by the auxiliary terminal during image acquisition based on the current acquisition time.
[0045] Furthermore, the positioning server can determine the target floor where the target user terminal is located and the estimated location range within the target floor based on the aforementioned time information and the target user terminal's movement speed.
[0046] Specifically, when the positioning server receives a pair of association information from an auxiliary device, it can determine the floor where the auxiliary terminal is located as the target floor where the target user terminal is located. When the positioning server receives association information from multiple auxiliary terminals, it can determine the floor where the latest auxiliary terminal is located as the target floor where the target user terminal is located based on the time stamp carried in the image information. Furthermore, the positioning server can calculate the movement time of the target user terminal on the target floor using the current time and the time stamp carried in the image information. Therefore, based on the movement time and speed, the estimated location range of the target user terminal on the target floor can be obtained. This estimated location range can be a sector-shaped area centered at the entrance of the target floor with a radius equal to the movement distance.
[0047] Finally, the positioning server can determine the first coordinates of the target user terminal in the first coordinate system based on the estimated location range and several first distance parameters.
[0048] Specifically, the positioning server can obtain several location ranges of the target user terminal based on the deployment coordinates of several ranging terminals and the corresponding first distance parameters. Then, the positioning server can calculate the intersection point of the several location ranges and the aforementioned estimated location ranges. Finally, the obtained intersection point can be determined as the first coordinate of the target user terminal in the first coordinate system.
[0049] Step 103: The positioning server transforms the first coordinates according to the preset mapping relationship to obtain the second coordinates of the target user terminal in the second coordinate system.
[0050] In this embodiment, the second coordinate system is a three-dimensional coordinate system established with the target building as the reference. The positioning server can pre-store the mapping relationship between the first and second coordinate systems. Once the first coordinates of the target user terminal in the first coordinate system are determined... Then, the positioning server can transform the first coordinates according to the mapping relationship S to obtain the second coordinates of the target user terminal in the second coordinate system. .
[0051] The above method enables accurate three-dimensional positioning of users in complex indoor environments. Furthermore, this method is not limited by indoor lighting or temperature, exhibiting strong environmental adaptability and high reliability. Additionally, the method provided in this application does not require complex and expensive equipment, thus reducing indoor positioning costs.
[0052] In another embodiment of this application, the process of establishing a first coordinate system and the method by which the positioning server obtains the deployment coordinates of the ranging terminal in the first coordinate system are described.
[0053] Figure 3 This is a schematic diagram illustrating a scenario for the deployment location of a ranging terminal, as provided in an embodiment of this application. Figure 3 As shown, this embodiment of the application uses four ranging terminals A, B, C, and D as references to illustrate the method for establishing the first coordinate system.
[0054] Specifically, firstly, any ranging terminal can be selected as the coordinate origin. For example, such as Figure 4 As shown, the ranging terminal A can be selected as the coordinate origin.
[0055] Then, any two ranging terminals can be selected to form an XY plane with the ranging terminal at the origin. For example, in this embodiment of the application, ranging terminals B and C can be selected, and an x-coordinate axis and a y-coordinate axis can be constructed on the plane formed by ranging terminals A, B, and C to obtain the XY plane.
[0056] Finally, the z-axis can be constructed along a direction perpendicular to the XY plane, passing through the origin.
[0057] Therefore, we can obtain the following: Figure 4 The first coordinate system shown is with the distance measuring terminal A as the origin.
[0058] After the first coordinate system is established, the deployment coordinates of each ranging terminal in the first coordinate system can be further determined. This application continues to use... Figure 3 The following explanation uses four ranging terminals as examples.
[0059] First, each ranging terminal can use its own ranging function to detect the second distance parameter between itself and other ranging terminals, and report it to the positioning server.
[0060] Furthermore, the positioning server can receive the second distance parameters between each ranging terminal and the other ranging terminals. Figure 3 Taking the four ranging terminals shown as examples, the positioning server can obtain the following second distance parameters: , , , , as well as .
[0061] Then, the positioning server can calculate the angle value of the direction angle formed by any one ranging terminal and the other ranging terminals using the law of cosines, based on the received second distance parameters. Each direction angle has the arbitrary ranging terminal as its vertex and the line connecting the arbitrary ranging terminal to any two other ranging terminals as its edge.
[0062] For example, this application can select ranging terminal A located at the origin of the coordinate system, and calculate the angle values of the direction angles formed by ranging terminal A and the other ranging terminals. Thus, the angle values of ∠BAD, ∠BAC, and ∠CAD can be obtained as follows:
[0063] Finally, based on the various angle values, the deployment coordinates of each ranging terminal in the first coordinate system can be obtained.
[0064] Specifically, Figure 5 This is a schematic diagram illustrating a method for determining the deployment coordinates of a ranging terminal according to an embodiment of this application. In the diagram, point d is the projection point of ranging terminal D on the XY plane, and h is the distance from ranging terminal D to the projection point d. Therefore, the deployment coordinates of each ranging terminal in the first coordinate system can be obtained as follows:
[0065]
[0066]
[0067] =
[0068] in, The value can be determined based on the scalar triple product of the tetrahedron and the Gram determinant.
[0069] The value can be determined using the following formula:
[0070] and The values are respectively:
[0071]
[0072] The value of cos∠CAd is:
[0073] in, and The values are respectively:
[0074]
[0075] Using the above method, the first coordinate system can be established, and the deployment coordinates of each ranging terminal in the first coordinate system can be obtained. Therefore, the positioning server can determine the first coordinates of each user terminal in the first coordinate system based on the deployment coordinates of each ranging terminal.
[0076] Figure 6 This is a schematic diagram of an indoor positioning device provided in an embodiment of this application. Figure 6 As shown, the indoor positioning device provided in this application embodiment may include: a receiving module 61, a determining module 62, and a conversion module 63.
[0077] The receiving module 61 is used to receive the first distance parameters between the target user terminal and the target user terminal reported by several ranging terminals, which are deployed inside the target building.
[0078] The determination module 62 is used to determine the first coordinate of the target user terminal in the first coordinate system based on several first distance parameters. The first coordinate system is a three-dimensional coordinate system established with the ranging terminal as the reference.
[0079] The conversion module 63 is used to convert the first coordinates according to the preset mapping relationship to obtain the second coordinates of the target user terminal in the second coordinate system. The second coordinate system is a three-dimensional coordinate system established with the target building as the reference.
[0080] In a specific implementation process, the number of ranging terminals is greater than two; the determining module 62 is specifically used to determine multiple location ranges of the target user terminal based on the deployment coordinates of each ranging terminal in the first coordinate system and the reported first distance parameters; and to obtain the first coordinates of the target user terminal in the first coordinate system based on the intersection of multiple location ranges.
[0081] In a specific implementation, module 62 is also used to obtain the deployment coordinates of each ranging terminal in the first coordinate system.
[0082] In a specific implementation process, module 62 is specifically used to receive the second distance parameters reported by each ranging terminal and the other ranging terminals; calculate the angle value of the direction angle formed by any ranging terminal and the other ranging terminals using the cosine theorem based on each second distance parameter; and obtain the deployment coordinates of each ranging terminal in the first coordinate system based on the angle values of each direction angle.
[0083] In a specific implementation, the number of ranging terminals is no more than two; the determining module 62 is specifically used to: acquire image information of the target user terminal; determine the moving speed of the target user terminal and the time information of entering each floor based on the image information; obtain the target floor where the target terminal is located and the estimated position range on the target floor based on the moving speed and time information; and determine the first coordinate of the target user terminal in the first coordinate system based on the estimated position range and several first distance parameters.
[0084] In a specific implementation, module 62 is specifically used to receive an association information pair sent by the auxiliary terminal. The association information pair includes the image information of the target user terminal and the identification information of the target user terminal.
[0085] In a specific implementation, the determining module 62 is specifically used to determine the movement mode of the target user terminal based on the image information; and to determine the movement speed of the target user terminal based on the movement mode.
[0086] In a specific implementation, the above-mentioned device further includes a mapping module 64, which is used to establish and store a mapping relationship based on the first coordinate system and the second coordinate system.
[0087] The above technical solution enables accurate three-dimensional positioning of users in complex indoor environments.
[0088] Figure 7 A schematic diagram of an electronic device provided in an embodiment of this application, such as... Figure 7 As shown, the electronic device may include at least one processor; and at least one memory communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor can execute the indoor positioning method provided in the embodiments of this application by calling the program instructions.
[0089] The aforementioned electronic device can be an indoor positioning device, and this embodiment does not limit the specific form of the aforementioned electronic device.
[0090] Figure 7 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present application is shown. Figure 7 The electronic device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0091] like Figure 7 As shown, the electronic device is represented in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: one or more processors 410, memory 430, communication interface 420, and communication bus 440 connecting different system components (including memory 430 and processor 410).
[0092] Communication bus 440 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) buses, Micro Channel Architecture (MAC) buses, Enhanced ISA buses, Video Electronics Standards Association (VESA) local buses, and Peripheral Component Interconnect (PCI) buses.
[0093] Electronic devices typically include a variety of computer-readable media. These media can be any available media that can be accessed by the electronic device, including volatile and non-volatile media, and removable and non-removable media.
[0094] Memory 430 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The electronic device may further include other removable / non-removable, volatile / non-volatile computer system storage media. Although Figure 7 As not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disc drive for reading and writing to a removable non-volatile optical disc (e.g., a compact disc read-only memory (CD-ROM), a digital video disc read-only memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the communication bus 440 via one or more data media interfaces. The memory 430 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of this application.
[0095] A program / utility having a set (at least one) of program modules can be stored in memory 430. Such program modules include—but are not limited to—an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. The program modules typically perform the functions and / or methods described in the embodiments of this application.
[0096] The electronic device can also communicate with one or more external devices (such as a keyboard, pointing device, display, etc.), and with one or more devices that enable a user to interact with the electronic device, and / or with any device that enables the electronic device to communicate with one or more other computing devices (such as a network card, modem, etc.). This communication can be performed through communication interface 420. Furthermore, the electronic device can also communicate through a network adapter (… Figure 7 (Not shown) communicates with one or more networks (e.g., Local Area Network (LAN), Wide Area Network (WAN), and / or public networks, such as the Internet). The aforementioned network adapter can communicate with other modules of the electronic device via the communication bus 440. It should be understood that, although... Figure 7 Not shown, other hardware and / or software modules can be used in conjunction with electronic devices, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Arrays of Independent Drives (RAID) systems, tape drives, and data backup storage systems.
[0097] The processor 410 executes various functional applications and data processing by running programs stored in the memory 430, such as implementing the indoor positioning method provided in the embodiments of this application.
[0098] This application also provides a computer-readable storage medium storing computer instructions that cause the computer to execute the indoor positioning method provided in this application.
[0099] The aforementioned computer-readable storage medium may be any combination of one or more computer-readable media. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by or in connection with an instruction execution system, apparatus, or device.
[0100] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including—but not limited to—electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0101] The program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0102] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0103] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0104] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0105] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0106] It should be noted that the terminals involved in the embodiments of this application may include, but are not limited to, personal computers (PCs), personal digital assistants (PDAs), wireless handheld devices, tablet computers, mobile phones, MP3 players, MP4 players, etc.
[0107] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0108] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.
[0109] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. An indoor positioning method, characterized in that, include: Receive first distance parameters between the target user terminal and a plurality of ranging terminals reported by a plurality of ranging terminals, wherein the ranging terminals are deployed inside the target building; Based on several first distance parameters, the first coordinates of the target user terminal in a first coordinate system are determined. The first coordinate system is a three-dimensional coordinate system established with the ranging terminal as a reference. The first coordinates are transformed according to a preset mapping relationship to obtain the second coordinates of the target user terminal in the second coordinate system, wherein the second coordinate system is a three-dimensional coordinate system established with the target building as the reference. Wherein, the number of the plurality of ranging terminals is no more than two; determining the first coordinates of the target user terminal in the first coordinate system based on the plurality of the first distance parameters includes: Acquire image information from the target user's terminal; Based on the image information, determine the target user terminal's moving speed and the time information for entering each floor; Based on the moving speed and the time information, the target floor where the target user terminal is located and the estimated location range on the target floor are obtained; Based on the estimated location range and several of the first distance parameters, the first coordinates of the target user terminal in the first coordinate system are determined.
2. The method according to claim 1, characterized in that, Acquire image information of the target user terminal, including: The system receives an association information pair sent by the auxiliary terminal, the association information pair including the image information of the target user terminal and the identification information of the target user terminal.
3. The method according to claim 1, characterized in that, Determining the moving speed of the target user terminal based on the image information includes: Based on the image information, determine the movement mode of the target user terminal; The movement speed of the target user terminal is determined based on the movement method.
4. The method according to claim 1, characterized in that, The method further includes: The mapping relationship is established and stored based on the first coordinate system and the second coordinate system.
5. An indoor positioning system, characterized in that, include: A positioning server and several ranging terminals connected to the positioning server; The location server is capable of performing the method as described in any one of claims 1 to 4.
6. An electronic device, characterized in that, include: At least one processor; as well as At least one memory communicatively connected to the processor, wherein: The memory stores program instructions that can be executed by the processor, and the processor can execute the method as described in any one of claims 1 to 4 by calling the program instructions.
Citation Information
Patent Citations
Identity recognition method and device
CN108540755A
Indoor positioning method integrating single-anchor-point distance measurement and pedestrian track plotting
CN112729282A
Positioning method and apparatus
WO2021168841A1
