Mobile phone real-time positioning method, system, device and storage medium

Based on GPS -based positioning to obtain mobile phone positions, and combined with information on base stations and base stations to be used, the mobile regional plane diagrams and positioning data are obtained, and the problem of inaccurate positioning when mobile phone movement is moved, and real -time and accurate positioning effects are achieved.

CN118870290BActive Publication Date: 2025-01-28OBLUE COMM TECH(SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410885718.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2025-01-28
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

In the prior art, the positioning of mobile phones is inaccurate when moving, and it is impossible to obtain effective base stations to locate the mobile phone in time, resulting in the positioning data that cannot effectively reflect the mobile phone's mobile status.

Method used

To obtain the position of the mobile phone based on the GPS positioning, and to obtain the positioning base station and the base station for use based on the GPS position, obtain the mobile region floor plan and the mobile expansion flat map. Based on the positionable base station Perform real -time positioning.

Benefits of technology

Get more accurate positioning data when mobile phones move, which can effectively reflect the movement of the mobile phone, and solve the problem of inaccurate positioning and unable to follow the mobile phone for real -time positioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118870290B_ABST
    Figure CN118870290B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system, device and storage medium for real-time positioning of a mobile phone, and relates to the technical field of mobile phone positioning, including: obtaining the location of a mobile phone based on GPS positioning, and obtaining a locatable base station and a base station to be used; then obtaining a mobile area plan and a mobile expansion plan to obtain the actual location of the mobile phone; finally, performing real-time positioning when the mobile phone moves based on the base station to be used; the present invention is used to solve the problem in the prior art that the positioning of a mobile phone in motion may be inaccurate and cannot be performed in real-time with the mobile phone, and that only using GPS positioning or a fixed communication base station will result in the mobile phone being unable to accurately update the positioning data of the mobile phone in real time when it moves, so that the obtained positioning data cannot effectively reflect the mobile status of the mobile phone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mobile phone positioning, and in particular to a method, system, device and storage medium for real-time positioning of a mobile phone. Background Art

[0002] Mobile phone positioning refers to the technology or service that uses specific positioning technology to obtain the location information and longitude and latitude coordinates of mobile phones or terminal users, and mark the location of the located object on an electronic map; there are two types of positioning technologies, one is based on GPS positioning, and the other is based on the base station positioning of the mobile operator network.

[0003] Existing improvements for mobile phone positioning are usually based on base station positioning of mobile phones. For example, in the Chinese patent with application publication number CN103139901A, a positioning method for TD-SCDMA mobile phone terminals is disclosed. This scheme is to forcibly pull the target mobile phone terminal to the pseudo base station, synchronize to the specific time slot of the TD-SCDMA subframe where the target terminal is located, and measure the specific time slot of the subframe where the target mobile phone terminal is located. It can more accurately identify the location of the target terminal, so that the target mobile phone terminal can be more accurately found and the positioning function is completed. Other improvements for mobile phone positioning are usually based on GPS positioning and network parameters to locate the mobile phone. However, in the existing technology, there will be problems of inaccurate positioning and inability to follow the mobile phone for real-time positioning for the positioning of the mobile phone in motion. When the location of the mobile phone changes, it is impossible to obtain an effective base station in time to locate the mobile phone. At the same time, only using GPS positioning or a fixed communication base station will cause the mobile phone to be unable to accurately update the positioning data of the mobile phone in real time when it moves, so that the obtained positioning data cannot effectively reflect the movement of the mobile phone. In view of this, it is necessary to improve the existing mobile real-time positioning of mobile phones. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems in the prior art to a certain extent. By proposing a real-time positioning method, system, device and storage medium for a mobile phone, the present invention is used to solve the problem in the prior art that the positioning of a mobile phone on the move is inaccurate and it is impossible to follow the mobile phone for real-time positioning. When the position of the mobile phone changes, it is impossible to obtain an effective base station in time to position the mobile phone. At the same time, only using GPS positioning or a fixed communication base station will result in the inability to accurately update the positioning data of the mobile phone in real time when the mobile phone is moving, so that the obtained positioning data cannot effectively reflect the movement status of the mobile phone.

[0005] To achieve the above objectives, in a first aspect, the present invention provides a method for real-time positioning of a mobile phone, comprising:

[0006] Based on GPS positioning, the location of the mobile phone is obtained, which is recorded as the GPS mobile phone location, and based on the GPS mobile phone location, a locatable base station and a base station to be used are obtained;

[0007] Based on the locatable base stations and the base stations to be used, a mobile area plan and a mobile expansion plan are obtained; based on the locatable base stations, the mobile phone is accurately positioned to obtain the actual location of the mobile phone;

[0008] Real-time positioning is performed while the phone is moving based on the base station to be used.

[0009] Further, the obtaining of the location of the mobile phone based on GPS positioning, recorded as the GPS mobile phone location, and obtaining the locatable base station and the base station to be used based on the GPS mobile phone location include:

[0010] The location of the mobile phone is obtained based on GPS, and the location obtained by GPS is marked on the map, which is recorded as the GPS mobile phone location; the maximum error distance of GPS positioning is obtained based on the environment where the GPS mobile phone location is located, which is recorded as the GPS error distance;

[0011] Obtain two signal base stations that are relatively close to the location of the GPS mobile phone on the map and record them as locatable base station A and locatable base station B respectively;

[0012] Obtain the signal base station that is closest to the locatable base station A and is not the locatable base station B, and record it as the base station A~1 to be used, where the base station A~1 to be used needs to satisfy that the angle between R1 and R2 is an obtuse angle, R1 is the line segment formed by the locatable base station A and the base station A~1 to be used, and R2 is the line segment formed by the locatable base station A and the locatable base station B;

[0013] Obtain the signal base station that is closest to the locatable base station B and is not the signal base station A, and record it as the base station to be used B~1, where the base station to be used B~1 must satisfy that the angle between T1 and T2 is an obtuse angle, T1 is the line segment formed by the locatable base station B and the base station to be used B~1, and T2 is the line segment formed by the locatable base station B and the locatable base station A.

[0014] Furthermore, the obtaining of the mobile area plan and the mobile expansion plan based on the locatable base station and the base station to be used; and the accurate positioning of the mobile phone based on the locatable base station to obtain the actual position of the mobile phone include:

[0015] Obtain the distances of the locatable base station A, the locatable base station B, the base station A~1 to be used, and the base station B~1 to be used from the GPS mobile phone position respectively, and record them as the locatable distance AJL, the locatable distance BJL, the distance A~1 to be used, and the distance B~1 to be used respectively;

[0016] The maximum value of the locatable distance AJL and the locatable distance BJL is recorded as the area radius; the maximum value of the distance to be used A~1JL and the distance to be used B~1JL is recorded as the expansion radius;

[0017] The circle with the GPS mobile phone position as the center and the area radius as the radius in the map is recorded as the mobile area plan; the circle with the GPS mobile phone position as the center and the expansion radius as the radius in the map is recorded as the mobile expansion plan.

[0018] Further, obtaining a mobile area plan and a mobile expansion plan based on the locatable base station and the base station to be used; accurately locating the mobile phone based on the locatable base station to obtain the actual location of the mobile phone also includes:

[0019] Use a mobile phone to send a positioning signal to a locatable base station A, and obtain the distance between the mobile phone and the locatable base station based on the feedback signal of the locatable base station A, which is recorded as the locatable distance A; use a mobile phone to send a positioning signal to a locatable base station B, and obtain the distance between the mobile phone and the locatable base station based on the feedback signal of the locatable base station B, which is recorded as the locatable distance B;

[0020] Establish a plane rectangular coordinate system, recorded as the regional positioning coordinate system, where the units of the X-axis and the Y-axis of the regional positioning coordinate system are both m; place the GPS mobile phone position, the locatable base station, the base station to be used, the mobile area plan and the mobile expansion plan in equal proportion in the regional positioning coordinate system, and draw a circle with the locatable base station A as the center and the locatable distance A as the radius in the mobile area plan, recorded as positioning circle A; draw a circle with the locatable base station B as the center and the locatable distance B as the radius, recorded as positioning circle B; draw a circle with the GPS mobile phone position as the center and the GPS error distance as the radius, recorded as error circle;

[0021] When there is an intersection between positioning circle A and positioning circle B and the number of intersections is 1, the intersection of positioning circle A and positioning circle B is recorded as the base station mobile phone position. When the base station mobile phone position coincides with the GPS mobile phone position, the base station mobile phone position is recorded as the actual mobile phone position. When the base station mobile phone position does not coincide with the GPS mobile phone position, the midpoint of the line segment obtained by connecting the base station mobile phone position with the GPS mobile phone position is recorded as the mobile phone's pending position.

[0022] Further, obtaining a mobile area plan and a mobile expansion plan based on the locatable base station and the base station to be used; accurately locating the mobile phone based on the locatable base station to obtain the actual location of the mobile phone also includes:

[0023] When there are intersections between positioning circle A and positioning circle B and the number of intersections is 2, the intersections between positioning circle A and positioning circle B are recorded as base station pending position 1 and base station pending position 2 respectively, and the midpoint of the triangle formed by the GPS mobile phone position, base station pending position 1 and base station pending position 2 is recorded as the mobile phone pending position;

[0024] When there is no intersection between positioning circle A and positioning circle B, the point on positioning circle A closest to the GPS mobile phone position is recorded as the near point of circle A, the point on positioning circle B closest to the GPS mobile phone position is recorded as the near point of circle B, and the midpoint of the triangle formed by the near point of circle A, the near point of circle B and the GPS mobile phone position is recorded as the pending position of the mobile phone;

[0025] After obtaining the pending position of the mobile phone, when the pending position of the mobile phone is within the error circle, the pending position of the mobile phone is recorded as the actual position of the mobile phone; when the pending position of the mobile phone is outside the error circle, the point on the error circle closest to the pending position of the mobile phone is recorded as the actual position of the mobile phone.

[0026] Furthermore, performing real-time positioning based on the base station to be used when the mobile phone moves includes:

[0027] The actual location of the mobile phone is obtained at every standard moving time. When the actual location of the mobile phone is within the moving expansion plane map and not within the moving area plane map, a circle is constructed with the real-time location of the mobile phone at this time as the center and the GPS error distance as the radius, which is recorded as the transfer error circle.

[0028] Replace the locatable base station A with the locatable base station closest to the actual location of the mobile phone, replace the locatable base station B with the base station to be used corresponding to the locatable base station closest to the actual location of the mobile phone, and obtain the latest locatable base station A and the base station to be used of the locatable base station B.

[0029] Furthermore, performing real-time positioning based on the base station to be used when the mobile phone moves also includes:

[0030] When the locatable base station A and the locatable base station B are replaced, the mobile area plan and the mobile expansion plan are obtained based on the replaced locatable base station A and the locatable base station B, and the actual position of the mobile phone is immediately obtained. When the actual position of the mobile phone is within the transfer error circle, the actual position of the mobile phone is continuously obtained at standard moving time intervals, and the positioning base station A and the positioning base station B are replaced when the actual position of the mobile phone is within the mobile expansion plan and not within the mobile area plan;

[0031] When the actual location of the mobile phone is not within the transfer error circle, delete the existing locatable base station A and locatable base station B, obtain the GPS mobile phone location at this time, and record the two signal base stations that are closer to the GPS mobile phone location as locatable base station A and locatable base station B. Continue to obtain the actual location of the mobile phone based on the locatable base station every standard moving time and replace positioning base station A and positioning base station B when the actual location of the mobile phone is within the mobile expansion plan and not within the mobile area plan.

[0032] In a second aspect, the present invention also provides a mobile phone real-time positioning system, including a base station selection module, an actual position determination module and a real-time positioning module:

[0033] The base station selection module is used to obtain the location of the mobile phone based on GPS positioning, recorded as the GPS mobile phone location, and obtain the locatable base station and the base station to be used based on the GPS mobile phone location;

[0034] The actual position determination module is used to obtain a mobile area plan and a mobile expansion plan based on a locatable base station and a base station to be used; accurately locate the mobile phone based on the locatable base station to obtain the actual position of the mobile phone;

[0035] The real-time positioning module is used to perform real-time positioning when the mobile phone moves based on the base station to be used.

[0036] In a third aspect, the present invention provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps in any of the methods described above are executed.

[0037] In a fourth aspect, the present invention provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in any of the methods described above are executed.

[0038] The beneficial effects of the present invention are as follows: the present invention first obtains the location of a mobile phone based on GPS positioning, and obtains a locatable base station and a base station to be used based on the GPS mobile phone location; then obtains a mobile area plan and a mobile expansion plan based on the locatable base station and the base station to be used; accurately locates the mobile phone based on the locatable base station to obtain the actual location of the mobile phone; finally, based on the base station to be used, real-time positioning is performed when the mobile phone moves. The advantage of this is that after obtaining the approximate location of the mobile phone based on GPS, by obtaining the locatable base station and the base station to be used, a signal base station that can effectively locate the mobile phone within the mobile phone's moving range can be obtained. At the same time, obtaining the mobile area plan and the mobile expansion plan can limit the area where the mobile phone is located, which is conducive to timely replacing the signal base station for locating the mobile phone when the mobile phone moves outside the limited area, thereby making the actual location of the mobile phone obtained when combining GPS positioning and signal base station positioning more accurate, and by continuously replacing the signal base station for locating the mobile phone when the mobile phone is moving, the positioning data obtained can still effectively reflect the movement status of the mobile phone when the mobile phone moves. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 is a functional block diagram of the system of the present invention;

[0040] Figure 2is a flow chart of the steps of the method of the present invention;

[0041] Figure 3 A schematic diagram of a regional positioning coordinate system of the present invention;

[0042] Figure 4 A schematic diagram of obtaining the real-time location of a mobile phone according to the present invention;

[0043] Figure 5 Schematic diagram of an electronic device of the present invention. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] Example 1, please refer to Figure 1 As shown, in the first aspect, the present application provides a mobile phone real-time positioning system, including a base station selection module, an actual position determination module and a real-time positioning module:

