Positioning method and device of mobile terminal and electronic equipment

By obtaining the connection information between the mobile terminal and the source, determining the floor and area, and combining with the local plan, the problem of low positioning accuracy of mobile terminals in the building is solved, and more accurate position determination is achieved.

CN119172852APending Publication Date: 2024-12-20CHINA TELECOM CORP LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411323106.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

In the prior art, when the mobile terminal is positioned in a building, the positioning accuracy is low, and the specific location cannot be further determined, resulting in the inability to perform the expected operations.

Method used

By obtaining connection information between the mobile terminal and the first source within the building and the multiple second sources outside the building, including distance values ​​and signal strength, the floor and area are determined, and the terminal location is determined in combination with a local plan.

Benefits of technology

It realizes the accurate position determination of the mobile terminal in the building, improves the positioning accuracy, and solves the problem of inaccurate positioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119172852A_ABST
    Figure CN119172852A_ABST
Patent Text Reader

Abstract

The invention discloses a positioning method and device of a mobile terminal and electronic equipment. Relates to the technical field of communication. The method comprises the following steps: acquiring first connection information between the mobile terminal and a first information source, and acquiring second connection information between the mobile terminal and M second information sources; determining a target floor where the mobile terminal is located in the target building according to the M pieces of second connection information, and obtaining an initial plane graph of the target building on the target floor; determining a first area of the mobile terminal in the initial planar graph according to the M pieces of second connection information, and determining a second area of the mobile terminal in the initial planar graph according to the first connection information; and acquiring a local plane graph located in an intersection area of the first area and the second area, and determining position information of the mobile terminal according to the local plane graph. Through the method and the device, the problem of relatively low positioning accuracy of the mobile terminal in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a positioning method, device and electronic device for a mobile terminal. Background Art

[0002] As the demand for positioning of mobile terminals continues to increase, the accuracy requirements for positioning results are also increasing. When a mobile terminal is located in a building and there is only one signal source in the building, the mobile terminal can only be located in the building based on the connection between the mobile terminal and the signal source, and the more specific location information of the mobile terminal cannot be further determined. In some scenarios, the expected operation cannot be performed on the mobile terminal due to inaccurate positioning.

[0003] With regard to the problem of low positioning accuracy of mobile terminals in related technologies, no effective solution has been proposed so far. Summary of the invention

[0004] The present application provides a positioning method, device and electronic device for a mobile terminal to solve the problem of low positioning accuracy of mobile terminals in the related art.

[0005] According to one aspect of the present application, a method for positioning a mobile terminal is provided. The method includes: obtaining first connection information between a mobile terminal and a first information source, and obtaining second connection information between the mobile terminal and M second information sources, wherein the first information source and the mobile terminal are deployed in a target building, and the M second information sources are deployed outside the target building, and the deployment positions of the second information sources are different, and the first connection information and the second connection information contain distance values ​​and signal strengths, and M is a positive integer; determining the target floor of the mobile terminal in the target building according to the M second connection information, and obtaining an initial plan of the target building on the target floor; determining a first area of ​​the mobile terminal in the initial plan according to the M second connection information, and determining a second area of ​​the mobile terminal in the initial plan according to the first connection information; obtaining a local plan at the intersection of the first area and the second area, and determining the location information of the mobile terminal according to the local plan.

[0006] Optionally, obtaining the first connection information between the mobile terminal and the first information source includes: obtaining the first transmission duration required for the mobile terminal to transmit the first signal to the first information source, and obtaining the first reference duration for the mobile terminal to transmit the first signal to the first information source; calculating the time difference between the first transmission duration and the first reference duration to obtain the first time difference, and determining the first distance value between the mobile terminal and the first information source based on the first time difference and the transmission speed of the first signal; obtaining the second connection information between the mobile terminal and the second information source includes: obtaining the second transmission duration required for the mobile terminal to transmit the second signal to the second information source, and obtaining the second reference duration for the mobile terminal to transmit the second signal to the second information source; calculating the time difference between the second transmission duration and the second reference duration to obtain the second time difference, and determining the second distance value between the mobile terminal and the second information source based on the second time difference and the transmission speed of the second signal.

[0007] Optionally, determining the target floor of the mobile terminal in the target building based on the M second connection information includes: obtaining the coordinate information of each second information source in the target three-dimensional coordinate system, and obtaining the second distance value between each second information source and the mobile terminal from the M second connection information to obtain M second distance values; setting the coordinate expression of the mobile terminal in the target three-dimensional coordinate system, and constructing a target formula for solving the coordinate expression based on the coordinate expression, the coordinate information of each second information source and the M second distance values ​​to obtain multiple target formulas; parsing the multiple target formulas to obtain multiple initial height values ​​of the mobile terminal, and determining the height of the mobile terminal based on the multiple initial height values ​​to obtain the target height; calculating the target floor of the mobile terminal based on the target height and the heights of each floor in the target building.

[0008] Optionally, the method also includes: obtaining a first distance value between the mobile terminal and the first information source from the first connection information; inputting the first distance value into a target classification model, and determining the target floor where the mobile terminal is located according to the target classification model, wherein the target classification model is trained by multiple sample data, each sample data includes a floor information, and the first distance value of the floor information at any historical collection time.

