Intelligent positioning method, device and intelligent positioning system
Through the combination of positioning servers and databases in multiple application scenarios, intelligently identify and encrypt the transmission of GPS and base station positioning information, the problem of not being able to accurately inform locations in emergencies is solved, and accurate positioning and rapid transmission in multiple environments is achieved.
Patent Information
- Application Number
- CN202211512570.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2042-11-28
AI Technical Summary
In an emergency, the traditional WeChat positioning method cannot be implemented, resulting in the inability to accurately inform location information. Especially when the environment is unfamiliar, it leads to long invalid communication time. The traditional mobile phone positioning method does not apply to all environmental scenarios, and it is impossible to choose the appropriate one. Positioning method.
Through the positioning server, the position coordinate databases in various application scenarios are stored, the position requests sent by the terminal are received, the target application scenario is determined, the GPS and mobile base station positioning information is obtained, the target position information is intelligently identified, the target position information is determined, and the transmission is encrypted to adapt to different scenarios Provide accurate positioning information.
It improves the accuracy of positioning information, reduces invalid communication time, is suitable for a variety of environmental scenarios, saves positioning time and ensures the accurate transmission of positioning information.
Smart Images

Figure CN115866026B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of positioning systems, and in particular to an intelligent positioning method, device and intelligent positioning system. Background Art
[0002] With the rapid development of mobile Internet and smart phones and other related applications, people's living standards are constantly improving. In daily life, people can access the Internet anytime and anywhere to obtain information and use various Internet services such as consultation, shopping, business, entertainment and life. In real life, there are often situations where you need to tell others your location. Generally speaking, we can send our location information to the other party through the location positioning function of WeChat, so that the other party can understand our current location more intuitively.
[0003] However, in certain emergency situations, sending positioning information via WeChat is often not feasible, for example: reporting a vehicle accident to an insurance company for on-site inspection and damage assessment; reporting to relevant agencies or public security organs when a major natural disaster or social incident occurs, and other life scenarios.
[0004] In such a situation, the caller needs to communicate with the receiver to inform the receiver of the location information. However, in many cases, the caller may not be familiar with the current environment and cannot clearly describe his or her exact location or the surrounding environment, which results in a long period of ineffective communication and failure to accurately inform the location. In addition, the traditional mobile phone positioning method is not applicable to all environmental scenarios and cannot select the appropriate positioning method according to the usage environment scenario to obtain accurate positioning information. Summary of the invention
[0005] In view of this, an object of the present invention is to provide an intelligent positioning method, device and system that can improve the accuracy of positioning information and reduce invalid communication.
[0006] In a first aspect, an embodiment of the present invention provides an intelligent positioning method, which is applied to a positioning server; the positioning server stores a location coordinate database under various application scenarios; the method includes:
[0007] Receiving a request sent by the first terminal to obtain location information of the second terminal;
[0008] Determine a target application scenario corresponding to the request;
[0009] Acquire initial location information corresponding to the second terminal; the initial location information includes: GPS positioning information and mobile base station positioning information;
[0010] Intelligently identify the target location coordinate database corresponding to the target application scenario and the initial location information to determine the target location information corresponding to the second terminal;
[0011] The target location information is sent to the first terminal.
[0012] Optionally, before the step of receiving the request sent by the first terminal to obtain the location information of the second terminal, the step further includes:
[0013] Receiving an authorization request sent by the first terminal;
[0014] Determine whether the identity information of the first terminal meets the preset rules; the identity information includes at least one of the following: terminal identification, IP address, password, token;
[0015] If the preset rule is met, detecting whether the second terminal is within the service range and whether the second terminal agrees with the first terminal to obtain the location information;
[0016] If yes, authorization is performed for the first terminal.
[0017] Optionally, the step of acquiring initial location information corresponding to the second terminal includes:
[0018] Receiving GPS positioning information sent by the second terminal via encrypted transmission;
[0019] Receiving mobile base station location information sent by the mobile operator terminal in an encrypted transmission manner;
[0020] The GPS positioning information and the mobile base station positioning information are both encrypted information, and attack detection is performed in real time during the information reception process.
[0021] Optionally, before the step of performing intelligent identification according to the initial location information to determine the target location information corresponding to the second terminal, the step includes:
[0022] The initial location information is decrypted and format converted in the data isolation space.
[0023] Optionally, the step of performing intelligent identification according to a target location coordinate database corresponding to the target application scenario and the initial location information to determine the target location information corresponding to the second terminal includes:
[0024] The GPS positioning information and the mobile base station positioning information are respectively used as current position information, and the effective distance of the current position information in the target position coordinate database is calculated; the effective distance is used to represent the minimum distance between the current position information and the concerned position in the target position coordinate database;
[0025] The current location information corresponding to the smaller effective distance is used as the target location information corresponding to the second terminal.
[0026] Optionally, the step of calculating the effective distance of the current position information in the target position coordinate database includes:
[0027] If the position of interest in the target position coordinate database is a point position, calculating the straight-line distance between the current position information and the nearest point position in the target position coordinate database, and using the straight-line distance as the effective distance;
[0028] If the focus position in the target position coordinate database is a linear position, the vertical distance between the current position information and the nearest linear position in the target position coordinate database is calculated, and the vertical distance is used as the effective distance.
[0029] Optionally, the step of calculating the vertical distance between the current position information and the nearest linear position in the target position coordinate database comprises:
[0030] Draw a circle with the current location information as the center and the preset distance as the radius;
[0031] Determine whether there is an intersection between the circle and the linear position;
[0032] If not, the initial preset distance is updated by adding the preset distance to the specified step length, and the circle making step is continued;
[0033] If yes, the linear position of the intersection point is taken as the nearest linear position;
[0034] The vertical distance between the current position information and the nearest linear position is calculated.
[0035] Optionally, before the step of sending the target location information to the first terminal, the method further includes:
[0036] Converting the data format of the target location information into a preset data format;
[0037] The target location information is encrypted according to a preset encryption method.
[0038] A second aspect of the present application provides an intelligent positioning device, which is applied to a positioning server; the positioning server stores a position coordinate database under various application scenarios; the device comprises:
[0039] A request receiving module, used for receiving a request sent by a first terminal to obtain location information of a second terminal;
[0040] A scenario determination module, used to determine a target application scenario corresponding to the request;
[0041] An information acquisition module, used to acquire initial location information corresponding to the second terminal; the initial location information includes: GPS positioning information and mobile base station positioning information;
[0042] A location determination module, configured to perform intelligent identification based on a target location coordinate database corresponding to the target application scenario and the initial location information, and determine the target location information corresponding to the second terminal;
[0043] A location information sending module is used to send the target location information to the first terminal.
[0044] A third aspect of the present application provides an intelligent positioning system, which includes: a positioning server, a first terminal, a second terminal, and a mobile operator terminal; wherein the positioning server is connected to the first terminal and the second terminal respectively, and the first terminal, the second terminal and the mobile operator terminal are respectively communicatively connected; the positioning server is used to execute the method described above.
[0045] The embodiments of the present invention bring the following beneficial effects: The present invention provides an intelligent positioning method, device and system, wherein the intelligent positioning method determines positioning information corresponding to a specific application scenario according to the positioning capability of the second terminal and the positioning capability of the mobile base station, so as to save positioning time and reduce invalid communication when the second terminal user cannot accurately describe the surrounding environment information.
[0046] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0047] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0049] Figure 1 A flow chart of the intelligent positioning method provided in Example 1 of the present invention;
[0050] Figure 2 A flow chart of the intelligent positioning method provided in Example 2 of the present invention;
[0051] Figure 3 A flow chart of a method for obtaining authorization in the intelligent positioning method provided in Embodiment 2 of the present invention;
[0052] Figure 4 A flow chart of the intelligent positioning method provided in Embodiment 3 of the present invention;
[0053] Figure 5 A flow chart of the intelligent positioning method provided in Example 4 of the present invention;
[0054] Figure 6 This is a schematic diagram of the structure of the intelligent positioning device provided in Example 4 of the present invention.
[0055] The reference numerals are as follows:
[0056] 10 - request receiving module, 20 - scene determining module, 30 - information acquiring module, 40 - location determining module, 50 - location information sending module. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0058] In order to facilitate the understanding of this embodiment, the technical terms designed in this application are briefly introduced below.
[0059] The server side refers to a computer system in the network that can provide certain services to other machines. It includes a processor and a memory. The memory stores computer programs, and the processor is used to execute the computer programs in the memory.
[0060] The second terminal is a front-end device or mobile communication device, such as a mobile phone, that can be installed on a car and has functions such as positioning, communication, driving records, phone calls, voice broadcasts, audio and video playback, alarms, and remote power-off protection.
[0061] POI, generally known as Point of Interest, refers to point data in Internet electronic maps, which basically includes four attributes: name, address, coordinates, and category. It is derived from the point map feature vector data set in the basic surveying and mapping results DLG product. In GIS (Geographic Information System), it refers to objects that can be abstracted into points for management, analysis, and calculation.
[0062] After introducing the technical terms involved in this application, the application scenarios and design concepts of the embodiments of this application are briefly introduced.
[0063] With the rapid development of mobile Internet, smart phones and related applications, the scale and quantity of mobile communication infrastructure are constantly expanding. The coverage of mobile communication base stations is getting larger and larger, and the density of mobile communication base stations in a unit grid is getting higher and higher. The vigorous development of mobile communication infrastructure has brought about the continuous improvement of mobile network bandwidth and quality. The good mobile network experience has laid the foundation for the user experience of smart terminal devices. People can access the Internet anytime and anywhere to obtain information and use various Internet services such as consultation, shopping, business, entertainment and life. Therefore, smart phones have become an important tool that people in today's society cannot live without all the time, which has also prompted smart phones to become more and more functional and powerful.
[0064] In real life, there are often situations where you need to tell others where you are. If it is not an emergency, you can generally send your location information to the other party through the location positioning function of WeChat, so that the other party can understand your current location more intuitively. However, in some emergency situations, sending location information through WeChat is often impossible to implement, such as: reporting to the insurance company for on-site inspection and damage assessment after the vehicle is in danger; reporting to the government or public security organs when a major natural disaster or social event occurs. In life scenarios such as this, since the caller and the person answering the call are in a call, and the two parties cannot be WeChat friends, in this case, it is impossible to inform the other party of your current location by sending location information through WeChat, and you can only tell the other party about your environment by oral description. However, in many cases, the caller may not be familiar with his current environment and cannot clearly describe his exact location. If he is in the wild, he cannot clearly describe his exact location even with the help of map software. However, in these scenarios, the exact location of the caller is very important information for this call. Only when the caller clearly understands the exact location of the caller can he immediately coordinate other resources to handle the event mentioned in this call. There are a series of problems in describing location information through language, such as wasting time and inaccurate location information, which brings many problems to the subsequent timely handling of events.
[0065] Based on the above background, the present invention proposes a method for intelligent positioning. The basic idea of the method is to utilize the positioning capabilities of the second terminal (mobile phone terminal) and the mobile base station, and through the collaborative work of different sub-modules, identify and judge the acquired location information of multiple dimensions of the second terminal (mobile phone terminal), and then feed it back to the first terminal, so as to provide corresponding target location information according to the target application scenario.
[0066] Example 1
[0067] This embodiment provides an intelligent positioning method, which is applied to a positioning server; the positioning server stores a position coordinate database under various application scenarios; Figure 1 As shown, the method comprises the following steps:
[0068] S110: The processor receives a request sent by the first terminal to obtain location information of the second terminal.
[0069] S120: The processor determines a target application scenario corresponding to the request.
[0070] S130, the processor obtains initial location information corresponding to the second terminal. The initial location information includes: GPS location information and mobile base station location information.
[0071] S140, the processor performs intelligent identification based on the target location coordinate database and initial location information corresponding to the target application scenario, and determines the target location information corresponding to the second terminal.
[0072] S150: The processor sends the target location information to the first terminal.
[0073] In this embodiment, after receiving the request to obtain the location information of the second terminal, the target location coordinate database corresponding to the target application scenario is selected according to the determined target application scenario, and the initial position is intelligently identified to determine the specific location of the second terminal. In this way, when the second terminal cannot clearly understand its own location or cannot accurately describe the surrounding location information of its location, the target location information corresponding to the application scenario can be obtained to achieve the accurate location of the second terminal. In this way, the location of the second terminal of the user can be accurately identified when the user cannot accurately describe the location.
[0074] In step S110 of this embodiment, the first terminal sends a request to obtain location information to the second terminal; wherein the first terminal can be connected to multiple second terminals in communication. For example, in an actual application scenario, the first terminal is a road rescue center service terminal, and the second terminal is a front-end device or mobile communication device installed on a car and has functions such as positioning, communication, driving records, phone calls, voice broadcasts, audio and video playback, alarms, and remote power-off protection, such as a mobile phone. When the driver's vehicle breaks down and cannot operate normally, the second terminal asks the first terminal for help and needs to provide its location information to the first terminal. However, due to unfamiliarity with the driving section, it is unable to accurately describe its location. In this case, the first terminal sends a request to obtain the location information of the second terminal. The first terminal is connected to the second terminal in communication, and the second terminal can receive the request sent by the first terminal to obtain the location information of the second terminal.
[0075] In step S120 of this embodiment, the step of determining the target application scenario corresponding to the request is to determine the target application scenario corresponding to the request according to a preset mapping relationship.
[0076] In actual application, different application scenarios with mapping relationships are preset according to different external environments where the second terminal is located. For example, for a traffic rescue system, the preset application scenario A is that the second terminal is located in an open area, and GPS positioning information is selected in the preset mapping relationship. The preset application scenario B is that the second terminal is located in a bridge culvert or tunnel, and mobile base station positioning information is selected in the preset mapping relationship.
[0077] Specifically, the accuracy of GPS location data is high, but if the user is inside a building, bridge culvert or tunnel, the GPS signal is weak or there is no signal at all, and the GPS data obtained at this time is invalid data. At present, the base station coverage of mobile operators is very good. In places where there is no GPS signal, such as indoors and in tunnels, the mobile network signal is still very good. As long as there is a mobile network signal, the mobile operator can provide location information calculated based on base station data. The location data based on mobile base station data is slightly less accurate than GPS, but has a wider coverage than GPS.
[0078] In this way, the GPS location data and the mobile base station location data are organically combined, and positioning information corresponding to the application scenario is obtained according to the application scenario to improve the accuracy of the positioning information.
[0079] It is worth noting that the positioning method can also be applied to other life services, for example, various Internet services such as merchant location search, consultation, shopping, entertainment and life.
[0080] Example 2
[0081] Combination Figure 2As shown, this embodiment also provides another intelligent positioning method, which is applied to a positioning server, and the positioning server stores position coordinate data in various application scenarios.
[0082] The smart positioning method provided in this embodiment includes:
[0083] S210: The processor receives an authorization request sent by the first terminal.
[0084] S220, the processor determines whether the identity information of the first terminal meets the preset rules; the identity information includes at least one of the following: terminal identification, IP address, password, Token.
[0085] If yes, execute step S230.
[0086] S230: The processor detects whether the second terminal is in the service range and whether the second terminal agrees with the first terminal to obtain the location information.
[0087] If yes, execute step S240.
[0088] S240: The processor authorizes the first terminal.
[0089] S250: The processor receives a request sent by the first terminal to obtain location information of the second terminal.
[0090] S260: The processor determines a target application scenario corresponding to the request.
[0091] S270: The processor obtains initial location information corresponding to the second terminal. The initial location information includes: GPS location information and mobile base station location information.
[0092] S280, the processor performs intelligent identification based on the target location coordinate database and initial location information corresponding to the target application scenario, and determines the target location information corresponding to the second terminal.
[0093] S290: The processor sends the target location information to the first terminal.
[0094] In this embodiment, the location information is personal sensitive information data, and the location information can be transmitted and fed back to the first terminal based on the information acquisition request only after obtaining the user's authorization. Therefore, in this embodiment, firstly, it is verified whether the identity information of the first terminal in the information acquisition request meets the preset rules.
[0095] Specifically, the first terminal sends an authorization request to the second terminal; the processor verifies whether the authorization request is legal, whether the IP address is in the allowed access list, and whether the password and Token are correct and within the validity period.
[0096] Combination Figure 3 As shown, the process of obtaining authorization is as follows:
[0097] S310, the processor verifies whether the second terminal to be located is within the service range. If yes, execute step S320; if not, execute step S340.
[0098] S320: The processor sends the acquired location information to the second terminal, and provides the second terminal user with “Agree” and “Reject” options.
[0099] S330: The processor feeds back “authorization” information to the first terminal.
[0100] S340: The processor feeds back “authorization denied” information to the first terminal.
[0101] Specifically, in step S320, after the second terminal user selects the "Agree" option, step S320 is executed to feedback "authorization" information to the second terminal. In this way, after the identity authority is authorized, the steps of positioning information selection, feedback transmission, etc. are executed to realize the intelligent positioning function.
[0102] Optionally, the step of obtaining the initial location information corresponding to the second terminal in step S270 includes:
[0103] Receiving GPS positioning information sent by the second terminal via encrypted transmission;
[0104] Receiving mobile base station location information sent by a mobile operator terminal via encrypted transmission;
[0105] Among them, GPS positioning information and mobile base station positioning information are both encrypted information, and attack detection is performed in real time during the information reception process.
[0106] As personal sensitive information, location information needs to be transmitted in a secure manner after obtaining the user's authorization.
[0107] Specifically, the location data transmission process uses HTTPS to avoid the presence of plain text data during the data transmission process. On the basis of using HTTPS for data encryption transmission, the transmitted location information data is encrypted, and the transmission data uses a symmetric encryption algorithm. The AES algorithm or commercial encryption algorithm can be selected as needed.
[0108] At the same time, in order to avoid attacks during the data transmission process and the risk of data leakage, the data security transmission subsystem will actively perform attack detection, such as: man-in-the-middle attack detection, DNS spoofing detection, network message sniffing detection, etc.
[0109] Example 3
[0110] Combination Figure 4As shown, this embodiment provides another intelligent positioning method, which is also applied to the positioning server, and the method includes:
[0111] S410: The processor receives a request sent by a first terminal to obtain location information of a second terminal.
[0112] S420: The processor determines a target application scenario corresponding to the request.
[0113] S430: The processor obtains initial location information corresponding to the second terminal. The initial location information includes: GPS location information and mobile base station location information.
[0114] S440: The processor decrypts and converts the format of the initial location information in the data isolation space.
[0115] S450, the processor performs intelligent identification based on the target location coordinate database and initial location information corresponding to the target application scenario, and determines the target location information corresponding to the second terminal.
[0116] S460: The processor sends the target location information to the first terminal.
[0117] In step S440 of this embodiment, after receiving the encrypted data of the initial location information, the encrypted location data is decrypted, and then the format of the location data is identified, and the format of the location data is converted into a location format that can be identified and processed. In this way, the risk of data leakage can be avoided and it is only allowed to run within the protection range. At the same time, before the location data provides external services, the location data can be converted into a data format agreed with the external system as required, and the location data can be encrypted according to the agreed encryption method before entering the external service subsystem.
[0118] Optionally, the step of performing intelligent identification according to the target location coordinate database and the initial location information corresponding to the target application scenario in step S450 to determine the target location information corresponding to the second terminal includes:
[0119] The GPS positioning information and the mobile base station positioning information are respectively used as the current position information, and the effective distance of the current position information in the target position coordinate database is calculated; the effective distance is used to represent the minimum distance between the current position information and the concerned position in the target position coordinate database;
[0120] The current location information corresponding to the smaller effective distance is used as the target location information corresponding to the second terminal.
[0121] Optionally, the step of calculating the effective distance of the current position information in the target position coordinate database includes:
[0122] If the position of interest in the target position coordinate database is a point position, the straight-line distance between the current position information and the nearest point position in the target position coordinate database is calculated, and the straight-line distance is used as the effective distance;
[0123] If the focus position in the target position coordinate database is a linear position, the vertical distance between the current position information and the nearest linear position in the target position coordinate database is calculated, and the vertical distance is used as the effective distance.
[0124] Optionally, the step of calculating the vertical distance between the current position information and the nearest linear position in the target position coordinate database includes:
[0125] Draw a circle with the current location as the center and the preset distance as the radius;
[0126] Determine whether there is an intersection between the circle and the linear position;
[0127] If not, the initial preset distance is updated by adding the preset distance to the specified step length, and the circle making step is continued;
[0128] If yes, the linear position of the intersection point is taken as the nearest linear position;
[0129] Calculate the vertical distance between the current position and the nearest linear position.
[0130] The location data collected in this embodiment includes GPS data and mobile base station location data. It is unclear in advance which of the two data is more accurate. In order to realize the intelligent recognition of location data, it is necessary to model according to different scenarios, and make automatic judgments based on the characteristics of different scenarios and the acquired location data. In general, GPS location data will be preferred, and the accuracy of GPS location data is indeed higher than that of base station location data. However, GPS location data is not used in all cases. For example, if the location data is used in the scene of car insurance survey, the acquired location data must be close to highways or urban roads. Even if GPS data is obtained, if the GPS location data is processed and located in the fields or lakes, and there is no highway information around, the GPS data cannot be used in this case. At this time, the base station location data is detected again. If the base station location data is located close to the position where the vehicle should be, the intelligent recognition module will select the base station location data as the final result.
[0131] The location service coordinate database is constructed according to the application scenario, and the coordinate databases for different application scenarios are different. The points of interest (POI) in different application scenarios are different. For example, in the catering service scenario, the POI of the hotel is a point; in the road traffic service scenario, the POI of the road is a line; and in the tourism service scenario, the POI of the scenic spot is a surface. When the POI is a point, the method of identifying the precise location is relatively simple, and the straight-line distance between the two coordinates can be calculated; when the POI is a line, the process of identifying the precise location becomes complicated. For the detailed identification process, please refer to the working mechanism description below; when the POI is a surface, the surface can be simplified into a polygon composed of multiple lines, and then each edge is identified in the way that the POI is a line, and finally the minimum distance is taken as the identification result.
[0132] Different location recognition models are established according to different application scenarios. When users need to identify precise locations, they need to inform the intelligent recognition system in advance in which application scenario the coordinates will be used. For example, when a user calls an agent to request precise location positioning services, the application scenario can be immediately determined based on the user's call number by binding the call number with the application scenario.
[0133] Taking vehicle insurance as an example, the specific working mechanism is as follows:
[0134] Step 1: Establish a coordinate database for location service application scenarios. Taking the application scenario of car insurance survey and positioning service as an example, first establish a coordinate database for road traffic. By connecting these road coordinates on the map, you can draw a complete road connection on the map;
[0135] Step 2: Obtain the location data of the accident reporter based on GPS calculation, complete the location correction, and go to step 3);
[0136] Step 3: Draw a circle with the position as the center and a radius of 50 meters. Draw horizontal points to the left and right with a step length of 1 meter from the center of the circle. Use the longitudes of these points to query the road traffic coordinate database to see if there is a road that intersects the line segment. If an intersection is found, or all radii in step 4) have been tried, go to step 5);
[0137] Step 4: Increase the radius by 50m, 100m, 300m, and 500m respectively, and repeat step 3);
[0138] Specifically, a circle is drawn with the position as the center and a radius of 50 meters. With the center of the circle as the starting point, vertical points are drawn upward and downward with a step length of 1 meter. The longitudes of these points are used to query the road traffic coordinate database to see if there is a road intersecting the line segment. If an intersection is found, or all radii in step 6) are tried, go to step 7);
[0139] Step 5: Increase the radius by 50m, 100m, 300m, and 500m respectively, and repeat step 5);
[0140] Step 6: Obtain road traffic data based on the intersection information. If no intersection is found, the traffic data is empty.
[0141] Step 7: Draw a perpendicular line from the location to the road line. The intersection of the location point and the perpendicular line with the road is defined as the distance from the point to the road. The distance from the location to the road ranges from zero (invalid location) to four.
[0142] Step 8: If the distances are both calculated based on the position calculated by GPS and the position calculated by the base station, go to step 10);
[0143] Step 9: Obtain the location data of the accident reporter calculated based on the mobile base station, complete the location correction, and go to step 3);
[0144] Step 10: Compare all effective distances obtained based on the location calculated by GPS and the location calculated based on the mobile base station, and take the shortest effective distance. The location corresponding to this shortest effective distance is the precise location of the reporter.
[0145] Example 4
[0146] Combination Figure 5 As shown, this embodiment provides another intelligent positioning method, which is applied to a positioning server. The intelligent positioning method includes:
[0147] S510: The processor receives a request sent by a first terminal to obtain location information of a second terminal.
[0148] S520: The processor determines a target application scenario corresponding to the request.
[0149] S530: The processor obtains initial location information corresponding to the second terminal. The initial location information includes: GPS location information and mobile base station location information.
[0150] S540: The processor performs intelligent identification based on the target location coordinate database and initial location information corresponding to the target application scenario to determine the target location information corresponding to the second terminal.
[0151] S550: The processor converts the data format of the target location information into a preset data format.
[0152] S560: The processor encrypts the target location information according to a preset encryption method.
[0153] S570: The processor sends the target location information to the first terminal.
[0154] In this way, the data format is converted, encrypted, and then fed back to the first terminal, which can improve the security of the data.
[0155] As an implementable manner, the smart positioning method provided in the embodiment of the present application further includes, after sending the target location information to the first terminal in step S570, destroying the target location information of the second terminal. In this way, data security can be improved to protect the data privacy of the second terminal user.
[0156] A second aspect of the present invention provides an intelligent positioning device, which is applied to a positioning server. The positioning server includes a processor and a memory. The memory stores a location coordinate database for various application scenarios. The processor is used to execute the above-mentioned intelligent positioning method.
[0157] Combination Figure 6 The device shown includes: a request receiving module 10, a scene determining module 20, an information acquiring module 30, a position determining module 40 and a position information sending module 50.
[0158] The request receiving module 10 is used to receive a request sent by the first terminal to obtain the location information of the second terminal.
[0159] The scenario determination module 20 is used to determine the target application scenario corresponding to the request.
[0160] The information acquisition module 30 is used to acquire the initial location information corresponding to the second terminal. The initial location information includes: GPS positioning information and mobile base station positioning information.
[0161] The location determination module 40 is used to perform intelligent identification based on the target location coordinate database corresponding to the target application scenario and the initial location information to determine the target location information corresponding to the second terminal.
[0162] The location information sending module 50 is used to send the target location information to the first terminal.
[0163] The third aspect of the present invention provides an intelligent positioning system, which includes a positioning server, a first terminal, a second terminal, and a mobile operator terminal. The positioning server is connected to the first terminal and the second terminal respectively, and the first terminal, the second terminal, and the mobile operator terminal are connected to each other. The positioning server is used to execute the above-mentioned intelligent positioning method.
[0164] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0165] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0166] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0167] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0168] Finally, it should be noted that the above embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. An intelligent positioning method, characterized in that: The method is applied to a positioning server; the positioning server stores a location coordinate database for various application scenarios; The location coordinate database stores the location of interest corresponding to the target application scenario; the method comprises: Receiving a request sent by the first terminal to obtain location information of the second terminal; Determine a target application scenario corresponding to the request and a target position coordinate database corresponding to the target application scenario; Acquire initial location information corresponding to the second terminal and perform attack detection in real time; the initial location information includes: GPS location information and mobile base station location information; The GPS positioning information and the mobile base station positioning information are respectively used as the current position information, and the effective distance of the current position information to the target position of interest in the target position coordinate database is calculated; the effective distance is used to characterize the minimum distance between the current position information and the target position of interest in the target position coordinate database; wherein, if the position of interest in the target position coordinate database is a linear position, a circle is drawn with the current position information as the center and the preset distance as the radius; it is determined whether there is an intersection between the circle and the linear position; if not, the initial preset distance is updated with the distance obtained by adding the preset distance to the specified step length, and the circle drawing step is continued; if yes, the linear position where the intersection is located is taken as the nearest linear position; the vertical distance between the current position information and the nearest linear position is calculated, and the current position information corresponding to the minimum effective distance is taken as the target position information corresponding to the second terminal; The target location information is sent to the first terminal.
2. The method according to claim 1, characterized in that Before the step of receiving a request sent by the first terminal to obtain the location information of the second terminal, the step further includes: Receiving an authorization request sent by the first terminal; Determine whether the identity information of the first terminal meets the preset rules; the identity information includes at least one of the following: terminal identification, IP address, password, token; If the preset rule is met, detecting whether the second terminal is within the service range and whether the second terminal agrees with the first terminal to obtain the location information; If yes, authorization is performed for the first terminal.
3. The method according to claim 1, characterized in that The step of acquiring initial location information corresponding to the second terminal includes: Receiving GPS positioning information sent by the second terminal via encrypted transmission; Receiving mobile base station location information sent by a mobile operator terminal via encrypted transmission; The GPS positioning information and the mobile base station positioning information are both encrypted information, and attack detection is performed in real time during the information reception process.
4. The method according to claim 1, characterized in that Before the step of performing intelligent identification according to the initial location information to determine the target location information corresponding to the second terminal, the method includes: The initial location information is decrypted and format converted in the data isolation space.
5. The method according to claim 1, characterized in that The step of calculating the effective distance of the current position information in the target position coordinate database comprises: If the focus position in the target position coordinate database is a point position, the straight-line distance between the current position information and the nearest point position in the target position coordinate database is calculated, and the straight-line distance is used as the effective distance.
6. The method according to claim 1, characterized in that Before the step of sending the target location information to the first terminal, the method further includes: Converting the data format of the target location information into a preset data format; The target location information is encrypted according to a preset encryption method.
7. An intelligent positioning device, characterized in that: The device is applied to a positioning server; the positioning server stores a location coordinate database for various application scenarios; The position coordinate database stores the focus position corresponding to the target application scenario; the device includes: A request receiving module, used for receiving a request sent by a first terminal to obtain location information of a second terminal; A scene determination module, used to determine a target application scene corresponding to the request and a target position coordinate database corresponding to the target application scene; An information acquisition module, used to acquire initial location information corresponding to the second terminal and perform attack detection in real time; the initial location information includes: GPS positioning information and mobile base station positioning information; A location determination module, for using the GPS location information and the mobile base station location information as current location information respectively, and calculating the effective distance of the current location information to the target location of interest in the target location coordinate database; the effective distance is used to characterize the minimum distance between the current location information and the target location of interest in the target location coordinate database; wherein, if the location of interest in the target location coordinate database is a linear location, a circle is drawn with the current location information as the center and a preset distance as the radius; it is determined whether there is an intersection between the circle and the linear location; if not, the initial preset distance is updated with the distance obtained by adding the preset distance to the specified step length, and the circle drawing step is continued; if yes, the linear location where the intersection is located is taken as the nearest linear location; the vertical distance between the current location information and the nearest linear location is calculated, and the current location information corresponding to the minimum effective distance is taken as the target location information corresponding to the second terminal; A location information sending module is used to send the target location information to the first terminal.
8. An intelligent positioning system, characterized in that: The system includes: a positioning server, a first terminal, a second terminal, and a mobile operator terminal; wherein the positioning server is connected to the first terminal and the second terminal respectively, and the first terminal, the second terminal and the mobile operator terminal are respectively communicatively connected; the positioning server is used to execute the method described in any one of claims 1-6.
Citation Information
Patent Citations
Handset alarm method and device thereof
CN103905975A