[0046] The base station selection module is used to obtain the location of the mobile phone based on GPS positioning, recorded as the GPS mobile phone location, and obtain the locatable base stations and the base stations to be used based on the GPS mobile phone location.

[0047] The base station selection module is configured with a positioning base station selection strategy, which includes:

[0048] The location of the mobile phone is obtained based on GPS, and the location obtained by GPS is marked on the map, which is recorded as the GPS mobile phone location; the maximum error distance of GPS positioning is obtained based on the environment where the GPS mobile phone location is located, which is recorded as the GPS error distance;

[0049] In the specific implementation process, the maximum error distance can be set according to the obtained GPS mobile phone position. For example, when the GPS mobile phone position detects that the mobile phone is in an open area, the maximum error distance can be reduced, such as 10 meters; when the GPS mobile phone position detects that the mobile phone is in a tunnel, the maximum error distance can be increased, such as 30 meters;

[0050] Obtain two signal base stations that are relatively close to the location of the GPS mobile phone on the map and record them as locatable base station A and locatable base station B respectively;

[0051] In the specific implementation process, when there are multiple signal base stations close to the location of the GPS mobile phone, signals can be sent to the multiple signal base stations in sequence, and the two signal base stations with shorter time to receive feedback signals are recorded as locatable base station A and locatable base station B;