[0009] Optionally, determining the first area of ​​the mobile terminal in the initial plan view based on M second connection information includes: in the initial plan view, generating a coordinate system with the deployment position of the first information source as the origin to obtain a target coordinate system; dividing the target coordinate system into M coordinate areas according to the relative positions between each second information source and the first information source, wherein each coordinate area corresponds to a second information source; calculating the score of each second information source according to the distance value and signal strength in each second connection information to obtain M target scores, wherein the target score is used to characterize the degree of association between the second information source and the mobile terminal; obtaining the target information source with the highest target score, and determining the coordinate area corresponding to the target information source as the first area.

[0010] Optionally, determining the second area of ​​the mobile terminal in the initial plan view based on the first connection information includes: in the initial plan view, generating a coordinate system with the deployment position of the first information source as the origin to obtain a target coordinate system; obtaining a distance value between the first information source and the mobile terminal from the first connection information to obtain a target distance value; processing the target distance value according to a preset threshold to obtain a target distance interval; and determining an area in the target coordinate system that is within the target distance interval as the second area.

[0011] Optionally, determining the location information of the mobile terminal based on the local plan view includes: obtaining the activity area in the local plan view, and obtaining multiple historical personnel distribution maps of the target floor; determining the number of people distributed at each location in the activity area based on the multiple historical personnel distribution maps; and combining the location with the largest number of people and the target floor into the location information of the mobile terminal.

[0012] According to another aspect of the present application, a positioning device for a mobile terminal is provided. The device includes: a first acquisition unit, used to acquire first connection information between a mobile terminal and a first information source, and to acquire second connection information between the mobile terminal and M second information sources, wherein the first information source and the mobile terminal are deployed in a target building, and the M second information sources are deployed outside the target building, and the deployment positions of the second information sources are different, and the first connection information and the second connection information contain distance values ​​and signal strengths, and M is a positive integer; a first determination unit, used to determine the target floor of the mobile terminal in the target building according to the M second connection information, and to acquire an initial plan view of the target building on the target floor; a second determination unit, used to determine a first area of ​​the mobile terminal in the initial plan view according to the M second connection information, and to determine a second area of ​​the mobile terminal in the initial plan view according to the first connection information; a third determination unit, used to acquire a local plan view of the intersection area of ​​the first area and the second area, and to determine the location information of the mobile terminal according to the local plan view.

[0013] According to another aspect of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, a positioning method for a mobile terminal provided in the aforementioned embodiment of the present application is implemented.

[0014] According to another aspect of the present invention, an electronic device is also provided, comprising one or more processors and a memory; the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein when the computer-readable instructions are executed, a positioning method for a mobile terminal provided in the aforementioned embodiment is executed.

[0015] Through the present application, the following steps are adopted: obtaining the first connection information between the mobile terminal and the first information source, and obtaining the second connection information between the mobile terminal and M second information sources, wherein the first information source and the mobile terminal are deployed in the target building, and the M second information sources are deployed outside the target building, and the deployment positions of the second information sources are different, and the first connection information and the second connection information contain distance values ​​and signal strengths, and M is a positive integer; determining the target floor of the mobile terminal in the target building according to the M second connection information, and obtaining the initial plan of the target building on the target floor; determining the first area of ​​the mobile terminal in the initial plan according to the M second connection information, and determining the second area of ​​the mobile terminal in the initial plan according to the first connection information; obtaining a local plan of the intersection area of ​​the first area and the second area, and determining the location information of the mobile terminal according to the local plan. The problem of low positioning accuracy of the mobile terminal in the related art is solved. By obtaining the first connection information and the second connection information, and determining the target floor where the mobile terminal is located according to the distance value in the second connection information, and jointly determining the area where the mobile terminal is located in the target floor according to the first connection information and the second connection information, and then predicting the location information of the mobile terminal in the area according to the relevant information in the floor plan, the effect of accurately obtaining the location information of the mobile terminal in the target building is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 is a flowchart of a positioning method for a mobile terminal provided according to an embodiment of the present application;

[0018] Figure 2 is a schematic diagram of a floor plan of an optional target building provided according to an embodiment of the present application;

[0019] Figure 3 is a schematic diagram of a positioning device for a mobile terminal provided according to an embodiment of the present application;

[0020] Figure 4 It is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0021] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] It should be noted that the positioning method, device and electronic device for the mobile terminal determined in the present disclosure can be used in the field of communication technology, and can also be used in any field outside the field of communication technology. The application field of the positioning method, device and electronic device for the mobile terminal determined in the present disclosure is not limited.

[0025] It should be noted that the collected information, user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) used in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data are in compliance with the relevant laws, regulations and standards of the relevant regions, necessary confidentiality measures are taken, and public order and good customs are not violated. Corresponding operation portals are provided for users to choose to authorize or refuse to use. For example, an interface is set up between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.

[0026] The embodiments or examples of the present disclosure are not exhaustive, but are only illustrative of some embodiments or examples, and are not intended to be specific limitations on the scope of protection of the present disclosure. In the absence of contradiction, each step in a certain embodiment or example can be implemented as an independent example, and the steps can be combined arbitrarily. For example, the scheme after removing some steps in a certain embodiment or example can also be implemented as an independent example, and the order of the steps in a certain embodiment or example can be arbitrarily exchanged. In addition, the optional methods or optional examples in a certain embodiment or example can be combined arbitrarily; in addition, the various embodiments or examples can be combined arbitrarily, for example, some or all steps of different embodiments or examples can be combined arbitrarily, and a certain embodiment or example can be combined arbitrarily with the optional methods or optional examples of other embodiments or examples.

