WO2019071762A1 - 楼层位置定位方法、***、服务器和计算机可读存储介质 - Google Patents
楼层位置定位方法、***、服务器和计算机可读存储介质 Download PDFInfo
- Publication number
- WO2019071762A1 WO2019071762A1 PCT/CN2017/114367 CN2017114367W WO2019071762A1 WO 2019071762 A1 WO2019071762 A1 WO 2019071762A1 CN 2017114367 W CN2017114367 W CN 2017114367W WO 2019071762 A1 WO2019071762 A1 WO 2019071762A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- floor
- terminal
- signal
- wireless signal
- location
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
- G01C21/206—Instruments for performing navigational calculations specially adapted for indoor navigation
Definitions
- the present invention relates to the field of terminal technologies, and in particular, to a floor location positioning method, system, server, and computer readable storage medium.
- a primary object of the present invention is to provide a floor location location method, system, server, and computer readable storage medium, which are directed to solving the prior art problem of not being able to determine the current floor location information in an indoor environment.
- the present invention provides a floor location positioning method, which is applied to a server, and the floor location positioning method includes:
- the determined floor location is fed back to the terminal for the terminal to display the received floor location in the display interface of the positioning application.
- the present invention also provides a server including a processor, a memory, and a floor position locating program stored on the memory and operable on the processor, the floor position positioning The steps of the floor location location method as described above are implemented when the program is executed by the processor.
- the present invention also provides a computer readable storage medium having a floor location locating program stored thereon, the floor location locating program being implemented by a processor as described above The steps of the floor location location method.
- the present invention further provides a floor location locating system, the floor location locating system comprising a terminal and a server, the server described above;
- the terminal is configured to collect wireless signal data in an indoor environment by using a built-in positioning application
- the server first receives the wireless signal data uploaded by the terminal, and then matches the wireless signal data with the pre-stored signal database to determine the floor location where the terminal is located, and finally determines the determined floor position feedback.
- the terminal for the terminal to display the received floor location in the display interface of the positioning application.
- the terminal In the indoor environment, the terminal first collects wireless signal data in the indoor environment through the built-in positioning application, and then the server determines the floor location information of the terminal according to the pre-stored signal database and the wireless signal data, thereby realizing the indoor environment. Accurate positioning.
- FIG. 1 is a schematic structural diagram of a server in a hardware operating environment according to an embodiment of the present invention
- FIG. 2 is a schematic flow chart of a first embodiment of a floor position positioning method according to the present invention
- FIG. 3 is a schematic diagram of a preferred embodiment of the present invention.
- step S20 in FIG. 2 is a schematic diagram showing the refinement process of step S20 in FIG. 2;
- FIG. 5 is a schematic flow chart of a second embodiment of a floor position positioning method according to the present invention.
- FIG. 6 is a schematic diagram of a first refinement process of step S28 in FIG. 5;
- step S28 in FIG. 5 is a schematic diagram of a second refinement process of step S28 in FIG. 5;
- FIG. 8 is a schematic diagram of a third refinement flow of step S28 in FIG. 5.
- the solution of the embodiment of the present invention is mainly: the server first receives the wireless signal data uploaded by the terminal, and then matches the wireless signal data with the pre-stored signal database to determine the floor location where the terminal is located, and finally determines the determined floor location. Feedback to the terminal for the terminal to display the received floor location in the display interface of the positioning application. In order to solve the existing indoor environment, it is impossible to accurately locate the problem.
- FIG. 1 is a schematic structural diagram of a server in a hardware operating environment according to an embodiment of the present invention.
- the server in the embodiment of the present invention may be a one-way server, or may be a multi-way server or a distributed server.
- the server may include a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
- the communication bus 1002 is used to implement connection communication between these components.
- the user interface 1003 may include a display, an input unit such as a keyboard, and the optional user interface 1003 may also include a standard wired interface (eg, for connecting a wired keyboard, a wired mouse, etc.), a wireless interface (eg, for Connect a wireless keyboard, wireless mouse).
- the network interface 1004 can optionally include a standard wired interface (for connecting to a wired network), a wireless interface (such as a WI-FI interface, a Bluetooth interface, an infrared interface, a probe interface, a 3G/4G/5G network communication interface, etc.) Connect to a wireless network).
- the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
- the memory 1005 can also optionally be a storage device independent of the aforementioned motherboard 1001.
- the server may also include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
- RF Radio
- RF Radio
- server structure illustrated in FIG. 1 does not constitute a limitation to the terminal, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
- an operating system a network communication module, a user interface module, and a floor location locating program may be included in the memory 1005 as a computer readable storage medium.
- the operating system is a program for managing and controlling terminal and software resources, and supports operation of a network communication module, a user interface module, a floor location locating program, and other programs or software; a network communication module is used to manage and control the network interface 1002; a user interface The module is used to manage and control the user interface 1003.
- the server calls the floor location locating program stored in the memory 1005 by the processor 1001 to implement the following steps:
- the determined floor location is fed back to the terminal for the terminal to display the received floor location in the display interface of the positioning application.
- the server calls the floor location locating program stored in the memory 1005 by the processor 1001, and further implements a step of matching the wireless signal data with the pre-stored signal database to determine the floor location where the terminal is located:
- the determined floor location is taken as the floor location where the terminal is located.
- the server calls the floor location locating program stored in the memory 1005 by the processor 1001, and further implements a step of matching the wireless signal data with the pre-stored signal database to determine the floor location where the terminal is located:
- the determined floor location is taken as the floor location where the terminal is located.
- the server calls the floor position locating program stored in the memory 1005 by the processor 1001, and further implements the step of determining the determined floor position as the floor position where the terminal is located:
- the probability that the signal identifier of each wireless signal number appears in each floor is calculated
- the floor with the highest probability of aggregation is taken as the floor location where the terminal is located.
- the server calls the floor position locating program stored in the memory 1005 by the processor 1001, and further implements the step of determining the determined floor position as the floor position where the terminal is located:
- the wireless signal data reported by the terminal includes multiple, determining a signal strength corresponding to each wireless signal data appearing in each floor;
- the floor with the highest signal strength average is taken as the floor position where the terminal is located.
- the server calls the floor position locating program stored in the memory 1005 by the processor 1001, and further implements the step of determining the determined floor position as the floor position where the terminal is located:
- wireless signal data reported by the terminal includes multiple, calculate the number of wireless signal data covered in each floor;
- the floor covering the largest number of wireless signal data is taken as the floor position where the terminal is located.
- the server firstly receives the wireless signal data uploaded by the terminal by calling the floor location locating program stored in the memory, and then matching the wireless signal data with the pre-stored signal database to determine the location of the terminal.
- the floor location ultimately returns the determined floor location to the terminal for the terminal to display the received floor location in the display interface of the positioning application.
- the terminal In the indoor environment, the terminal first collects wireless signal data in the indoor environment through the built-in positioning application, and then the server determines the floor location information of the terminal according to the pre-stored signal database and the wireless signal data, thereby realizing the indoor environment. Accurate positioning.
- FIG. 2 is a schematic flowchart diagram of a first embodiment of a floor position positioning method according to the present invention.
- the floor location positioning method is applied to a server, and the floor location positioning method includes:
- the determined floor location is fed back to the terminal for the terminal to display the received floor location in the display interface of the positioning application.
- the floor location location method is applied to a server, such as the server shown in FIG.
- the signal database is established, and the establishment of the signal database includes:
- Step a the server records the location of each signal source included in each floor in the indoor environment, wherein the signal source is used to transmit a wireless signal, so that the terminal receives the wireless signal data;
- Step b after recording each signal source included in each floor, recording the signal strength of each signal source detected at each position in each floor;
- Step c storing the signal strength detected by each location and the signal identifier of the signal source in association with each corresponding location;
- Step d establishing a signal database based on the associated stored location information, signal identification, and signal strength.
- the signal database is established by the server to record the location of each signal source included in each floor.
- the location of each signal source can be collected by the terminal and uploaded to the server, or the server can receive the user through the front-end page. Enter and record the location.
- the server After recording the location of each signal source included in each floor, the server records the signal strength of each signal source detected at each position in each floor. It should be noted that since the signal source in each floor contains multiple, Therefore, there are also multiple signal sources detected at each location in each floor. Accordingly, the signal strength recorded in each location in the floor also includes multiple.
- the three signal sources may be on the same floor or may be located differently. In the floor, there is no limit here.
- the M point is currently used as the detection point, the signal strength of each signal source is detected at the position of the M point. As shown in FIG. 3, the distance between the M point and the signal source B, the signal source A, and the signal source C is sequentially decreased. Therefore, the signal strengths of the signal source B, the signal source A, and the signal source C are sequentially increased at the point M.
- the signal strength of the signal source B detected at the point M is -15 dBm, and the M point and the detected signal source are detected.
- the signal strength of A is -11 dBm, and the signal strength of point M and detected signal source C is -6 dBm.
- the signal strength of the signal source detected at each position is determined according to the distance between the detection point and the signal source. The longer the distance, the weaker the detected signal strength, and the shorter the distance, the stronger the detected signal strength. . It can be understood that when another point is selected as the detection point in the floor, the signal strengths of the three signal sources can also be detected. It should be noted that the detection points are different, and the detected signal strengths of the respective signal sources are also different. In this way, the signal strength of each signal source detected in each position can be obtained.
- the signal strength detected by each position and the signal identifier of the signal source are stored in association with each corresponding position.
- the M point is Signal source A and -11dBm are stored in association with source B and -15dBm and with source C and -6dBm.
- a signal database can be established.
- the signal database records the distance between each location and each signal source in each floor of the indoor environment, and the signal strength of each signal source detected at each location.
- the server can determine the floor position of the terminal according to the pre-stored signal database.
- Step S10 Receive wireless signal data uploaded by the terminal, where the wireless signal data is collected by the terminal in an indoor environment through a built-in positioning application;
- the server first receives wireless signal data reported by the terminal, and the wireless signal data is wireless signal data collected by the terminal in the indoor environment through the built-in positioning application.
- the wireless signal data uploaded by the terminal may optionally include one or more, and the specific number of the wireless signal data is determined according to the signal source, that is, when the terminal detects multiple signal sources, the terminal uploads multiple wireless signal data, and detects 1 When one source is used, one wireless signal data is uploaded.
- the wireless signal data includes a Wi-Fi signal, a Bluetooth signal, or a base station signal.
- Step S20 matching the wireless signal data with a pre-stored signal database to determine a floor location where the terminal is located;
- the server After receiving the wireless signal data uploaded by the terminal, the server matches the received wireless signal data with the pre-stored signal database, that is, compares the wireless signal data with the signal data in the pre-stored signal database to determine where the terminal is located. Floor location.
- the step S20 includes:
- Step S21 determining a signal identifier and a signal strength corresponding to the received wireless signal data
- Step S22 in the pre-stored signal database, searching for a floor area included in the signal source corresponding to the signal identifier;
- Step S23 in the searched floor area, determining a floor position corresponding to the signal source that detects the signal strength
- step S24 the determined floor location is taken as the floor location where the terminal is located.
- the embodiment after receiving the wireless signal data uploaded by the terminal, extracting the signal identifier and signal strength carried by the wireless signal data, and then searching for a signal source corresponding to the signal identifier in the pre-stored signal database, And determining, according to the floor area included in the pre-stored signal source, the floor area included in the signal source corresponding to the signal identifier. After finding the floor area included in the signal source corresponding to the signal identifier, further querying a specific floor position of the signal source capable of detecting the signal strength, that is, after determining the floor included in the signal source, determining that the signal can be detected. The specific floor location of the intensity signal source.
- the server has determined that the wireless signal data reported by the terminal is the signal source A, and when the signal transmission capability of the signal source A is strong, the terminal on the same floor of the signal source A can The wireless signal data transmitted by the signal source A is detected.
- the wireless signal data transmitted by the signal source A can be detected at the terminal of the adjacent floor of the signal source A, but the signal strength detected by the terminals of the two floors is different, therefore,
- the floor area included in the signal source may be determined according to the coverage range of the wireless signal in the signal source A, and then, in the included floor area, the floor position corresponding to the signal source capable of detecting the signal strength is determined, for example, a signal
- the signal strength detected by the terminal on the same floor of source A is -11. dBm
- the signal strength detected at the terminal on the adjacent floor of the signal source is -6dBm. If the signal strength of the wireless signal data received by the server is -11 dBm, the floor position where the terminal is located can be determined.
- the server is in the pre-stored signal.
- the signal source corresponding to each signal identifier is searched to determine the floor area where the signal source corresponding to each signal identifier is located according to the floor area where each pre-stored signal source is located. After determining the floor area where the signal source of each signal identification is located, the specific location of the signal source capable of detecting each signal strength is further queried. The specific determination method is consistent with the above, and will not be described here.
- Step S30 feeding back the determined floor position to the terminal, so that the terminal displays the received floor position in the display interface of the positioning application.
- the server determines the location of the floor where the terminal is located
- the determined floor location can be fed back to the terminal, so that the terminal displays the received floor location information in the display interface of the positioning application.
- the server first receives the wireless signal data uploaded by the terminal, and then matches the wireless signal data with the pre-stored signal database to determine the floor location where the terminal is located, and finally determines the determined floor location. Feedback to the terminal for the terminal to display the received floor location in the display interface of the positioning application.
- the terminal In the indoor environment, the terminal first collects wireless signal data in the indoor environment through the built-in positioning application, and then the server determines the floor location information of the terminal according to the pre-stored signal database and the wireless signal data, thereby realizing the indoor environment. Accurate positioning.
- the second embodiment of the floor position locating method differs from the first embodiment of the floor position locating method in that, in this embodiment, referring to FIG. 5, the step S20 may further include:
- Step S25 determining a signal identifier corresponding to the received wireless signal data
- Step S26 comparing the determined signal identifier with the pre-stored signal database to determine a pre-stored signal identifier in the pre-stored signal database that matches the signal identifier;
- Step S27 determining a floor location corresponding to the signal identifier of the wireless signal data based on a mapping relationship between the pre-stored signal identifier and the floor location in the pre-stored signal database;
- step S28 the determined floor position is taken as the floor position where the terminal is located.
- the server after receiving the wireless signal data uploaded by the terminal, matches the received wireless signal data with the pre-stored signal database, that is, compares the wireless signal data with the signal data in the pre-stored signal database. Determine the location of the floor where the terminal is located. Specifically, the server first determines the signal identifier corresponding to the received wireless signal data, and after determining the signal identifier corresponding to the wireless signal data, the server compares the determined signal identifier with the pre-stored signal database to determine and correlate in the pre-stored signal database.
- the signal identifies the matched pre-stored signal identifier, and then based on the mapping relationship between the pre-stored signal identifier and the floor location in the pre-stored signal database, the floor position corresponding to the signal identifier of the wireless signal data can be determined, and the determined floor position is finally determined. As the floor location where the terminal is located.
- the determined floor location may be directly used as the floor location where the terminal is located. If the determined floor location includes multiple, the multiple floor locations need to be further analyzed. To determine the specific floor location where the terminal is located, specifically, the implementation manner of the step S28 includes:
- Method 1 When a plurality of determined floor positions are included, referring to FIG. 6, the step S28 includes:
- Step S281 if the wireless signal data reported by the terminal includes multiple, calculate a probability that the signal identifier of each wireless signal number appears in each floor;
- Step S282 summarizing the probability of occurrence of each signal identifier in each floor
- step S283 the floor with the highest probability of aggregation is taken as the floor position where the terminal is located.
- the probability that the signal identifier of each wireless signal data appears in each floor is calculated first.
- the probability is set to 1.
- the probability that each signal identifier appears in each floor may also be determined according to the specific number of floors. For example, the current building includes 3 Floor, then, the probability that each signal identifier appears in each floor can be 1/3. It should be understood that the calculation manner of the probability that each signal identifier appears in each floor is not limited to the above two types, and other methods may be set according to actual needs, and details are not described herein again.
- the probability of each signal identifier appearing in each floor is summarized, for example, source A and source B appear on the first floor, and signals appear on the second floor.
- the summary result of the medium probability is 1/3.
- Step S28 when a plurality of determined floor positions are included, referring to FIG. 7, the step S28 includes:
- Step S284 if the wireless signal data reported by the terminal includes multiple, determining the signal strength corresponding to each wireless signal data appearing in each floor;
- Step S285 averaging the signal strengths of the respective wireless signal data appearing in each floor;
- step S286 the floor with the highest signal strength average is used as the floor position where the terminal is located.
- the server can extract the signal strength from the wireless signal data, after determining the signal strength corresponding to each wireless signal data appearing in each floor.
- the average signal strength of each wireless signal data appearing in each floor is averaged, and finally the floor with the highest signal strength average is used as the floor position where the terminal is located.
- the step S28 includes:
- Step S287 if the wireless signal data reported by the terminal includes multiple, calculate the number of wireless signal data covered in each floor;
- step S288 the floor covering the largest number of wireless signal data is used as the floor position where the terminal is located.
- the determined floor location includes a plurality of locations
- the wireless signal data reported by the terminal includes more than one
- the number of coverage wireless signal data in each floor is calculated first, and each floor is calculated.
- the number of wireless signal data covered in the sum is summarized, and finally the floor covering the largest number of wireless signal data is used as the floor position where the terminal is located.
- the specific floor location where the terminal is located is determined in three ways, so that the determination manner of the terminal floor is more flexible.
- an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores a floor location locating program, and when the floor location locating program is executed by the processor, the following operations are implemented:
- the determined floor location is fed back to the terminal for the terminal to display the received floor location in the display interface of the positioning application.
- the operation of matching the wireless signal data with the pre-stored signal database to determine the location of the floor where the terminal is located is also implemented:
- the determined floor location is taken as the floor location where the terminal is located.
- the operation of matching the wireless signal data with the pre-stored signal database to determine the location of the floor where the terminal is located is also implemented:
- the determined floor location is taken as the floor location where the terminal is located.
- the determined floor position includes a plurality of
- the floor position locating program when executed by the processor, an operation of determining the determined floor position as the floor position where the terminal is located is also implemented:
- the probability that the signal identifier of each wireless signal number appears in each floor is calculated
- the floor with the highest probability of aggregation is taken as the floor location where the terminal is located.
- the determined floor position includes a plurality of
- the floor position locating program when executed by the processor, an operation of determining the determined floor position as the floor position where the terminal is located is also implemented:
- the wireless signal data reported by the terminal includes multiple, determining a signal strength corresponding to each wireless signal data appearing in each floor;
- the floor with the highest signal strength average is taken as the floor position where the terminal is located.
- the determined floor position includes a plurality of
- the floor position locating program when executed by the processor, an operation of determining the determined floor position as the floor position where the terminal is located is also implemented:
- wireless signal data reported by the terminal includes multiple, calculate the number of wireless signal data covered in each floor;
- the floor covering the largest number of wireless signal data is taken as the floor position where the terminal is located.
- the wireless signal data uploaded by the terminal is first received, and then the wireless signal data is matched with the pre-stored signal database to determine the floor where the terminal is located.
- the location ultimately returns the determined floor location to the terminal for the terminal to display the received floor location in the display interface of the positioning application.
- the terminal In the indoor environment, the terminal first collects wireless signal data in the indoor environment through the built-in positioning application, and then the server determines the floor location information of the terminal according to the pre-stored signal database and the wireless signal data, thereby realizing the indoor environment. Accurate positioning.
- the invention further provides a floor position location system.
- the floor location location system includes a terminal and a server, such as the server described above;
- the terminal is configured to collect wireless signal data in an indoor environment by using a built-in positioning application
- the terminal first collects wireless signal data in an indoor environment through a built-in positioning application, and the wireless signal data includes a Wi-Fi signal, a Bluetooth signal, or a base station signal.
- the collected wireless signal data carries a signal identifier and a signal strength, wherein the signal identifier of the wireless signal data is an identifier of a signal source in an indoor environment, and the signal strength of the wireless signal data is a signal source sensed by the terminal.
- the signal strength and the strength of the signal strength are determined according to the distance between the terminal and the signal source. The closer the distance is, the stronger the signal strength is, and the farther the distance is, the weaker the signal strength is.
- the terminal collects the wireless signal data
- the collected wireless signal data is uploaded to the server, and the server feeds back the location of the floor where the terminal is located based on the received wireless signal data and the pre-stored signal database, and the server stores the data according to the wireless signal and the pre-stored data.
- the signal database which feeds back the location of the floor where the terminal is located, has been detailed in the above implementation, and will not be described herein.
- the terminal receives the floor location fed back by the server, the received floor location can be displayed in the display interface of the positioning application.
- the terminal collects wireless signal data in the indoor environment through the built-in positioning application, and then uploads the collected wireless signal data to the server, so that the server is based on the received wireless signal data and the pre-stored signal.
- the database feeds back the floor location where the terminal is located, finally receives the floor location feedback by the server, and displays the received floor location in the display interface of the positioning application.
- the terminal first collects wireless signal data in the indoor environment through the built-in positioning application, and then the server determines the floor location information of the terminal according to the pre-stored signal database and the wireless signal data, thereby realizing the indoor environment. Accurate positioning.
- the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
- the optical disc includes a plurality of instructions for causing a terminal device (which may be a fixed terminal, such as an IoT smart device, including a smart home such as a smart air conditioner, a smart light, a smart power source, a smart router, or the like; or a mobile terminal, including a smart device.
- a terminal device which may be a fixed terminal, such as an IoT smart device, including a smart home such as a smart air conditioner, a smart light, a smart power source, a smart router, or the like; or a mobile terminal, including a smart device.
- a number of networked devices such as cell phones, wearable networked AR/VR devices, smart speakers, self-driving cars, and the like, perform the methods described in various embodiments of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种楼层位置定位方法,应用于服务器,所述楼层位置定位方法包括:接收终端上传的无线信号数据,其中,所述无线信号数据由终端通过内置的定位应用在室内环境中采集;将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置;将确定的楼层位置反馈至所述终端,以供所述终端在定位应用的显示界面中显示接收到的楼层位置。本发明还公开了一种服务器、计算机可读存储介质和楼层位置定位***。本发明实现了室内环境中楼层位置的准确定位。
Description
技术领域
本发明涉及终端技术领域,尤其涉及一种楼层位置定位方法、***、服务器和计算机可读存储介质。
背景技术
随着人们生活水平的提高,人们的日常生活越来越多集中在大型建筑物内,如处于商业中心和车站等建筑结构复杂、人员密集的室内环境,在用户处于室内环境时,由于GPS(Global
Positioning System,全球定位***)在室内的定位受限,用户往往无法确定自己当前所处的楼层位置。
发明内容
本发明的主要目的在于提供一种楼层位置定位方法、***、服务器和计算机可读存储介质,旨在解决现有技术,无法在室内环境中确定当前所处的楼层位置信息的技术问题。
为实现上述目的,本发明提供一种楼层位置定位方法,应用于服务器,所述楼层位置定位方法包括:
接收终端上传的无线信号数据,其中,所述无线信号数据由终端通过内置的定位应用在室内环境中采集;
将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置;
将确定的楼层位置反馈至所述终端,以供所述终端在定位应用的显示界面中显示接收到的楼层位置。
此外,为实现上述目的,本发明还提供一种服务器,所述服务器包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的楼层位置定位程序,所述楼层位置定位程序被所述处理器执行时实现如上文所述的楼层位置定位方法的步骤。
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有楼层位置定位程序,所述楼层位置定位程序被处理器执行时实现如上文所述的楼层位置定位方法的步骤。
此外,为实现上述目的,本发明还提供一种楼层位置定位***,所述楼层位置定位***包括终端和服务器,所述服务器上文所述的服务器;
所述终端,用于通过内置的定位应用在室内环境中采集无线信号数据;
将采集到的无线信号数据上传至服务器,以供服务器基于接收到的无线信号数据以及预存信号数据库,反馈所述终端所在的楼层位置;
接收所述服务器反馈的楼层位置,并在定位应用的显示界面中显示接收到的楼层位置。
本发明提出的楼层位置定位方法,服务器先接收终端上传的无线信号数据,然后将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置,最终将确定的楼层位置反馈至所述终端,以供所述终端在定位应用的显示界面中显示接收到的楼层位置。本发明在室内环境中,由终端先通过内置的定位应用在室内环境中采集无线信号数据,再由服务器根据预存信号数据库及所述无线信号数据,确定终端所在的楼层位置信息,实现了室内环境的准确定位。
附图说明
图1是本发明实施例方案涉及的硬件运行环境的服务器结构示意图;
图2为本发明楼层位置定位方法第一实施例的流程示意图;
图3为本发明较佳实施场景示意图;
图4为图2中步骤S20的细化流程示意图;
图5为本发明楼层位置定位方法第二实施例的流程示意图;
图6为图5中步骤S28的第一细化流程示意图;
图7为图5中步骤S28的第二细化流程示意图;
图8为图5中步骤S28的第三细化流程示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明实施例的解决方案主要是:服务器先接收终端上传的无线信号数据,然后将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置,最终将确定的楼层位置反馈至所述终端,以供所述终端在定位应用的显示界面中显示接收到的楼层位置。以解决现有的室内环境,无法准确定位的问题。
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的服务器结构示意图。
本发明实施例服务器可以是单路服务器、也可以是多路服务器或分布式服务器。
如图1所示,该服务器可以包括:处理器1001,例如CPU,通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口(例如用于连接有线键盘、有线鼠标等)、无线接口(例如用于连接无线键盘、无线鼠标)。网络接口1004可选的可以包括标准的有线接口(用于连接有线网络)、无线接口(如WI-FI接口、蓝牙接口、红外线接口、探针接口、3G/4G/5G联网通信接口等,用于连接无线网络)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile
memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述主板1001的存储装置。
可选地,服务器还可以包括摄像头、RF(Radio
Frequency,射频)电路,传感器、音频电路、WiFi模块等等。
本领域技术人员可以理解,图1中示出的服务器结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机可读存储介质的存储器1005中可以包括操作***、网络通信模块、用户接口模块以及楼层位置定位程序。其中,操作***是管理和控制终端与软件资源的程序,支持网络通信模块、用户接口模块、楼层位置定位程序以及其他程序或软件的运行;网络通信模块用于管理和控制网络接口1002;用户接口模块用于管理和控制用户接口1003。
在图1所示的终端中,所述服务器通过处理器1001调用存储器1005中存储的楼层位置定位程序,以实现以下步骤:
接收终端上传的无线信号数据,其中,所述无线信号数据由终端通过内置的定位应用在室内环境中采集;
将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置;
将确定的楼层位置反馈至所述终端,以供所述终端在定位应用的显示界面中显示接收到的楼层位置。
进一步地,所述服务器通过处理器1001调用存储器1005中存储的楼层位置定位程序,还实现将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置的步骤:
确定接收到的无线信号数据对应的信号标识和信号强度;
在所述预存信号数据库中,查找所述信号标识对应的信号源所包含的楼层区域;
在查找的楼层区域中,确定检测到所述信号强度的信号源对应的楼层位置;
将确定的楼层位置作为所述终端所在的楼层位置。
进一步地,所述服务器通过处理器1001调用存储器1005中存储的楼层位置定位程序,还实现将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置的步骤:
确定接收到的无线信号数据对应的信号标识;
将确定的信号标识与预存信号数据库进行比对,以确定预存信号数据库中与所述信号标识匹配的预存信号标识;
基于预存信号数据库中,预存信号标识与楼层位置的映射关系,确定所述无线信号数据的信号标识对应的楼层位置;
将确定的楼层位置作为所述终端所在的楼层位置。
进一步地,在确定的楼层位置包括多个时,所述服务器通过处理器1001调用存储器1005中存储的楼层位置定位程序,还实现将确定的楼层位置作为所述终端所在的楼层位置的步骤:
若终端上报的无线信号数据包括多个,则计算每个无线信号数的信号标识在每个楼层中出现的概率;
对每个楼层中的各个信号标识出现的概率进行汇总;
将汇总后概率最大的楼层作为所述终端所在的楼层位置。
进一步地,在确定的楼层位置包括多个时,所述服务器通过处理器1001调用存储器1005中存储的楼层位置定位程序,还实现将确定的楼层位置作为所述终端所在的楼层位置的步骤:
若终端上报的无线信号数据包括多个,则确定每个楼层中出现的各个无线信号数据对应的信号强度;
对每个楼层中出现的各个无线信号数据的信号强度进行求平均值;
将信号强度均值最大的楼层作为所述终端所在的楼层位置。
进一步地,在确定的楼层位置包括多个时,所述服务器通过处理器1001调用存储器1005中存储的楼层位置定位程序,还实现将确定的楼层位置作为所述终端所在的楼层位置的步骤:
若终端上报的无线信号数据包括多个,则计算每个楼层中涵盖的无线信号数据的个数;
将涵盖无线信号数据的个数最多的楼层作为所述终端所在的楼层位置。
本发明提出的技术方案,服务器通过处理器调用存储器中存储的楼层位置定位程序,先接收终端上传的无线信号数据,然后将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置,最终将确定的楼层位置反馈至所述终端,以供所述终端在定位应用的显示界面中显示接收到的楼层位置。本发明在室内环境中,由终端先通过内置的定位应用在室内环境中采集无线信号数据,再由服务器根据预存信号数据库及所述无线信号数据,确定终端所在的楼层位置信息,实现了室内环境的准确定位。
基于上述终端硬件结构,提出本发明楼层位置定位方法的各个实施例。
参照图2,图2为本发明楼层位置定位方法第一实施例的流程示意图。
在本实施例中,所述楼层位置定位方法应用于服务器,所述楼层位置定位方法包括:
接收终端上传的无线信号数据,其中,所述无线信号数据由终端通过内置的定位应用在室内环境中采集;
将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置;
将确定的楼层位置反馈至所述终端,以供所述终端在定位应用的显示界面中显示接收到的楼层位置。
在本实施例中,所述楼层位置定位方法应用于服务器中,所述服务器如图1所示的服务器。所述服务器接收终端上传的无线信号数据之前,先建立信号数据库,所述信号数据库的建立方式包括:
步骤a,服务器记录室内环境中每个楼层包含的各个信号源的位置,其中,信号源用于发射无线信号,以便终端接收无线信号数据;
步骤b,在记录每个楼层包含的各个信号源之后,记录每个楼层中各个位置检测到各个信号源的信号强度;
步骤c,将每个位置检测到的信号强度及信号源的信号标识,与对应的每个位置关联存储;
步骤d,基于关联存储的位置信息、信号标识和信号强度建立信号数据库。
即,信号数据库的建立方式,是由服务器先记录每个楼层中包含的各个信号源的位置,其中,各个信号源的位置可以由终端采集后上传至服务器,还可以是服务器通过前端页面接收用户输入并记录的位置。在记录每个楼层中包含的各个信号源的位置之后,服务器再记录每个楼层中各个位置检测到各个信号源的信号强度,需要说明的是,由于每个楼层中的信号源包含多个,因此,每个楼层中的每个位置检测到的信号源同样也有多个,相应的,楼层中每个位置记录的信号强度也包含多个。
为更好理解,举例如下:参照图3,若当前在室内环境包含三个信号源,分别是信号源A、信号源B和信号源C,三个信号源可以同一个楼层,也可以位于不同的楼层中,此处不做限定。若当前以M点作为检测点,在M点的位置检测各个信号源的信号强度,如图3所示,M点与信号源B、信号源A和信号源C之间的距离依次减小,因此,在M点检测到信号源B、信号源A和信号源C的信号强度是依次增加的,例如,在M点检测到信号源B的信号强度是-15dBm,M点与检测到信号源A的信号强度是-11dBm,M点与检测到信号源C的信号强度是-6dBm。
本实施例中,每个位置检测出信号源的信号强度是根据检测点与信号源的距离确定的,距离越长,检测出的信号强度越弱,距离越短,检测出的信号强度越强。可以理解,在该楼层中选择另一个点作为检测点时,同样可以检测出三个信号源的信号强度。需要说明的是,检测点不同,检测出的各个信号源的信号强度也不同。采用这种方式,即可得到各个位置中检测出的各个信号源的信号强度。
在确定各个位置检测到各个信号源的信号强度之后,将每个位置检测到的信号强度及信号源的信号标识,与对应的每个位置关联存储,例如,继续参照图3,将M点与信号源A及-11dBm、与信号源B及-15dBm以及与信号源C及-6dBm关联存储。最终,基于关联存储的位置信息、信号标识和信号强度,即可建立信号数据库。
可以理解的是,该信号数据库中记录了室内环境的每个楼层中,每个位置与各个信号源之间的距离,以及每个位置检测到的各个信号源的信号强度。后续要进行楼层位置定位时,只要终端采集到各个信号源的无线信号数据(包含信号标识和信号强度),服务器即可根据预存信号数据库,确定终端的楼层位置。
以下是本实施例中实现楼层位置定位的具体步骤:
步骤S10,接收终端上传的无线信号数据,其中,所述无线信号数据由终端通过内置的定位应用在室内环境中采集;
在本实施例中,服务器先接收终端上报的无线信号数据,该无线信号数据是由终端通过内置的定位应用在室内环境采集的无线信号数据。终端上传的无线信号数据可选包括1个或多个,无线信号数据的具体个数根据信号源确定,即,终端在检测到多个信号源时,上传多个无线信号数据,在检测到1个信号源时,上传1个无线信号数据。所述无线信号数据包括Wi-Fi信号、蓝牙信号或基站信号。
步骤S20,将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置;
在接收到终端上传的无线信号数据之后,服务器将接收到的无线信号数据与预存信号数据库进行匹配,即,将无线信号数据与预存信号数据库中的信号数据进行比对,以确定所述终端所在的楼层位置。
具体地,参照图4,所述步骤S20包括:
步骤S21,确定接收到的无线信号数据对应的信号标识和信号强度;
步骤S22,在所述预存信号数据库中,查找所述信号标识对应的信号源所包含的楼层区域;
步骤S23,在查找的楼层区域中,确定检测到所述信号强度的信号源对应的楼层位置;
步骤S24,将确定的楼层位置作为所述终端所在的楼层位置。
即,在本实施例中,在接收到终端上传的无线信号数据之后,提取所述无线信号数据携带的信号标识和信号强度,然后在预存信号数据库中,查找所述信号标识对应的信号源,再根据预存信号源所包含楼层区域,确定所述信号标识对应的信号源所包含的楼层区域。在查找到信号标识对应的信号源所包含的楼层区域之后,进一步查询能检测到该信号强度的信号源的具体楼层位置,即,在确定信号源包含的楼层之后,再确定能检测到该信号强度的信号源的具体楼层位置。
为更好理解,举例如下:继续参照图3,例如,服务器已经确定终端上报的无线信号数据为信号源A,在信号源A的信号发射能力较强时,在信号源A同一楼层的终端能检测到信号源A发射的无线信号数据,同样,在信号源A相邻楼层的终端也能检测到信号源A发射的无线信号数据,但是两个楼层的终端检测到的信号强度不同,因此,可根据信号源A中无线信号的涵盖范围,确定信号源所包含的楼层区域,然后,再在包含的楼层区域中,确定能检测到所述信号强度的信号源对应的楼层位置,例如,信号源A同一楼层的终端检测到的信号强度为-11
dBm,在信号源相邻楼层的终端检测到的信号强度为-6dBm,若服务器接收到无线信号数据的信号强度为-11 dBm,即可确定终端所在的楼层位置。
进一步地,在服务器接收到的无线信号数据包括多个时,提取的信号标识和信号强度也包含多个,在提取出各个信号标识及各个信号标识对应的信号强度之后,服务器在所述预存信号数据库中,查找与各个信号标识对应的信号源,以根据各个预存信号源所在的楼层区域,确定各个信号标识对应的信号源所在的楼层区域。在确定各个信号标识的信号源所在的楼层区域之后,进一步查询能检测到各个信号强度的信号源的具***置。具体的确定方式与上述一致,此处不做赘述。
步骤S30,将确定的楼层位置反馈至所述终端,以供所述终端在定位应用的显示界面中显示接收到的楼层位置。
服务器确定终端所在的楼层位置之后,即可将确定的楼层位置反馈至所述终端,以供所述终端在定位应用的显示界面中显示接收到的楼层位置信息。
本实施例提出的楼层位置定位方法,服务器先接收终端上传的无线信号数据,然后将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置,最终将确定的楼层位置反馈至所述终端,以供所述终端在定位应用的显示界面中显示接收到的楼层位置。本发明在室内环境中,由终端先通过内置的定位应用在室内环境中采集无线信号数据,再由服务器根据预存信号数据库及所述无线信号数据,确定终端所在的楼层位置信息,实现了室内环境的准确定位。
进一步地,基于第一实施例提出本发明楼层位置定位方法的第二实施例。
楼层位置定位方法的第二实施例与楼层位置定位方法的第一实施例的区别在于,在本实施例中,参照图5,所述步骤S20还可以包括:
步骤S25,确定接收到的无线信号数据对应的信号标识;
步骤S26,将确定的信号标识与预存信号数据库进行比对,以确定预存信号数据库中与所述信号标识匹配的预存信号标识;
步骤S27,基于预存信号数据库中,预存信号标识与楼层位置的映射关系,确定所述无线信号数据的信号标识对应的楼层位置;
步骤S28,将确定的楼层位置作为所述终端所在的楼层位置。
在本实施例中,在接收到终端上传的无线信号数据之后,服务器将接收到的无线信号数据与预存信号数据库进行匹配,即,将无线信号数据与预存信号数据库中的信号数据进行比对,以确定所述终端所在的楼层位置。具体地:服务器先确定接收到的无线信号数据对应的信号标识,在确定无线信号数据对应的信号标识之后,服务器将确定的信号标识与预存信号数据库进行比对,以在预存信号数据库中确定与所述信号标识匹配的预存信号标识,然后基于预存信号数据库中,预存信号标识与楼层位置的映射关系,即可确定所述无线信号数据的信号标识对应的楼层位置,最终将该确定的楼层位置作为所述终端所在的楼层位置。
在本实施例中,若确定的楼层位置只有一个,那么可直接将该确定的楼层位置作为终端所在的楼层位置,若确定的楼层位置包括多个时,需要对多个楼层位置进行进一步地分析,以确定终端所在的具体楼层位置,具体地,所述步骤S28的实施方式包括:
1)方式一、在确定的楼层位置包括多个时,参照图6,所述步骤S28包括:
步骤S281,若终端上报的无线信号数据包括多个,则计算每个无线信号数的信号标识在每个楼层中出现的概率;
步骤S282,对每个楼层中的各个信号标识出现的概率进行汇总;
步骤S283,将汇总后概率最大的楼层作为所述终端所在的楼层位置。
在本实施方式中,在确定的楼层位置包括多个时,若终端上报的无线信号数据也包括多个,此时,先计算每个无线信号数据的信号标识在每个楼层中出现的概率,本实施例中,可选信号标识在一个楼层出现时,概率设置为1,此外,每个信号标识在每个楼层中出现的概率还可根据具体的楼层数量确定,例如,当前楼宇包括3个楼层,那么,每个信号标识在每个楼层中出现的概率可选为1/3。应当理解的是,每个信号标识在每个楼层中出现的概率的计算方式不限于上述两种,还可根据实际需要设置其他的方式,此处不再一一赘述。在计算出每个信号标识在每个楼层出现的概率之后,对每个楼层中出现的各个信号标识的概率进行汇总,例如,第一楼层出现信号源A和信号源B,第二楼层出现信号源A、信号源B和信号源C,第三楼层出现信号源B,那么,可得到第一楼层中概率的汇总结果为2/3,第二楼层中概率的汇总结果为1,第二楼层中概率的汇总结果为1/3。在对各个楼层出现的概率进行汇总之后,将汇总后概率最大的楼层作为所述终端所在的楼层位置,即,将第二楼层作为终端所在的楼层位置。
2)方式二、在确定的楼层位置包括多个时,参照图7,所述步骤S28包括:
步骤S284,若终端上报的无线信号数据包括多个,则确定每个楼层中出现的各个无线信号数据对应的信号强度;
步骤S285,对每个楼层中出现的各个无线信号数据的信号强度进行求平均值;
步骤S286,将信号强度均值最大的楼层作为所述终端所在的楼层位置。
在本实施方式中,在确定的楼层位置包括多个时,若终端上报的无线信号数据也包括多个,此时,先确定每个楼层中出现的各个无线信号数据对应的信号强度,其中,信号强度是终端上报无线信号数据时,无线信号数据中携带的信号强度,因此,服务器从无线信号数据中可提取出信号强度,在确定每个楼层中出现的各个无线信号数据对应的信号强度之后,对每个楼层中出现的各个无线信号数据的信号强度进行求平均值,最终将信号强度均值最大的楼层作为终端所在的楼层位置。
为更好理解本实施方式,举例如下:继续参照图3,假设信号源A和信号源C位于第一楼层,信号源B位于第二楼层,且终端检测到的信号源A的信号强度为-11
dBm,信号源C的信号强度是-6 dBm,信号源B的信号强度为-15
dBm,那么,经过求平均值发现,第一楼层的信号强度均值为-17/2=-8.5dBm,第二楼层的信号强度均值为-15dBm,即可确定第一楼层为终端所在楼层的位置。
3)方式三、在确定的楼层位置包括多个时,参照图8,所述步骤S28包括:
步骤S287,若终端上报的无线信号数据包括多个,则计算每个楼层中涵盖的无线信号数据的个数;
步骤S288,将涵盖无线信号数据的个数最多的楼层作为所述终端所在的楼层位置。
在本实施方式中,在确定的楼层位置包括多个时,若终端上报的无线信号数据也包括多个,此时,先计算每个楼层中覆盖无线信号数据的个数,并对每个楼层中覆盖的无线信号数据的数量进行汇总,最终将涵盖无线信号数据的个数最多的楼层作为所述终端所在的楼层位置。
以上所列举出的三种确定具体楼层位置的方式仅仅为示例性的,本领域技术人员利用本发明的技术思想,根据其具体需求所提出的其它各种确定具体楼层位置方式均在本发明的保护范围内,在此不进行一一穷举。
可以理解,本实施例中,通过三种方式确定终端所在的具体楼层位置,使得终端楼层的确定方式更加灵活。
此外,本发明实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有楼层位置定位程序,所述楼层位置定位程序被处理器执行时实现如下操作:
接收终端上传的无线信号数据,其中,所述无线信号数据由终端通过内置的定位应用在室内环境中采集;
将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置;
将确定的楼层位置反馈至所述终端,以供所述终端在定位应用的显示界面中显示接收到的楼层位置。
进一步地,所述楼层位置定位程序被处理器执行时,还实现将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置的操作:
确定接收到的无线信号数据对应的信号标识和信号强度;
在所述预存信号数据库中,查找所述信号标识对应的信号源所包含的楼层区域;
在查找的楼层区域中,确定检测到所述信号强度的信号源对应的楼层位置;
将确定的楼层位置作为所述终端所在的楼层位置。
进一步地,所述楼层位置定位程序被处理器执行时,还实现将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置的操作:
确定接收到的无线信号数据对应的信号标识;
将确定的信号标识与预存信号数据库进行比对,以确定预存信号数据库中与所述信号标识匹配的预存信号标识;
基于预存信号数据库中,预存信号标识与楼层位置的映射关系,确定所述无线信号数据的信号标识对应的楼层位置;
将确定的楼层位置作为所述终端所在的楼层位置。
进一步地,在确定的楼层位置包括多个时,所述楼层位置定位程序被处理器执行时,还实现将将确定的楼层位置作为所述终端所在的楼层位置的操作:
若终端上报的无线信号数据包括多个,则计算每个无线信号数的信号标识在每个楼层中出现的概率;
对每个楼层中的各个信号标识出现的概率进行汇总;
将汇总后概率最大的楼层作为所述终端所在的楼层位置。
进一步地,在确定的楼层位置包括多个时,所述楼层位置定位程序被处理器执行时,还实现将将确定的楼层位置作为所述终端所在的楼层位置的操作:
若终端上报的无线信号数据包括多个,则确定每个楼层中出现的各个无线信号数据对应的信号强度;
对每个楼层中出现的各个无线信号数据的信号强度进行求平均值;
将信号强度均值最大的楼层作为所述终端所在的楼层位置。
进一步地,在确定的楼层位置包括多个时,所述楼层位置定位程序被处理器执行时,还实现将将确定的楼层位置作为所述终端所在的楼层位置的操作:
若终端上报的无线信号数据包括多个,则计算每个楼层中涵盖的无线信号数据的个数;
将涵盖无线信号数据的个数最多的楼层作为所述终端所在的楼层位置。
本发明提出的技术方案,所述楼层位置定位程序被处理器执行时,先接收终端上传的无线信号数据,然后将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置,最终将确定的楼层位置反馈至所述终端,以供所述终端在定位应用的显示界面中显示接收到的楼层位置。本发明在室内环境中,由终端先通过内置的定位应用在室内环境中采集无线信号数据,再由服务器根据预存信号数据库及所述无线信号数据,确定终端所在的楼层位置信息,实现了室内环境的准确定位。
本发明进一步提供一种楼层位置定位***。
所述楼层位置定位***包括终端和服务器,所述服务器如上文所述的服务器;
所述终端,用于通过内置的定位应用在室内环境中采集无线信号数据;
将采集到的无线信号数据上传至服务器,以供服务器基于接收到的无线信号数据以及预存信号数据库,反馈所述终端所在的楼层位置;
接收所述服务器反馈的楼层位置,并在定位应用的显示界面中显示接收到的楼层位置。
在本实施例中,终端先通过内置的定位应用在室内环境中采集无线信号数据,所述无线信号数据包括Wi-Fi信号、蓝牙信号或基站信号。需要说明的是,采集的所述无线信号数据携带有信号标识和信号强度,其中,无线信号数据的信号标识是室内环境中信号源的标识,无线信号数据的信号强度是终端感应到信号源的信号强度,信号强度的强度值根据终端与信号源的距离确定,距离越近,信号强度越强,距离越远,信号强度越弱。
在终端采集到无线信号数据之后,将采集到的无线信号数据上传至服务器,由服务器基于接收到的无线信号数据以及预存信号数据库,反馈所述终端所在的楼层位置,服务器根据无线信号数据以及预存信号数据库,反馈所述终端所在的楼层位置已经在上述实施中详述,此处不再赘述。当终端接收到所述服务器反馈的楼层位置时,即可在定位应用的显示界面中显示接收到的楼层位置。
本实施例提出的技术方案,终端通过先通过内置的定位应用在室内环境中采集无线信号数据,然后将采集到的无线信号数据上传至服务器,以供服务器基于接收到的无线信号数据以及预存信号数据库,反馈所述终端所在的楼层位置,最终接收所述服务器反馈的楼层位置,并在定位应用的显示界面中显示接收到的楼层位置。本发明在室内环境中,由终端先通过内置的定位应用在室内环境中采集无线信号数据,再由服务器根据预存信号数据库及所述无线信号数据,确定终端所在的楼层位置信息,实现了室内环境的准确定位。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是固定终端,如物联网智能设备,包括智能空调、智能电灯、智能电源、智能路由器等智能家居;也可以是移动终端,包括智能手机、可穿戴的联网AR/VR装置、智能音箱、自动驾驶汽车等诸多联网设备)执行本发明各个实施例所述的方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (14)
- 一种楼层位置定位方法,其特征在于,应用于服务器,所述楼层位置定位方法包括:接收终端上传的无线信号数据,其中,所述无线信号数据由终端通过内置的定位应用在室内环境中采集;将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置;将确定的楼层位置反馈至所述终端,以供所述终端在定位应用的显示界面中显示接收到的楼层位置。
- 如权利要求1所述的楼层位置定位方法,其特征在于,所述将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置的步骤包括:确定接收到的无线信号数据对应的信号标识和信号强度;在所述预存信号数据库中,查找所述信号标识对应的信号源所包含的楼层区域;在查找的楼层区域中,确定检测到所述信号强度的信号源对应的楼层位置;将确定的楼层位置作为所述终端所在的楼层位置。
- 如权利要去1所述的楼层位置定位方法,其特征在于,所述将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置的步骤还包括:确定接收到的无线信号数据对应的信号标识;将确定的信号标识与预存信号数据库进行比对,以确定预存信号数据库中与所述信号标识匹配的预存信号标识;基于预存信号数据库中,预存信号标识与楼层位置的映射关系,确定所述无线信号数据的信号标识对应的楼层位置;将确定的楼层位置作为所述终端所在的楼层位置。
- 如权利要去2所述的楼层位置定位方法,其特征在于,所述将所述无线信号数据与预存信号数据库进行匹配,以确定所述终端所在的楼层位置的步骤还包括:确定接收到的无线信号数据对应的信号标识;将确定的信号标识与预存信号数据库进行比对,以确定预存信号数据库中与所述信号标识匹配的预存信号标识;基于预存信号数据库中,预存信号标识与楼层位置的映射关系,确定所述无线信号数据的信号标识对应的楼层位置;将确定的楼层位置作为所述终端所在的楼层位置。
- 如权利要求3所述的楼层位置定位方法,其特征在于,在确定的楼层位置包括多个时,所述将确定的楼层位置作为所述终端所在的楼层位置的步骤包括:若终端上报的无线信号数据包括多个,则计算每个无线信号数的信号标识在每个楼层中出现的概率;对每个楼层中的各个信号标识出现的概率进行汇总;将汇总后概率最大的楼层作为所述终端所在的楼层位置。
- 如权利要求4所述的楼层位置定位方法,其特征在于,在确定的楼层位置包括多个时,所述将确定的楼层位置作为所述终端所在的楼层位置的步骤包括:若终端上报的无线信号数据包括多个,则计算每个无线信号数的信号标识在每个楼层中出现的概率;对每个楼层中的各个信号标识出现的概率进行汇总;将汇总后概率最大的楼层作为所述终端所在的楼层位置。
- 如权利要求3所述的楼层位置定位方法,其特征在于,在确定的楼层位置包括多个时,所述将确定的楼层位置作为所述终端所在的楼层位置的步骤包括:若终端上报的无线信号数据包括多个,则确定每个楼层中出现的各个无线信号数据对应的信号强度;对每个楼层中出现的各个无线信号数据的信号强度进行求平均值;将信号强度均值最大的楼层作为所述终端所在的楼层位置。
- 如权利要求4所述的楼层位置定位方法,其特征在于,在确定的楼层位置包括多个时,所述将确定的楼层位置作为所述终端所在的楼层位置的步骤包括:若终端上报的无线信号数据包括多个,则确定每个楼层中出现的各个无线信号数据对应的信号强度;对每个楼层中出现的各个无线信号数据的信号强度进行求平均值;将信号强度均值最大的楼层作为所述终端所在的楼层位置。
- 如权利要求3所述的楼层位置定位方法,其特征在于,在确定的楼层位置包括多个时,所述将确定的楼层位置作为所述终端所在的楼层位置的步骤包括:若终端上报的无线信号数据包括多个,则计算每个楼层中涵盖的无线信号数据的个数;将涵盖无线信号数据的个数最多的楼层作为所述终端所在的楼层位置。
- 如权利要求4所述的楼层位置定位方法,其特征在于,在确定的楼层位置包括多个时,所述将确定的楼层位置作为所述终端所在的楼层位置的步骤包括:若终端上报的无线信号数据包括多个,则计算每个楼层中涵盖的无线信号数据的个数;将涵盖无线信号数据的个数最多的楼层作为所述终端所在的楼层位置。
- 一种服务器,其特征在于,所述服务器包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的楼层位置定位程序,所述楼层位置定位程序被所述处理器执行时实现如权利要求1所述的楼层位置定位方法的步骤。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有楼层位置定位程序,所述楼层位置定位程序被处理器执行时实现如权利要求1所述的楼层位置定位方法的步骤。
- 一种楼层位置定位***,其特征在于,所述楼层位置定位***包括终端和服务器,所述服务器如权利要求11所述的服务器;所述终端,用于通过内置的定位应用在室内环境中采集无线信号数据;将采集到的无线信号数据上传至服务器,以供服务器基于接收到的无线信号数据以及预存信号数据库,反馈所述终端所在的楼层位置;接收所述服务器反馈的楼层位置,并在定位应用的显示界面中显示接收到的楼层位置。
- 如权利要求11所述的楼层位置定位***,其特征在于,所述无线信号数据包括信号标识和信号强度;所述无线信号数据为Wi-Fi信号、蓝牙信号或基站信号。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710945986.3 | 2017-10-10 | ||
CN201710945986.3A CN107835490A (zh) | 2017-10-10 | 2017-10-10 | 楼层位置定位方法、***、服务器和计算机可读存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019071762A1 true WO2019071762A1 (zh) | 2019-04-18 |
Family
ID=61647827
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/114367 WO2019071762A1 (zh) | 2017-10-10 | 2017-12-04 | 楼层位置定位方法、***、服务器和计算机可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107835490A (zh) |
WO (1) | WO2019071762A1 (zh) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110401966B (zh) * | 2018-04-24 | 2022-09-16 | ***通信集团广东有限公司 | 无线网络性能评估监控方法、装置、电子设备和存储介质 |
CN109613470A (zh) * | 2018-12-04 | 2019-04-12 | 拉扎斯网络科技(上海)有限公司 | 信息处理方法、装置、存储介质和电子设备 |
CN110069520A (zh) * | 2019-03-16 | 2019-07-30 | 平安城市建设科技(深圳)有限公司 | 数据采集方法、数据采集终端、后台服务器及存储介质 |
CN110430525B (zh) * | 2019-06-28 | 2021-03-23 | 华为技术有限公司 | 一种定位方法、服务器与移动终端 |
CN110763235A (zh) * | 2019-10-18 | 2020-02-07 | 深圳智慧园区信息技术有限公司 | 一种跨楼层室内定位导航***及导航方法 |
CN111294746B (zh) * | 2020-02-05 | 2021-07-27 | 北京爱笔科技有限公司 | 一种定位方法、装置及*** |
CN111999721B (zh) * | 2020-08-21 | 2024-01-30 | 深圳优地科技有限公司 | 楼层识别方法、装置、***及计算机可读存储介质 |
CN112584491B (zh) * | 2020-12-30 | 2022-06-28 | 重庆赤木科技有限公司 | 基于WiFi探针的目标定位*** |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103152697A (zh) * | 2013-03-25 | 2013-06-12 | 南京大学 | 一种利用智能手机Wi-Fi功能实现楼层自动定位的方法 |
CN106060862A (zh) * | 2016-05-05 | 2016-10-26 | 成都西加云杉科技有限公司 | 定位参考数据采集方法、更新方法及*** |
CN106060774A (zh) * | 2016-05-10 | 2016-10-26 | 湖南基石通信技术有限公司 | 一种通信终端及定位方法 |
CN107153171A (zh) * | 2016-03-04 | 2017-09-12 | 腾讯科技(深圳)有限公司 | 室内定位方法、装置以及*** |
-
2017
- 2017-10-10 CN CN201710945986.3A patent/CN107835490A/zh active Pending
- 2017-12-04 WO PCT/CN2017/114367 patent/WO2019071762A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103152697A (zh) * | 2013-03-25 | 2013-06-12 | 南京大学 | 一种利用智能手机Wi-Fi功能实现楼层自动定位的方法 |
CN107153171A (zh) * | 2016-03-04 | 2017-09-12 | 腾讯科技(深圳)有限公司 | 室内定位方法、装置以及*** |
CN106060862A (zh) * | 2016-05-05 | 2016-10-26 | 成都西加云杉科技有限公司 | 定位参考数据采集方法、更新方法及*** |
CN106060774A (zh) * | 2016-05-10 | 2016-10-26 | 湖南基石通信技术有限公司 | 一种通信终端及定位方法 |
Also Published As
Publication number | Publication date |
---|---|
CN107835490A (zh) | 2018-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019071762A1 (zh) | 楼层位置定位方法、***、服务器和计算机可读存储介质 | |
WO2018082482A1 (zh) | 一种网络共享方法、接入网络方法及*** | |
WO2020045950A1 (en) | Method, device, and system of selectively using multiple voice data receiving devices for intelligent service | |
WO2019019374A1 (zh) | 智能语音设备控制家电的方法、装置及*** | |
WO2016200146A1 (en) | Portable device, content reproducing device, and the method thereof | |
WO2014098441A1 (en) | System and method of controlling surrounding devices, based on topology | |
WO2019114269A1 (zh) | 一种节目续播方法、电视设备及计算机可读存储介质 | |
WO2015122608A1 (ko) | 포스 주변기기 컨트롤러, 모바일 호스트 디바이스 및 그들의 제어방법 | |
WO2018120457A1 (zh) | 数据处理方法、装置、设备及计算机可读存储介质 | |
WO2015158132A1 (zh) | 语音控制方法和*** | |
WO2015139639A1 (en) | Method and apparatus for displaying application icons on terminal | |
WO2017010760A1 (en) | Hub apparatus and method for providing service thereof | |
WO2019051890A1 (zh) | 终端控制方法、装置及计算机可读存储介质 | |
WO2017201899A1 (zh) | 连接蓝牙设备的方法及装置 | |
WO2019024336A1 (zh) | 数据查询方法、装置及计算机可读存储介质 | |
WO2019090966A1 (zh) | 双通道卫星导航差分数据接收方法、接收机及存储介质 | |
WO2018233367A1 (zh) | 立案方法、装置、终端和计算机可读存储介质 | |
WO2018233221A1 (zh) | 多窗口声音输出方法、电视机以及计算机可读存储介质 | |
WO2014189323A1 (en) | Apparatus and method for performing wireless docking operation in communication system supporting universal plug and play protocol | |
WO2018000856A1 (zh) | 一种实现SDN Overlay网络报文转发的方法、终端、设备及计算机可读存储介质 | |
WO2019041851A1 (zh) | 家电售后咨询方法、电子设备和计算机可读存储介质 | |
WO2019071771A1 (zh) | 无线信号指纹信息的校准方法、***、服务器和介质 | |
WO2019062194A1 (zh) | 家电设备及其控制方法、***及计算机可读存储介质 | |
WO2019172565A1 (ko) | 외부 장치와의 연결을 위한 전자 장치 및 방법 | |
WO2018149191A1 (zh) | 保单核保的方法、装置、设备及计算机可读存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17928800 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/09/2020) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17928800 Country of ref document: EP Kind code of ref document: A1 |