[0052] Obtain the signal base station that is closest to the locatable base station A and is not the locatable base station B, and record it as the base station A~1 to be used, where the base station A~1 to be used needs to satisfy that the angle between R1 and R2 is an obtuse angle, R1 is the line segment formed by the locatable base station A and the base station A~1 to be used, and R2 is the line segment formed by the locatable base station A and the locatable base station B;

[0053] Obtain the signal base station that is closest to the locatable base station B and is not the signal base station A, and record it as the base station to be used B~1, where the base station to be used B~1 must satisfy that the angle between T1 and T2 is an obtuse angle, T1 is the line segment formed by the locatable base station B and the base station to be used B~1, and T2 is the line segment formed by the locatable base station B and the locatable base station A.

[0054] In the specific implementation process, by making the base station A~1 to be used satisfy that the angle between R1 and R2 is an obtuse angle and making the base station B~1 to be used satisfy that the angle between T1 and T2 is an obtuse angle, the distance between at least one of the base stations A~1 to be used or the base station B~1 to be used and the GPS mobile phone position can be made greater than the distance between any locatable base station and the GPS mobile phone position, so that the radius of the subsequently obtained mobile expansion plan view is greater than the radius of the mobile area plan view;

[0055] The actual position determination module is used to obtain a mobile area plan and a mobile expansion plan based on a locatable base station and a base station to be used; and to accurately locate the mobile phone based on the locatable base station to obtain the actual position of the mobile phone.