[0027] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0028] Signal source: The facility that generates the signal, such as 4G / 5G base stations and other equipment in wireless cellular mobile networks.

[0029] Indoor space: The interior of a building is often unable to receive Beidou and other satellite signals, and satellite positioning cannot be used, such as the 5th to 10th floors of a building, subway station halls and platforms, etc.

[0030] Vector: A quantity that has both magnitude and direction. In computers, vectors (points, lines, graphs) can be used to perform calculations such as intersections and whether they are inside or outside of a space boundary.

[0031] TA: Maximum Time Advance (TA), which is the difference between the actual time when the mobile station signal arrives at the base station and the time when the mobile station signal arrives at the base station when the distance between the mobile station and the base station is 0. According to the principle of the invariance of the speed of light, the distance between the terminal and the signal source can be calculated through TA, for example, 1 TA in 5G is about 39 meters.

[0032] According to an embodiment of the present application, a positioning method for a mobile terminal is provided.

[0033] Figure 1 is a flow chart of a positioning method for a mobile terminal provided according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0034] Step S101, obtaining first connection information between a mobile terminal and a first information source, and obtaining second connection information between the mobile terminal and M second information sources, wherein the first information source and the mobile terminal are deployed in a target building, and the M second information sources are deployed outside the target building, and the deployment positions of the second information sources are different, and the first connection information and the second connection information include a distance value and a signal strength, and M is a positive integer.

[0035] Specifically, the mobile terminal may be a terminal device such as a mobile phone or a tablet computer. When the mobile terminal is in use, it may be connected to multiple information sources around the mobile terminal, so as to complete a call or Internet access operation by transmitting signals between the information sources. Since the coverage of different information sources is different, the mobile terminal may not only receive signals from the first information source in the target building, but also receive signals from multiple second information sources outside the target building. Therefore, the first connection information between the mobile terminal and the first information source may be obtained, which may include the ID of the first information source connected to the mobile terminal, the maximum time advance between the first information source and the mobile terminal, and the signal strength of the first information source. The second connection information may also be obtained, which may include the ID of the second information source connected to the mobile terminal, the maximum time advance between the second information source and the mobile terminal, and the signal strength of the second information source, so as to obtain a first connection information table and a second connection information table, wherein the first connection information table may record the connection information between the first information source and the mobile terminal, and the second connection information table may record the connection information between the second information source and the mobile terminal.

[0036] Furthermore, since the maximum time advance is the difference between the actual time when the mobile station signal arrives at the base station and the time when the mobile station signal arrives at the base station when the distance between the mobile station and the base station is assumed to be 0, the distance between each information source and the mobile terminal can be calculated according to the maximum time advance, and the distance value is added to the corresponding connection information, thereby completing the acquisition and construction of the connection information.

[0037] Step S102: determine the target floor where the mobile terminal is located in the target building according to the M second connection information, and obtain an initial floor plan of the target building on the target floor.

[0038] Specifically, after obtaining the first connection information and the second connection information, the height of the mobile terminal can be determined based on the distance between the mobile terminal and each second signal source in the second connection information, and the coordinate information of each second signal source, and then the target floor of the mobile terminal in the target building can be calculated based on the height value of the mobile terminal.

[0039] Furthermore, when the target floor where the mobile terminal is located is determined, the initial floor plan of the target floor can be obtained, thereby predicting the possible location of the mobile terminal based on the floor plan of the target floor, thereby ensuring that the location information of the mobile terminal can be accurately determined in the floor plan.

[0040] Step S103: determining a first area of ​​the mobile terminal in the initial plan view according to the M second connection information, and determining a second area of ​​the mobile terminal in the initial plan view according to the first connection information.

[0041] Furthermore, when the target floor of the mobile terminal is determined, the approximate position of the mobile terminal in the initial plan view can be determined according to the signal strength in the second connection information, thereby determining the first area according to the position, and determining the distance between the mobile terminal and the first information source according to the distance value in the first connection information, thereby determining the second area in the initial screen image according to the distance value, and then determining the area where the mobile terminal may be located based on the first area and the second area, thereby further determining more specific location information of the mobile terminal in the area.

[0042] Step S104: acquiring a local plan view of an intersection area of ​​the first area and the second area, and determining location information of the mobile terminal according to the local plan view.

[0043] Specifically, after determining the first area and the second area, since it can be determined that the mobile terminal is located in the first area and the second area, the intersection area between the first area and the second area can be obtained, and the plan area under the intersection area can be determined in the initial plan to obtain a partial plan, and then the possible position of the mobile terminal is predicted based on the building layout in the partial plan, thereby achieving the technical effect of determining the location information of the mobile terminal.