[0056] The actual location determination module is configured with a regional positioning establishment strategy and an actual location determination strategy; the regional positioning establishment strategy includes:

[0057] Obtain the distances of the locatable base station A, the locatable base station B, the base station A~1 to be used, and the base station B~1 to be used from the GPS mobile phone position respectively, and record them as the locatable distance AJL, the locatable distance BJL, the distance A~1 to be used, and the distance B~1 to be used respectively;

[0058] The maximum value of the locatable distance AJL and the locatable distance BJL is recorded as the area radius; the maximum value of the distance to be used A~1JL and the distance to be used B~1JL is recorded as the expansion radius;

[0059] The circle with the GPS mobile phone position as the center and the area radius as the radius in the map is recorded as the mobile area plan; the circle with the GPS mobile phone position as the center and the expansion radius as the radius in the map is recorded as the mobile expansion plan.

[0060] Use a mobile phone to send a positioning signal to a locatable base station A, and obtain the distance between the mobile phone and the locatable base station based on the feedback signal of the locatable base station A, which is recorded as the locatable distance A; use a mobile phone to send a positioning signal to a locatable base station B, and obtain the distance between the mobile phone and the locatable base station based on the feedback signal of the locatable base station B, which is recorded as the locatable distance B;

[0061] A plane rectangular coordinate system is established, which is recorded as the regional positioning coordinate system, wherein the units of the X-axis and the Y-axis of the regional positioning coordinate system are both in meters; the GPS mobile phone position, the locatable base station, the base station to be used, the mobile area plan and the mobile expansion plan are placed in equal proportions in the regional positioning coordinate system; in the mobile area plan, a circle is made with the locatable base station A as the center and the locatable distance A as the radius, which is recorded as positioning circle A; a circle is made with the locatable base station B as the center and the locatable distance B as the radius, which is recorded as positioning circle B; a circle is made with the GPS mobile phone position as the center and the GPS error distance as the radius, which is recorded as the error circle.

[0062] In the specific implementation process, please refer to Figure 3 as well as Figure 4 As shown, the circle corresponding to GG0 is the error circle, the circle corresponding to GG1 is the moving area plane, the circle corresponding to GG2 is the moving expansion plane, the point corresponding to △ is the location of the locatable base station, the point corresponding to □ is the location of the base station to be used, the point corresponding to GG3 is the GPS mobile phone location, GG4 and GG5 are positioning circle A and positioning circle B. Through analysis, it can be obtained that there is an intersection point GG6 between positioning circle A and positioning circle B and it does not coincide with the GPS mobile phone location. Then, the midpoint of the line segment obtained by connecting point GG6 with the GPS mobile phone location is recorded as the mobile phone's pending location, that is, point GG7. Figure 4 The obtained point GG7 is within the error circle, so GG7 can be recorded as the actual position of the mobile phone;

[0063] The actual location determination strategy includes: when there is an intersection between positioning circle A and positioning circle B and the number of intersections is 1, the intersection between positioning circle A and positioning circle B is recorded as the base station mobile phone location; when the base station mobile phone location coincides with the GPS mobile phone location, the base station mobile phone location is recorded as the actual location of the mobile phone; when the base station mobile phone location does not coincide with the GPS mobile phone location, the midpoint of the line segment obtained by connecting the base station mobile phone location with the GPS mobile phone location is recorded as the mobile phone's pending location.

[0064] In the specific implementation process, by combining the signal base station and GPS positioning, the obtained mobile phone location can be made more accurate. At the same time, selecting two signal base stations with a close distance through the above analysis can further improve the accuracy of the obtained mobile phone location;

[0065] When there are intersections between positioning circle A and positioning circle B and the number of intersections is 2, the intersections between positioning circle A and positioning circle B are recorded as base station pending position 1 and base station pending position 2 respectively, and the midpoint of the triangle formed by the GPS mobile phone position, base station pending position 1 and base station pending position 2 is recorded as the mobile phone pending position;

[0066] When there is no intersection between positioning circle A and positioning circle B, the point on positioning circle A closest to the GPS mobile phone position is recorded as the near point of circle A, the point on positioning circle B closest to the GPS mobile phone position is recorded as the near point of circle B, and the midpoint of the triangle formed by the near point of circle A, the near point of circle B and the GPS mobile phone position is recorded as the pending position of the mobile phone;

[0067] After obtaining the pending position of the mobile phone, when the pending position of the mobile phone is within the error circle, the pending position of the mobile phone is recorded as the actual position of the mobile phone; when the pending position of the mobile phone is outside the error circle, the point on the error circle closest to the pending position of the mobile phone is recorded as the actual position of the mobile phone. In this embodiment, the actual position of the mobile phone is the position of the mobile phone obtained through analysis;

[0068] In the specific implementation process, when the pending position of the mobile phone is within the error circle, it means that there may be an error in GPS positioning, but the error is within the allowable error range, so the pending position of the mobile phone can be recorded as the actual position of the mobile phone; when the pending position of the mobile phone is outside the error circle, it means that the position of the mobile phone obtained by GPS positioning and the position of the mobile phone obtained by the signal base station have a large error, and the point on the error circle closest to the pending position of the mobile phone can be recorded as the actual position of the mobile phone through compromise. When there are other methods for locating the mobile phone in actual situations, the actual position of the mobile phone can be further calibrated according to the method in the actual situation combined with the pending position of the mobile phone;

[0069] The real-time positioning module is used to perform real-time positioning when the mobile phone moves based on the base station to be used.

[0070] The real-time positioning module is configured with a mobile real-time positioning strategy, which includes: obtaining the actual position of the mobile phone at every standard moving time, when the actual position of the mobile phone is within the mobile expansion plane and not within the mobile area plane, a circle is drawn with the real-time position of the mobile phone at this time as the center and the GPS error distance as the radius, which is recorded as the transfer error circle;

[0071] In the specific implementation process, the standard moving time can be determined according to the actual moving speed of the mobile phone, ensuring that the actual position of the mobile phone can be obtained at least once when the mobile phone is in the moving expansion plane map and not in the moving area plane map;

[0072] In the specific implementation process, when the actual position of the mobile phone is within the mobile expansion plane map and not within the mobile area plane map, it means that the locatable base station at this time may be farther away from the mobile phone. Therefore, the locatable base station should be replaced so that the distance between the replaced locatable base station and the mobile phone is closer, thereby making the obtained positioning data more accurate.

[0073] Replace the locatable base station A with the locatable base station closest to the actual location of the mobile phone, replace the locatable base station B with the base station to be used corresponding to the locatable base station closest to the actual location of the mobile phone, and obtain the latest locatable base station A and the base station to be used of the locatable base station B.

[0074] In the specific implementation process, in this embodiment, whenever a locatable base station is replaced, the base station to be used corresponding to the replaced locatable base station and the corresponding mobile area plan and mobile expansion plan are immediately obtained, and real-time replacement is performed in the regional positioning coordinate system;

[0075] When the locatable base station A and the locatable base station B are replaced, the mobile area plan and the mobile expansion plan are obtained based on the replaced locatable base station A and the locatable base station B, and the actual position of the mobile phone is immediately obtained. When the actual position of the mobile phone is within the transfer error circle, the actual position of the mobile phone is continuously obtained at standard moving time intervals, and the positioning base station A and the positioning base station B are replaced when the actual position of the mobile phone is within the mobile expansion plan and not within the mobile area plan;

[0076] In the specific implementation process, when the actual position of the mobile phone is within the transfer error circle, it means that the error between the position data obtained based on the replaced locatable base station and the position data obtained based on the replaced locatable base station is within the allowable error range, so the replaced locatable base station can continue to be used to locate the position of the mobile phone in real time;

[0077] When the actual location of the mobile phone is not within the transfer error circle, the existing locatable base station A and locatable base station B are deleted, the GPS mobile phone location at this time is obtained, and the two signal base stations that are closer to the GPS mobile phone location are recorded as locatable base station A and locatable base station B. The actual location of the mobile phone is continuously obtained at standard moving time intervals based on the locatable base stations, and the positioning base station A and positioning base station B are replaced when the actual location of the mobile phone is within the moving expansion plane map and not within the moving area plane map;

[0078] During the specific implementation process, when the actual location of the mobile phone is not within the transfer error circle, it means that the error between the location data obtained based on the replaced locatable base station and the location data obtained based on the replaced locatable base station is large. In order to ensure the accurate positioning of the mobile phone, the locatable base station should be re-acquired for subsequent analysis.

[0079] Example 2, please refer to Figure 2 As shown, in a second aspect, the present invention provides a method for real-time positioning of a mobile phone, comprising:

[0080] Step S1, based on GPS positioning, the location of the mobile phone is obtained, recorded as the GPS mobile phone location, and based on the GPS mobile phone location, a locatable base station and a base station to be used are obtained.

[0081] Step S1 includes:

[0082] Step S101, obtaining the location of the mobile phone based on GPS, and marking the location obtained by GPS on the map as the GPS mobile phone location; obtaining the maximum error distance of GPS positioning based on the environment where the GPS mobile phone location is located, and recording it as the GPS error distance;

[0083] Step S102, obtaining two signal base stations that are relatively close to the location of the GPS mobile phone in the map, and recording them as locatable base station A and locatable base station B respectively;

[0084] Obtain the signal base station that is closest to the locatable base station A and is not the locatable base station B, and record it as the base station A~1 to be used, where the base station A~1 to be used needs to satisfy that the angle between R1 and R2 is an obtuse angle, R1 is the line segment formed by the locatable base station A and the base station A~1 to be used, and R2 is the line segment formed by the locatable base station A and the locatable base station B;