[0044] The positioning method of the mobile terminal provided in the embodiment of the present application obtains the first connection information between the mobile terminal and the first information source, and obtains the second connection information between the mobile terminal and M second information sources, wherein the first information source and the mobile terminal are deployed in the target building, and the M second information sources are deployed outside the target building, and the deployment positions of the second information sources are different, and the first connection information and the second connection information contain distance values ​​and signal strengths, and M is a positive integer; the target floor of the mobile terminal in the target building is determined according to the M second connection information, and the initial plan of the target building on the target floor is obtained; the first area of ​​the mobile terminal in the initial plan is determined according to the M second connection information, and the second area of ​​the mobile terminal in the initial plan is determined according to the first connection information; the local plan of the intersection area of ​​the first area and the second area is obtained, and the location information of the mobile terminal is determined according to the local plan. The problem of low positioning accuracy of the mobile terminal in the related art is solved. By obtaining the first connection information and the second connection information, and determining the target floor where the mobile terminal is located according to the distance value in the second connection information, and jointly determining the area where the mobile terminal is located in the target floor according to the first connection information and the second connection information, and then predicting the location information of the mobile terminal in the area according to the relevant information in the floor plan, the effect of accurately obtaining the location information of the mobile terminal in the target building is achieved.

[0045] In order to ensure the accuracy of subsequent determination of the mobile terminal's position, optionally, in the positioning method for a mobile terminal provided in an embodiment of the present application, obtaining the first connection information between the mobile terminal and the first signal source includes: obtaining the first transmission duration required for the mobile terminal to transmit the first signal to the first signal source, and obtaining the first reference duration for the mobile terminal to transmit the first signal to the first signal source; calculating the time difference between the first transmission duration and the first reference duration to obtain the first time difference, and determining the first distance value between the mobile terminal and the first signal source according to the first time difference and the transmission speed of the first signal; obtaining the second connection information between the mobile terminal and the second signal source includes: obtaining the second transmission duration required for the mobile terminal to transmit the second signal to the second signal source, and obtaining the second reference duration for the mobile terminal to transmit the second signal to the second signal source; calculating the time difference between the second transmission duration and the second reference duration to obtain the second time difference, and determining the second distance value between the mobile terminal and the second signal source according to the second time difference and the transmission speed of the second signal.

[0046] Specifically, when determining the distance value between the mobile terminal and the information source, it can be calculated according to the maximum time advance. First, obtain the first transmission duration required for the mobile terminal to transmit the first signal to the first information source, which is the actual transmission duration of the signal. And obtain the first reference duration for the mobile terminal to transmit the first signal to the first information source, which is the duration when the distance value between the first information source and the mobile terminal is 0, and subtract the two transmission durations to obtain the first time difference, which is the time when the mobile terminal transmits the first signal to the first information source. The signal is transmitted between the mobile terminal and the first information source. Multiply the duration by the electromagnetic wave transmission speed, and the result is the first distance value.

[0047] Similarly, by using the same method as above, the second distance value between each second signal source and the mobile terminal can be obtained, thereby achieving the technical effect of changing the collected maximum time advance into a distance value, so that the location information of the mobile terminal can be determined subsequently based on the distance value between the signal source and the mobile terminal.

[0048] In order to accurately calculate the target floor where the mobile terminal is located, optionally, in the positioning method for the mobile terminal provided in the embodiment of the present application, determining the target floor where the mobile terminal is located in the target building according to the M second connection information includes: obtaining the coordinate information of each second information source in the target three-dimensional coordinate system, and obtaining the second distance value between each second information source and the mobile terminal from the M second connection information, to obtain M second distance values; setting the coordinate expression of the mobile terminal in the target three-dimensional coordinate system, and constructing a target formula for solving the coordinate expression according to the coordinate expression, the coordinate information of each second information source and the M second distance values, to obtain multiple target formulas; parsing the multiple target formulas to obtain multiple initial height values ​​of the mobile terminal, and determining the height of the mobile terminal according to the multiple initial height values ​​to obtain the target height; and calculating the target floor where the mobile terminal is located according to the target height and the heights of each floor in the target building.

[0049] Specifically, when calculating the height of the mobile terminal, since the distance values ​​between each second information source and the mobile terminal are known, the coordinate information of each second information source in the target three-dimensional coordinate system can be obtained, and the coordinate expression of the mobile terminal, such as (x, y, z), can be set, so as to construct a target formula based on the coordinate information of each second information source and the coordinate expression of the mobile terminal, as well as the distance values ​​between each second information source and the mobile terminal, and then calculate the coordinate expression of the mobile terminal based on the target formula.

[0050] For example, when the coordinates of the second information source A are (X1, Y1, H1), the coordinates of the second information source B are (X2, Y2, H2), and the coordinates of the third information source C are (X3, Y3, H3), the target formula may be:

[0051] (X1-X)^2+(Y1-Y)^2+(H1-H)^2=(R1)^2;

[0052] (X2-X)^2+(Y2-Y)^2+(H2-H)^2=(R2)^2;

[0053] (X3-X)^2+(Y3-Y)^2+(H3-H)^2=(R3)^2;

[0054] Among them, R1 is the distance value between the second information source A and the mobile terminal, R2 is the distance value between the second information source B and the mobile terminal, and R3 is the distance value between the second information source C and the mobile terminal.

[0055] By solving the above formula, the coordinates of the mobile terminal can be obtained. Due to the calculation accuracy problem, only the height value H of the mobile terminal is obtained here, and the longitude and latitude X and Y coordinates are not used.

[0056] Furthermore, after obtaining the height value, since there may be errors in the height value, a basic error value can be set, and the height value and the basic error value can be calculated to obtain a height range. For example, when the height value is 49m and the basic error value is 2m, the height range is 47m-51m.