[0085] Obtain the signal base station that is closest to the locatable base station B and is not the signal base station A, and record it as the base station to be used B~1, where the base station to be used B~1 must satisfy that the angle between T1 and T2 is an obtuse angle, T1 is the line segment formed by the locatable base station B and the base station to be used B~1, and T2 is the line segment formed by the locatable base station B and the locatable base station A.

[0086] Step S2, obtaining a mobile area plan and a mobile expansion plan based on the locatable base station and the base station to be used; accurately locating the mobile phone based on the locatable base station to obtain the actual location of the mobile phone.

[0087] Step S2 includes:

[0088] Step S201, respectively obtain the distances of the locatable base station A, the locatable base station B, the base station A~1 to be used, and the base station B~1 to be used from the GPS mobile phone position, and record them as the locatable distance AJL, the locatable distance BJL, the distance A~1JL to be used, and the distance B~1JL to be used;

[0089] The maximum value of the locatable distance AJL and the locatable distance BJL is recorded as the area radius; the maximum value of the distance to be used A~1JL and the distance to be used B~1JL is recorded as the expansion radius;

[0090] The circle with the GPS mobile phone position as the center and the area radius as the radius in the map is recorded as the mobile area plan; the circle with the GPS mobile phone position as the center and the expansion radius as the radius in the map is recorded as the mobile expansion plan.

[0091] Step S2 also includes:

[0092] Step S202: Use a mobile phone to send a positioning signal to a locatable base station A, and obtain the distance between the mobile phone and the locatable base station based on the feedback signal of the locatable base station A, which is recorded as locatable distance A; use a mobile phone to send a positioning signal to a locatable base station B, and obtain the distance between the mobile phone and the locatable base station based on the feedback signal of the locatable base station B, which is recorded as locatable distance B;

[0093] Step S203, establish a plane rectangular coordinate system, recorded as the regional positioning coordinate system, wherein the units of the X-axis and the Y-axis of the regional positioning coordinate system are both m; place the GPS mobile phone position, the locatable base station, the base station to be used, the mobile area plan and the mobile expansion plan in equal proportion in the regional positioning coordinate system, and make a circle with the locatable base station A as the center and the locatable distance A as the radius in the mobile area plan, recorded as positioning circle A; make a circle with the locatable base station B as the center and the locatable distance B as the radius, recorded as positioning circle B; make a circle with the GPS mobile phone position as the center and the GPS error distance as the radius, recorded as error circle;

[0094] Step S204, when there is an intersection between positioning circle A and positioning circle B and the number of intersections is 1, the intersection between positioning circle A and positioning circle B is recorded as the base station mobile phone position. When the base station mobile phone position coincides with the GPS mobile phone position, the base station mobile phone position is recorded as the actual mobile phone position. When the base station mobile phone position does not coincide with the GPS mobile phone position, the midpoint of the line segment obtained by connecting the base station mobile phone position with the GPS mobile phone position is recorded as the mobile phone's pending position.

[0095] Step S2 also includes:

[0096] Step S205, when there are intersections between positioning circle A and positioning circle B and the number of intersections is 2, the intersections between positioning circle A and positioning circle B are recorded as base station pending position 1 and base station pending position 2 respectively, and the midpoint of the triangle formed by the GPS mobile phone position, base station pending position 1 and base station pending position 2 is recorded as the mobile phone pending position;

[0097] Step S206, when there is no intersection between positioning circle A and positioning circle B, the point on positioning circle A closest to the GPS mobile phone position is recorded as the near point of circle A, the point on positioning circle B closest to the GPS mobile phone position is recorded as the near point of circle B, and the midpoint of the triangle formed by the near point of circle A, the near point of circle B and the GPS mobile phone position is recorded as the pending position of the mobile phone;

[0098] Step S207, after obtaining the pending position of the mobile phone, when the pending position of the mobile phone is within the error circle, the pending position of the mobile phone is recorded as the actual position of the mobile phone; when the pending position of the mobile phone is outside the error circle, the point on the error circle closest to the pending position of the mobile phone is recorded as the actual position of the mobile phone.

[0099] Step S3, real-time positioning is performed when the mobile phone moves based on the base station to be used.

[0100] Step S3 includes:

[0101] Step S301, obtaining the actual position of the mobile phone at every standard moving time. When the actual position of the mobile phone is in the moving expansion plane map and not in the moving area plane map, a circle is drawn with the real-time position of the mobile phone at this time as the center and the GPS error distance as the radius, which is recorded as the transfer error circle;

[0102] Step S302, replace the locatable base station A with the locatable base station closest to the actual location of the mobile phone, replace the locatable base station B with the base station to be used corresponding to the locatable base station closest to the actual location of the mobile phone, and obtain the latest locatable base station A and the base station to be used of the locatable base station B.

[0103] Step S3 also includes:

[0104] Step S303, when the locatable base station A and the locatable base station B are replaced, the mobile area plan and the mobile expansion plan are obtained based on the replaced locatable base station A and the locatable base station B, and the actual position of the mobile phone is immediately obtained. When the actual position of the mobile phone is within the transfer error circle, the actual position of the mobile phone is continuously obtained at every standard moving time, and the positioning base station A and the positioning base station B are replaced when the actual position of the mobile phone is within the mobile expansion plan and not within the mobile area plan;