[0057] Furthermore, after obtaining the height interval, the height of each floor of the target building can be obtained, and the floor range in which the height interval is located can be determined according to the floor height. At this time, there will be two situations. One situation is that the height interval is within a certain floor range. For example, if a floor is 8m high, the above height interval is located on the 7th floor, so the target floor of the mobile terminal is the 7th floor. The other situation is that the height interval is between two floors. For example, if a floor is 5m high, the above height interval is between the 10th floor and the 11th floor. At this time, since the mobile terminal is usually held by a person or placed on a desktop, the larger floor can be determined as the target floor, that is, the target floor of the mobile terminal is determined to be the 11th floor, thereby completing the technical effect of accurately determining the target floor of the mobile terminal.

[0058] In order to reduce the load of calculating the target floor of the mobile terminal, optionally, in the positioning method of the mobile terminal provided in the embodiment of the present application, the method also includes: obtaining a first distance value between the mobile terminal and the first information source from the first connection information; inputting the first distance value into the target classification model, and determining the target floor of the mobile terminal according to the target classification model, wherein the target classification model is obtained by training multiple sample data, each sample data includes a floor information, and the first distance value of the floor information at any historical collection time.

[0059] It should be noted that when determining the floor where the mobile terminal is located, since the first information source is usually deployed on the first floor or top floor of the target building, the floor where the mobile terminal is located can be determined based on the distance value between the mobile terminal and the first information source.

[0060] Specifically, when judging the floor where the mobile terminal is located based on the distance value between the mobile terminal and the first information source, a preset classification model can be used for determination. The classification model can be trained using the distance values ​​between the mobile terminal and the first information source of multiple known floors and the floor where the mobile terminal is located, so that the classification model can predict the target floor where the mobile terminal is located based on the first distance value between the mobile terminal and the first information source, thereby achieving the technical effect of accurately determining the target floor of the mobile terminal.

[0061] In order to accurately determine the location information of the mobile terminal on the target floor, optionally, in the positioning method of the mobile terminal provided in the embodiment of the present application, determining the first area of ​​the mobile terminal in the initial plan view according to M second connection information includes: in the initial plan view, generating a coordinate system with the deployment position of the first information source as the origin to obtain a target coordinate system; dividing the target coordinate system into M coordinate areas according to the relative positions between each second information source and the first information source, wherein each part of the coordinate area corresponds to a second information source; calculating the score of each second information source according to the distance value and signal strength in each second connection information to obtain M target scores, wherein the target score is used to characterize the degree of association between the second information source and the mobile terminal; obtaining the target information source with the highest target score, and determining the coordinate area corresponding to the target information source as the first area.

[0062] Specifically, when determining the first area, a comprehensive calculation may be performed based on the distance value and the signal strength in the second connection information to determine the second information source closest to the mobile terminal, and the area at the location of the second information source may be determined as the second area.

[0063] First, it is necessary to generate a coordinate system with the deployment position of the first information source as the origin in the initial plane map, and divide the target coordinate system into regions according to the relative positions between each second information source and the first information source, to obtain M coordinate regions, where each coordinate region corresponds to a second information source.

[0064] Furthermore, the distance value and signal strength in the second connection information of each second information source are obtained, and the distance value and signal strength are weighted and summed according to a preset threshold to obtain the score of each second information source, and the second information source with the largest score is determined as the target information source, and the area corresponding to the target information source is divided into the first area, thereby completing the division of the first area according to the signal strength and distance value.

[0065] In order to accurately determine the position information of the mobile terminal on the target floor, optionally, in the positioning method of the mobile terminal provided in the embodiment of the present application, determining the second area of ​​the mobile terminal in the initial plan view according to the first connection information includes: in the initial plan view, generating a coordinate system with the deployment position of the first information source as the origin to obtain the target coordinate system; obtaining the distance value between the first information source and the mobile terminal from the first connection information to obtain the target distance value; processing the target distance value according to a preset threshold to obtain a target distance interval; and determining the area in the target coordinate system located within the target distance interval as the second area.

[0066] Specifically, after dividing the first area, the second area needs to be divided. When dividing the second area, the target distance value between the first information source and the mobile terminal can be obtained from the first connection information, and processed according to the target distance value to obtain the distance interval. That is, since the distance values ​​may differ, it is necessary to expand the distance value into a distance interval to ensure that the mobile terminal will be in the distance interval, and then determine the area in the plan view that is within the distance interval as the second area.

[0067] It should be noted that when determining the second area, the deployment position of the first information source can also be used as the origin, and the plan can be divided according to the preset interval distance, so that the plan is divided into multiple second intervals, and the interval where the mobile terminal is located is determined according to the target distance value between the first information source and the mobile terminal, thereby obtaining the second interval where the mobile terminal is located.

[0068] Figure 2 is a schematic diagram of an optional plan view of a target building provided according to an embodiment of the present application, such as Figure 2 As shown, the first information source may be an indoor station, and the second information source may be a neighboring area. First, the plan view may be divided into four areas according to the distribution positions of the neighboring areas, namely, the first area to the fourth area, wherein the first area is located in the upper right corner, the second area is located in the upper left corner, the third area is located in the lower left corner, and the fourth area is located in the lower right corner. After the plan view is divided into four areas, the score between each neighboring area and the mobile terminal may be calculated. When calculating the score, the following formula may be used for calculation:

[0069] value=k1*distance+k2*RSRP;

[0070] Among them, value is the score, distance is the distance between the neighboring cell and the mobile terminal, RSRP is the signal strength between the neighboring cell and the mobile terminal, k1 and k2 are the weight values ​​of "the distance between the neighboring cell and the mobile terminal" and "the signal strength between the neighboring cell and the mobile terminal" respectively.

[0071] After the scores are calculated by the above formula, when the score of the first area is the highest, it can be determined that the mobile terminal is located in the area covered by the first area in the plan view.

[0072] Furthermore, after determining that the mobile terminal is located in the first area, the plan can be divided according to the preset interval distance based on the deployment position of the first information source as the origin, so that the plan is divided into multiple second intervals. As shown in the hierarchical areas in the figure, after the first area is divided, three hierarchical areas are obtained, namely area 1-1, area 1-2 and area 1-3. At this time, the hierarchical area where the mobile terminal is located can be determined based on the distance value between the first information source and the mobile terminal. When the mobile terminal is located in the hierarchical area 1-2, the overlapping area where the mobile terminal is located can be determined as the hierarchical area 1-2, thereby further narrowing the position of the mobile terminal from the target floor to the hierarchical area 1-2.

[0073] In order to accurately determine the location information of the mobile terminal on the target floor, optionally, in the positioning method of the mobile terminal provided in the embodiment of the present application, determining the location information of the mobile terminal according to the local plan view includes: obtaining the activity area in the local plan view, and obtaining multiple historical personnel distribution maps of the target floor; determining the number of people distributed at each position in the activity area according to the multiple historical personnel distribution maps; and combining the position with the largest number of people and the target floor into the location information of the mobile terminal.

[0074] Specifically, after determining the local plan area where the mobile terminal is located, since there may be walls in the local plan and the mobile terminal cannot be located in the wall, the wall part in the local plan can be removed first to obtain the remaining active part, and the remaining active part can be divided into areas of fixed size to obtain multiple sub-areas.

[0075] Furthermore, after obtaining multiple sub-areas, the historical personnel distribution in each sub-area of ​​the activity area can be determined according to the historical personnel distribution map, and the specific location of the mobile terminal can be roughly estimated according to the historical personnel distribution.

[0076] Furthermore, when estimating the specific location of the mobile terminal, the sub-area with the most historical personnel may be determined as the location of the mobile terminal, and then the location information and the floor information may be combined to obtain the specific location information of the mobile terminal in the target building.

[0077] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0078] The present application also provides a positioning device for a mobile terminal. It should be noted that the positioning device for a mobile terminal in the present application can be used to execute the positioning method for a mobile terminal provided in the present application. The positioning device for a mobile terminal provided in the present application is introduced below.

[0079] Figure 3 is a schematic diagram of a positioning device for a mobile terminal provided according to an embodiment of the present application. Figure 3 As shown, the device includes: a first acquiring unit 31, a first determining unit 32, a second determining unit 33, and a third determining unit 34.

[0080] The first acquisition unit 31 is used to acquire first connection information between the mobile terminal and the first information source, and to acquire second connection information between the mobile terminal and M second information sources, wherein the first information source and the mobile terminal are deployed in a target building, and the M second information sources are deployed outside the target building, and each second information source has a different deployment position, and the first connection information and the second connection information include a distance value and a signal strength, and M is a positive integer.

[0081] The first determining unit 32 is configured to determine a target floor where the mobile terminal is located in the target building according to the M second connection information, and obtain an initial floor plan of the target building on the target floor.

[0082] The second determining unit 33 is configured to determine a first area of ​​the mobile terminal in the initial plan view according to the M second connection information, and determine a second area of ​​the mobile terminal in the initial plan view according to the first connection information.

[0083] The third determining unit 34 is configured to obtain a local plan view of an intersection area of ​​the first area and the second area, and determine the location information of the mobile terminal according to the local plan view.

[0084] The positioning device for a mobile terminal provided in an embodiment of the present application obtains, through a first obtaining unit 31, first connection information between the mobile terminal and a first information source, and obtains second connection information between the mobile terminal and M second information sources, wherein the first information source and the mobile terminal are deployed in a target building, and the M second information sources are deployed outside the target building, and the deployment positions of the second information sources are different, and the first connection information and the second connection information contain distance values ​​and signal strengths, and M is a positive integer; the first determining unit 32 determines the target floor of the mobile terminal in the target building according to the M second connection information, and obtains an initial plan view of the target building on the target floor; the second determining unit 33 determines the first area of ​​the mobile terminal in the initial plan view according to the M second connection information, and determines the second area of ​​the mobile terminal in the initial plan view according to the first connection information; the third determining unit 34 obtains a local plan view of an intersection area of ​​the first area and the second area, and determines the position information of the mobile terminal according to the local plan view, thereby solving the problem of low positioning accuracy of the mobile terminal in the related art. By obtaining the first connection information and the second connection information, and determining the target floor where the mobile terminal is located according to the distance value in the second connection information, and jointly determining the area where the mobile terminal is located in the target floor according to the first connection information and the second connection information, and then predicting the location information of the mobile terminal in the area according to the relevant information in the floor plan, the effect of accurately obtaining the location information of the mobile terminal in the target building is achieved.

[0085] Optionally, in the positioning device of the mobile terminal provided in the embodiment of the present application, the first acquisition unit 31 includes: a first acquisition module, used to acquire a first transmission duration required for the mobile terminal to transmit a first signal to the first information source, and acquire a first reference duration for the mobile terminal to transmit the first signal to the first information source; a first calculation module, used to calculate the time difference between the first transmission duration and the first reference duration, obtain the first time difference, and determine the first distance value between the mobile terminal and the first information source according to the first time difference and the transmission speed of the first signal; the first acquisition unit 31 includes: a second acquisition module, used to acquire the second transmission duration required for the mobile terminal to transmit a second signal to the second information source, and acquire the second reference duration for the mobile terminal to transmit the second signal to the second information source; a second calculation module, used to calculate the time difference between the second transmission duration and the second reference duration, obtain the second time difference, and determine the second distance value between the mobile terminal and the second information source according to the second time difference and the transmission speed of the second signal.

[0086] Optionally, in the positioning device of the mobile terminal provided in the embodiment of the present application, the first determination unit 32 includes: a third acquisition module, used to obtain the coordinate information of each second information source in the target three-dimensional coordinate system, and obtain the second distance value between each second information source and the mobile terminal from the M second connection information, to obtain M second distance values; a third calculation module, used to set the coordinate expression of the mobile terminal in the target three-dimensional coordinate system, and construct a target formula for solving the coordinate expression according to the coordinate expression, the coordinate information of each second information source and the M second distance values, to obtain multiple target formulas; a first determination module, used to parse multiple target formulas, obtain multiple initial height values ​​of the mobile terminal, and determine the height of the mobile terminal according to the multiple initial height values ​​to obtain the target height; a fourth calculation module, used to calculate the target floor where the mobile terminal is located according to the target height and the heights of each floor in the target building.

[0087] Optionally, in the positioning device for a mobile terminal provided in an embodiment of the present application, the device also includes: a second acquisition unit, used to acquire a first distance value between the mobile terminal and the first information source from the first connection information; a prediction unit, used to input the first distance value into a target classification model, and determine the target floor where the mobile terminal is located according to the target classification model, wherein the target classification model is obtained by training multiple sample data, each sample data includes a floor information, and the first distance value of the floor information at any historical collection time.

[0088] Optionally, in the positioning device of the mobile terminal provided in the embodiment of the present application, the second determination unit 33 includes: a first generation module, used to generate a coordinate system with the deployment position of the first information source as the origin in the initial plan view to obtain a target coordinate system; a division module, used to divide the target coordinate system into M coordinate areas according to the relative positions between each second information source and the first information source, wherein each part of the coordinate area corresponds to a second information source; a fifth calculation module, used to calculate the score of each second information source according to the distance value and signal strength in each second connection information, to obtain M target scores, wherein the target score is used to characterize the degree of association between the second information source and the mobile terminal; a second determination module, used to obtain the target information source with the highest target score, and determine the coordinate area corresponding to the target information source as the first area.

[0089] Optionally, in the positioning device of the mobile terminal provided in the embodiment of the present application, the second determination unit 33 includes: a second generation module, used to generate a coordinate system with the deployment position of the first information source as the origin in the initial plan view to obtain a target coordinate system; a fourth acquisition module, used to obtain the distance value between the first information source and the mobile terminal from the first connection information to obtain a target distance value; a processing module, used to process the target distance value according to a preset threshold to obtain a target distance interval; and a third determination module, used to determine an area in the target coordinate system that is within the target distance interval as a second area.

[0090] Optionally, in the positioning device of the mobile terminal provided in the embodiment of the present application, the third determination unit 34 includes: a fifth acquisition module, used to obtain the activity area in the local plan, and obtain multiple historical personnel distribution maps of the target floor; a fourth determination module, used to determine the number of people distributed at each position in the activity area according to multiple historical personnel distribution maps; a combination module, used to combine the position with the largest number of people and the target floor into the location information of the mobile terminal.

[0091] The positioning device of the mobile terminal includes a processor and a memory. The first acquisition unit 31, the first determination unit 32, the second determination unit 33, the third determination unit 34, etc. are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.

[0092] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem of low positioning accuracy of the mobile terminal in the related art is solved by adjusting the kernel parameters.

[0093] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0094] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the positioning method of the mobile terminal is implemented.

[0095] An embodiment of the present invention provides a processor, which is used to run a program, wherein the positioning method of the mobile terminal is executed when the program is run.

[0096] Figure 4 is a schematic diagram of an electronic device provided according to an embodiment of the present application, such as Figure 4As shown, an embodiment of the present invention provides an electronic device, the electronic device 40 includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the steps of the above-mentioned mobile terminal positioning method when executing the program. The device in this article can be a server, a PC, a mobile phone, etc.

[0097] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the steps of the positioning method for the above-mentioned mobile terminal.

[0098] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0099] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0100] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0101] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1The steps for the functions specified in one or more boxes.