[0105] Step S304, when the actual location of the mobile phone is not within the transfer error circle, delete the existing locatable base station A and the locatable base station B, obtain the GPS mobile phone location at this time, and record the two signal base stations that are closer to the GPS mobile phone location as the locatable base station A and the locatable base station B. Based on the locatable base station, continue to obtain the actual location of the mobile phone every standard moving time and replace the positioning base station A and the positioning base station B when the actual location of the mobile phone is within the mobile expansion plan and not within the mobile area plan.

[0106] Example 3, third aspect, please refer to Figure 5 As shown, the present application provides an electronic device 40, including a processor 401 and a memory 402, the memory 402 stores computer-readable instructions, and when the computer-readable instructions are executed by the processor 401, the steps in the above method are executed. Through the above technical solution, the processor 401 and the memory 402 are interconnected and communicate with each other through a communication bus and / or other forms of connection mechanisms (not shown), and the memory 402 stores a computer program executable by the processor 401. When the electronic device is running, the processor 401 executes the computer program to execute the method in any optional implementation of the above embodiment to achieve the following functions: first, the location of the mobile phone is obtained based on GPS positioning, and the locatable base station and the base station to be used are obtained based on the GPS mobile phone location; then, the mobile area plan and the mobile expansion plan are obtained based on the locatable base station and the base station to be used; the mobile phone is accurately located based on the locatable base station to obtain the actual location of the mobile phone; finally, the mobile phone is located in real time when it moves based on the base station to be used.

[0107] Embodiment 4, fourth aspect, the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above method are executed. Through the above technical solution, when the computer program is executed by the processor, the method in any optional implementation of the above embodiment is executed to achieve the following functions: first, the location of the mobile phone is obtained based on GPS positioning, and the locatable base station and the base station to be used are obtained based on the GPS mobile phone location; then, the mobile area plan and the mobile expansion plan are obtained based on the locatable base station and the base station to be used; the mobile phone is accurately positioned based on the locatable base station to obtain the actual location of the mobile phone; finally, the real-time positioning is performed when the mobile phone moves based on the base station to be used.

[0108] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0109] It should be understood by those skilled in the art that the embodiments of the present invention can be provided as methods, systems or computer program products. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. 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.

[0110] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

Claims

1. A mobile phone real-time positioning method, characterized in that: include: Based on GPS positioning, the location of the mobile phone is obtained, which is recorded as the GPS mobile phone location, and based on the GPS mobile phone location, a locatable base station and a base station to be used are obtained; Acquire a mobile area plan and a mobile expansion plan based on locatable base stations and base stations to be used; Based on the locatable base station, the mobile phone is accurately positioned to obtain its actual location; Real-time positioning of the mobile phone as it moves based on the base station to be used; The mobile area plan and the mobile expansion plan are obtained based on the locatable base stations and the base stations to be used; Based on the locatable base station, the mobile phone is accurately positioned, and the actual location of the mobile phone is obtained, including: Obtain the distances of the locatable base station A, the locatable base station B, the base station A~1 to be used, and the base station B~1 to be used from the GPS mobile phone position respectively, and record them as the locatable distance AJL, the locatable distance BJL, the distance A~1 to be used, and the distance B~1 to be used respectively; The maximum value of the locatable distance AJL and the locatable distance BJL is recorded as the area radius; the maximum value of the distance to be used A~1JL and the distance to be used B~1JL is recorded as the expansion radius; The circle with the GPS mobile phone position as the center and the area radius as the radius in the map is recorded as the mobile area plane map; the circle with the GPS mobile phone position as the center and the expansion radius as the radius in the map is recorded as the mobile expansion plane map; Real-time positioning based on the base station to be used while the phone is moving includes: The actual location of the mobile phone is obtained at every standard moving time. When the actual location of the mobile phone is within the moving expansion plane map and not within the moving area plane map, a circle is constructed with the real-time location of the mobile phone at this time as the center and the GPS error distance as the radius, which is recorded as the transfer error circle. Replace the locatable base station A with the locatable base station closest to the actual location of the mobile phone, replace the locatable base station B with the base station to be used corresponding to the locatable base station closest to the actual location of the mobile phone, and obtain the latest locatable base station A and the base station to be used of the locatable base station B.

2. The method for real-time positioning of a mobile phone according to claim 1, characterized in that: The method of obtaining the location of the mobile phone based on GPS positioning, which is recorded as the GPS mobile phone location, and obtaining a locatable base station and a base station to be used based on the GPS mobile phone location includes: The location of the mobile phone is obtained based on GPS, and the location obtained by GPS is marked on the map, which is recorded as the GPS mobile phone location; the maximum error distance of GPS positioning is obtained based on the environment where the GPS mobile phone location is located, which is recorded as the GPS error distance; Obtain two signal base stations that are relatively close to the location of the GPS mobile phone on the map and record them as locatable base station A and locatable base station B respectively; Obtain the signal base station that is closest to the locatable base station A and is not the locatable base station B, and record it as the base station A~1 to be used, where the base station A~1 to be used needs to satisfy that the angle between R1 and R2 is an obtuse angle, R1 is the line segment formed by the locatable base station A and the base station A~1 to be used, and R2 is the line segment formed by the locatable base station A and the locatable base station B; Obtain the signal base station that is closest to the locatable base station B and is not the signal base station A, and record it as the base station to be used B~1, where the base station to be used B~1 must satisfy that the angle between T1 and T2 is an obtuse angle, T1 is the line segment formed by the locatable base station B and the base station to be used B~1, and T2 is the line segment formed by the locatable base station B and the locatable base station A.

3. The method for real-time positioning of a mobile phone according to claim 2, characterized in that: Acquire a mobile area plan and a mobile expansion plan based on locatable base stations and base stations to be used; Based on the locatable base station, the mobile phone is accurately positioned, and the actual location of the mobile phone is also obtained: Use a mobile phone to send a positioning signal to a locatable base station A, and obtain the distance between the mobile phone and the locatable base station based on the feedback signal of the locatable base station A, which is recorded as the locatable distance A; use a mobile phone to send a positioning signal to a locatable base station B, and obtain the distance between the mobile phone and the locatable base station based on the feedback signal of the locatable base station B, which is recorded as the locatable distance B; Establish a plane rectangular coordinate system, recorded as the regional positioning coordinate system, where the units of the X-axis and the Y-axis of the regional positioning coordinate system are both m; place the GPS mobile phone position, the locatable base station, the base station to be used, the mobile area plan and the mobile expansion plan in equal proportion in the regional positioning coordinate system, and draw a circle with the locatable base station A as the center and the locatable distance A as the radius in the mobile area plan, recorded as positioning circle A; draw a circle with the locatable base station B as the center and the locatable distance B as the radius, recorded as positioning circle B; draw a circle with the GPS mobile phone position as the center and the GPS error distance as the radius, recorded as error circle; When there is an intersection between positioning circle A and positioning circle B and the number of intersections is 1, the intersection of positioning circle A and positioning circle B is recorded as the base station mobile phone position. When the base station mobile phone position coincides with the GPS mobile phone position, the base station mobile phone position is recorded as the actual mobile phone position. When the base station mobile phone position does not coincide with the GPS mobile phone position, the midpoint of the line segment obtained by connecting the base station mobile phone position with the GPS mobile phone position is recorded as the mobile phone's pending position.

4. The method for real-time positioning of a mobile phone according to claim 3, characterized in that: Acquire a mobile area plan and a mobile expansion plan based on locatable base stations and base stations to be used; Based on the locatable base station, the mobile phone is accurately positioned, and the actual location of the mobile phone is also obtained: When there are intersections between positioning circle A and positioning circle B and the number of intersections is 2, the intersections between positioning circle A and positioning circle B are recorded as base station pending position 1 and base station pending position 2 respectively, and the midpoint of the triangle formed by the GPS mobile phone position, base station pending position 1 and base station pending position 2 is recorded as the mobile phone pending position; When there is no intersection between positioning circle A and positioning circle B, the point on positioning circle A closest to the GPS mobile phone position is recorded as the near point of circle A, the point on positioning circle B closest to the GPS mobile phone position is recorded as the near point of circle B, and the midpoint of the triangle formed by the near point of circle A, the near point of circle B and the GPS mobile phone position is recorded as the pending position of the mobile phone; After obtaining the pending position of the mobile phone, when the pending position of the mobile phone is within the error circle, the pending position of the mobile phone is recorded as the actual position of the mobile phone; when the pending position of the mobile phone is outside the error circle, the point on the error circle closest to the pending position of the mobile phone is recorded as the actual position of the mobile phone.

5. The method for real-time positioning of a mobile phone according to claim 4, characterized in that: Real-time positioning based on the base station to be used while the mobile phone is moving also includes: When the locatable base station A and the locatable base station B are replaced, the mobile area plan and the mobile expansion plan are obtained based on the replaced locatable base station A and the locatable base station B, and the actual position of the mobile phone is immediately obtained. When the actual position of the mobile phone is within the transfer error circle, the actual position of the mobile phone is continuously obtained at standard moving time intervals, and the positioning base station A and the positioning base station B are replaced when the actual position of the mobile phone is within the mobile expansion plan and not within the mobile area plan; When the actual location of the mobile phone is not within the transfer error circle, delete the existing locatable base station A and locatable base station B, obtain the GPS mobile phone location at this time, and record the two signal base stations that are closer to the GPS mobile phone location as locatable base station A and locatable base station B. Continue to obtain the actual location of the mobile phone based on the locatable base station every standard moving time and replace positioning base station A and positioning base station B when the actual location of the mobile phone is within the mobile expansion plan and not within the mobile area plan.

6. A mobile phone real-time positioning system, applicable to the mobile phone real-time positioning method according to claims 1-5, characterized in that: Including base station selection module, actual location determination module and real-time positioning module: The base station selection module is used to obtain the location of the mobile phone based on GPS positioning, recorded as the GPS mobile phone location, and obtain the locatable base station and the base station to be used based on the GPS mobile phone location; The actual position determination module is used to obtain a mobile area plan and a mobile expansion plan based on a locatable base station and a base station to be used; Based on the locatable base station, the mobile phone is accurately positioned to obtain its actual location; The real-time positioning module is used to perform real-time positioning when the mobile phone moves based on the base station to be used.

7. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 5 are executed.

8. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are performed.

Citation Information

Patent Citations

  • Positioning method of time division-synchronization code division multiple access (TD-SCDMA) mobile phone terminal

    CN103139901A

  • Method and system for wireless localization through assistant base station update

    CN101437287A

  • System and method for detecting position of vehicle using GPS and UWB

    KR1020170112862A