[0102] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0103] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0104] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0105] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0106] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for positioning a mobile terminal, characterized in that: include: Acquire first connection information between a mobile terminal and a first information source, and acquire second connection information between the mobile terminal and M second information sources, wherein the first information source and the mobile terminal are deployed in a target building, the M second information sources are deployed outside the target building, and each second information source has a different deployment position, the first connection information and the second connection information include a distance value and a signal strength, and M is a positive integer; Determine a target floor where the mobile terminal is located in the target building according to the M second connection information, and obtain an initial floor plan of the target building on the target floor; Determine a first area of ​​the mobile terminal in the initial plan view according to the M second connection information, and determine a second area of ​​the mobile terminal in the initial plan view according to the first connection information; A local plan view of an intersection area of ​​the first area and the second area is obtained, and location information of the mobile terminal is determined according to the local plan view.

2. The method according to claim 1, characterized in that Acquiring first connection information between the mobile terminal and the first information source includes: Acquire a first transmission duration required for the mobile terminal to transmit a first signal to the first information source, and acquire a first reference duration for the mobile terminal to transmit the first signal to the first information source; Calculating a time difference between the first transmission duration and the first reference duration to obtain a first time difference, and determining a first distance value between the mobile terminal and the first information source according to the first time difference and a transmission speed of the first signal; Acquiring second connection information between the mobile terminal and the second information source includes: Acquire a second transmission duration required for the mobile terminal to transmit the second signal to the second information source, and acquire a second reference duration for the mobile terminal to transmit the second signal to the second information source; The time difference between the second transmission duration and the second reference duration is calculated to obtain a second time difference, and a second distance value between the mobile terminal and the second information source is determined according to the second time difference and a transmission speed of the second signal.

3. The method according to claim 1, characterized in that Determining the target floor where the mobile terminal is located in the target building according to the M second connection information includes: Acquire coordinate information of each second information source in the target three-dimensional coordinate system, and acquire a second distance value between each second information source and the mobile terminal from the M second connection information to obtain M second distance values; Setting a coordinate expression of the mobile terminal in the target three-dimensional coordinate system, and constructing a target formula for solving the coordinate expression according to the coordinate expression, the coordinate information of each second information source, and the M second distance values, to obtain multiple target formulas; parsing the multiple target formulas to obtain multiple initial height values ​​of the mobile terminal, and determining the height of the mobile terminal according to the multiple initial height values ​​to obtain a target height; The target floor where the mobile terminal is located is calculated according to the target height and the heights of each floor in the target building.

4. The method according to claim 1, characterized in that: The method further comprises: Acquire a first distance value between the mobile terminal and the first information source from the first connection information; The first distance value is input into a target classification model, and the target floor of the mobile terminal is determined according to the target classification model, wherein the target classification model is trained by multiple sample data, each sample data includes a floor information and the first distance value of the floor information at any historical collection time.

5. The method according to claim 1, characterized in that Determining, according to the M pieces of second connection information, that the first area of ​​the mobile terminal in the initial plan view includes: In the initial plane map, a coordinate system is generated with the deployment position of the first information source as the origin to obtain a target coordinate system; Divide the target coordinate system into M coordinate regions according to the relative positions between each second information source and the first information source, wherein each coordinate region corresponds to one second information source; Calculate the score of each second information source according to the distance value and the signal strength in each second connection information to obtain M target scores, wherein the target score is used to represent the degree of association between the second information source and the mobile terminal; A target information source with the highest target score is obtained, and a coordinate area corresponding to the target information source is determined as the first area.

6. The method according to claim 1, characterized in that Determining, according to the first connection information, that the second area of ​​the mobile terminal in the initial plan view includes: In the initial plane map, a coordinate system is generated with the deployment position of the first information source as the origin to obtain a target coordinate system; Acquire a distance value between the first information source and the mobile terminal from the first connection information to obtain a target distance value; Processing the target distance value according to a preset threshold value to obtain a target distance interval; An area in the target coordinate system that is within the target distance interval is determined as the second area.

7. The method according to claim 1, characterized in that Determining the location information of the mobile terminal according to the local plan view includes: Acquire the activity area in the local plan view, and acquire multiple historical personnel distribution maps of the target floor; Determine the number of people distributed at each location in the activity area according to the multiple historical personnel distribution maps; The location with the largest number of people and the target floor are combined into the location information of the mobile terminal.

8. A positioning device for a mobile terminal, characterized in that: include: a first acquisition unit, configured to acquire first connection information between a mobile terminal and a first information source, and acquire second connection information between the mobile terminal and M second information sources, wherein the first information source and the mobile terminal are deployed in a target building, the M second information sources are deployed outside the target building, and each second information source has a different deployment position, and the first connection information and the second connection information include a distance value and a signal strength, and M is a positive integer; A first determining unit, configured to determine a target floor where the mobile terminal is located in the target building according to the M second connection information, and obtain an initial floor plan of the target building on the target floor; a second determining unit, configured to determine a first area of ​​the mobile terminal in the initial plan view according to the M second connection information, and to determine a second area of ​​the mobile terminal in the initial plan view according to the first connection information; The third determining unit is used to obtain a local plan view of an intersection area of ​​the first area and the second area, and determine the location information of the mobile terminal according to the local plan view.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the positioning method of the mobile terminal described in any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the positioning method of the mobile terminal described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Stepwise indoor three-dimensional positioning method for use in multi-floor environment

    CN105898712A

  • Indoor positioning method and server

    CN106937251A

  • Terminal position method, equipment, system and computer readable storage medium

    CN107270911A

  • Electronic device, floor positioning method and computer readable storage medium

    CN108513259A

  • Indoor WiFi positioning method and device and terminal equipment

    CN109699002A