Signaling data positioning and correction methods, devices, electronic equipment and storage media
By obtaining the target user's current location and location cache information, and performing a two-step correction process, the problem of low positioning accuracy in signaling data positioning methods is solved, and higher-precision base station positioning is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA UNITED NETWORK COMM GRP CO LTD
- Filing Date
- 2023-11-08
- Publication Date
- 2026-07-17
AI Technical Summary
Existing signaling data location methods suffer from low accuracy due to changes in signaling location and inaccurate acquisition of base station operating parameters.
By obtaining the target user's current location and location cache information, a two-step correction process is executed: the first correction process corrects the current location based on the location cache information, and the second correction process further corrects the first location based on the base station information, ensuring the accuracy of the location information.
It improves the accuracy and practicality of base station positioning using signaling data, and enhances positioning accuracy and reliability by correlating and correcting historical location information with base station information.
Smart Images

Figure CN117354715B_ABST
Abstract
Description
Technical Field
[0001] This application relates to communication technology, and more particularly to a signaling data positioning and correction method, apparatus, electronic device, and storage medium. Background Technology
[0002] With the expansion of mobile internet data volume, the demand for providing real-time location services for users using signaling data has increased accordingly. Such location services are usually implemented in the form of base station positioning. However, this type of base station positioning method mainly relies on the latitude and longitude of the base station cell's technical parameters. Due to the large number of base stations operated by operators, many base station technical parameters are manually entered, and the base station technical parameters are transmitted anonymously during the core network signaling transmission process. Using signaling information to locate a user's real-time location may result in errors in latitude and longitude backfilling due to frequent changes in technical parameters, manual entry errors, and other issues. Furthermore, the signaling location of the same user may drift significantly within a similar time range. In addition, abnormal user signaling backfilling may also occur during network transmission, leading to user location errors.
[0003] Therefore, current signaling data positioning methods suffer from low accuracy due to changes in signaling location and the inaccuracy of obtaining base station operating parameter information. Thus, a signaling data positioning correction method is needed to improve the accuracy and practicality of base station positioning based on signaling data. Summary of the Invention
[0004] This application provides a signaling data positioning correction method, apparatus, electronic device, and storage medium to solve the problem that current signaling data positioning methods suffer from low positioning accuracy due to changes in signaling location and low accuracy in obtaining base station operating parameter information.
[0005] Firstly, this application provides a signaling data positioning and correction method, including:
[0006] Get the target user's current location;
[0007] Determine the location cache information;
[0008] Based on the location cache information, a first correction process is performed on the current location to obtain a first location, and the first location is updated to the location cache information;
[0009] Based on the base station information of the target base station corresponding to the current location and the location cache information, the first location is subjected to a second correction process to obtain the corrected second location.
[0010] As an optional implementation, before determining the location cache information, the method further includes:
[0011] Determine the user information of the target user and the base station information corresponding to the current location;
[0012] Determine whether the number of location information matching the user information and the base station information in the location cache information reaches a preset threshold;
[0013] Based on the judgment result, determine the preprocessing cache information;
[0014] And, the location cache information includes:
[0015] According to the preset cache information correction process, the preprocessed cache information is processed to obtain the processed location cache information.
[0016] As an optional implementation, determining the preprocessing cache information based on the judgment result includes:
[0017] If it is determined that the number of location information matching the user information and the base station information in the location cache information is greater than or equal to a preset threshold, then the preprocessed cache information matching the user information and the base station information within the first preset time period is invoked.
[0018] If it is determined that the number of location information matching the user information and the base station information in the location cache information is less than a preset threshold, then the preprocessed cache information matching the user information within the second preset time period is invoked.
[0019] As an optional implementation, the step of performing a first correction process on the current location based on the location cache information to obtain a first location includes:
[0020] The cache locations in the location cache information are arranged in reverse order according to the time information, and the cache locations are grouped according to the preset number of location information to obtain the correction group corresponding to each cache location;
[0021] Based on the latitude and longitude information and time information corresponding to the cache positions in each correction group, determine the moving speed of each cache position, and determine whether the moving speed meets the preset speed conditions;
[0022] If it is determined that the moving speed meets the preset speed conditions, the corresponding cache position is determined as a potential normal point;
[0023] Determine whether the proportion of cache locations identified as potential normal points in each correction group exceeds a preset proportion threshold. If it is determined that the proportion of cache locations identified as potential normal points in the corresponding correction group exceeds the preset proportion threshold, then the corresponding cache location is classified as a normal location.
[0024] The correction group corresponding to the current position is determined, and it is determined whether the current position is a normal position. If the current position is determined to be a normal position, the current position is determined as the first position. If the current position is determined not to be a normal position, the first candidate position information determined to be a normal position is obtained from the position cache information, and the first position is determined according to the time information corresponding to the first candidate position information.
[0025] As an optional implementation, the step of performing a second correction process on the first location based on the base station information of the target base station corresponding to the current location and the location cache information to obtain the corrected second location includes:
[0026] Based on the base station information of the target base station corresponding to the current location and the location cache information, determine whether the first location meets the preset location judgment conditions;
[0027] The location determination conditions are used to determine the validity of the first location, and the location determination conditions include base station conditions, location conditions, and time conditions.
[0028] If it is determined that the first position meets the position determination condition, then the first position is directly used as the second position;
[0029] If it is determined that the first position does not meet the position judgment condition, the second candidate position information that meets the position judgment condition is obtained from the position cache information, and the second position is determined according to the time information corresponding to the second candidate position information.
[0030] Secondly, this application provides a signaling data positioning and correction device, the device comprising:
[0031] The acquisition module is used to obtain the current location of the target user;
[0032] The processing module is used to determine the location cache information;
[0033] The processing module is further configured to perform a first correction process on the current position according to the position cache information, obtain a first position, and update the first position to the position cache information;
[0034] The processing module is further configured to perform a second correction process on the first position based on the base station information of the target base station corresponding to the current position and the position cache information, so as to obtain a corrected second position.
[0035] As an optional implementation, the processing module is further configured to, before determining the location cache information,
[0036] Determine the user information of the target user and the base station information corresponding to the current location;
[0037] Determine whether the number of location information matching the user information and the base station information in the location cache information reaches a preset threshold;
[0038] Based on the judgment result, determine the preprocessing cache information;
[0039] And, the specific method by which the processing module determines the location cache information includes:
[0040] According to the preset cache information correction process, the preprocessed cache information is processed to obtain the processed location cache information.
[0041] As an optional implementation, the processing module determines the specific method for preprocessing the cached information based on the judgment result, including:
[0042] If it is determined that the number of location information matching the user information and the base station information in the location cache information is greater than or equal to a preset threshold, then the preprocessed cache information matching the user information and the base station information within the first preset time period is invoked.
[0043] If it is determined that the number of location information matching the user information and the base station information in the location cache information is less than a preset threshold, then the preprocessed cache information matching the user information within the second preset time period is invoked.
[0044] As an optional implementation, the processing module performs a first correction process on the current position based on the position cache information to obtain the first position in the following specific ways:
[0045] The cache locations in the location cache information are arranged in reverse order according to the time information, and the cache locations are grouped according to the preset number of location information to obtain the correction group corresponding to each cache location;
[0046] Based on the latitude and longitude information and time information corresponding to the cache positions in each correction group, determine the moving speed of each cache position, and determine whether the moving speed meets the preset speed conditions;
[0047] If it is determined that the moving speed meets the preset speed conditions, the corresponding cache position is determined as a potential normal point;
[0048] Determine whether the proportion of cache locations identified as potential normal points in each correction group exceeds a preset proportion threshold. If it is determined that the proportion of cache locations identified as potential normal points in the corresponding correction group exceeds the preset proportion threshold, then the corresponding cache location is classified as a normal location.
[0049] The correction group corresponding to the current position is determined, and it is determined whether the current position is a normal position. If the current position is determined to be a normal position, the current position is determined as the first position. If the current position is determined not to be a normal position, the first candidate position information determined to be a normal position is obtained from the position cache information, and the first position is determined according to the time information corresponding to the first candidate position information.
[0050] As an optional implementation, the processing module performs a second correction process on the first location based on the base station information of the target base station corresponding to the current location and the location cache information to obtain the corrected second location. The specific method includes:
[0051] Based on the base station information of the target base station corresponding to the current location and the location cache information, determine whether the first location meets the preset location judgment conditions;
[0052] The location determination conditions are used to determine the validity of the first location, and the location determination conditions include base station conditions, location conditions, and time conditions.
[0053] If it is determined that the first position meets the position determination condition, then the first position is directly used as the second position;
[0054] If it is determined that the first position does not meet the position judgment condition, the second candidate position information that meets the position judgment condition is obtained from the position cache information, and the second position is determined according to the time information corresponding to the second candidate position information.
[0055] Thirdly, this application also provides an electronic device, comprising:
[0056] At least one processor; and
[0057] A memory that is communicatively connected to at least one processor; wherein,
[0058] The memory stores instructions that can be executed by at least one processor, such that the instructions are executed by at least one processor to enable the at least one processor to perform the method as described in the first aspect.
[0059] Fourthly, this application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method as described in the first aspect.
[0060] The signaling data positioning correction method, apparatus, electronic device, and storage medium provided in this application obtain the current location of the target user and determine the location cache information. Based on the location cache information, a first correction process is performed on the current location to obtain a first location and update it to the location cache information, thereby ensuring the accuracy of the location cache information. Furthermore, based on the base station information and the location cache information, a second correction process is performed on the first location to associate the information corresponding to the first location with the base station information. By using historical location information and base station information to correct the current location in two steps, the accuracy and practicality of base station positioning based on signaling data are improved. Attached Figure Description
[0061] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0062] Figure 1 This is a flowchart illustrating a signaling data positioning and correction method disclosed in an embodiment of the present invention;
[0063] Figure 2 This is a flowchart illustrating another signaling data positioning and correction method disclosed in an embodiment of the present invention;
[0064] Figure 3 This is a schematic diagram of the structure of a signaling data positioning and correction system disclosed in an embodiment of the present invention;
[0065] Figure 4 This is a flowchart illustrating another signaling data positioning and correction method disclosed in an embodiment of the present invention;
[0066] Figure 5 This is a schematic diagram of the structure of a signaling data positioning and correction device disclosed in an embodiment of the present invention;
[0067] Figure 6 This is a schematic diagram of the structure of a signaling data positioning and correction electronic device disclosed in an embodiment of the present invention.
[0068] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept of this application in any way, but rather to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. Detailed Implementation
[0069] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0070] With the expansion of mobile internet data volume, the demand for providing real-time location services to users using signaling data has increased accordingly. Such location services are typically implemented using base station positioning, such as coarse positioning based on base station information. Coarse positioning, also known as Cell-id positioning, mainly obtains the location information (latitude and longitude coordinates) of mobile terminal users through the network of telecommunications operators. The principle is to estimate the user's location based on the serving base stations. The location service platform translates the cell number into latitude and longitude coordinates to obtain the user's approximate location. Its positioning accuracy depends on the size of the base station or the mountainous area, generally ranging from tens to hundreds of meters. Compared to high-precision positioning, Cell-id-based coarse positioning services are almost unrestricted by the terminal and the positioning area, and have advantages such as low cost and short positioning response time.
[0071] However, this type of base station positioning method mainly relies on the latitude and longitude of the base station cell's technical parameters. Due to the large number of base stations operated by operators, many base station technical parameters are manually entered, and the base station technical parameters are transmitted anonymously during the core network signaling transmission process. Using signaling information to locate the user's real-time location may result in errors in latitude and longitude backfilling due to frequent changes in technical parameters and manual entry errors. Furthermore, the signaling location of the same user may drift significantly within a similar time range. In addition, abnormal user signaling backfilling may also occur during network transmission, leading to user positioning errors.
[0072] Therefore, current signaling data positioning methods suffer from low accuracy due to changes in signaling location and the inaccuracy of obtaining base station operating parameter information. Thus, a signaling data positioning correction method is needed to improve the accuracy and practicality of base station positioning based on signaling data.
[0073] The technical concept of this application is to obtain the current location of the target user and determine the location cache information, perform a first correction process on the current location based on the location cache information to obtain the first location and update it to the location cache information, thereby ensuring the accuracy of the location cache information. Furthermore, based on the base station information and the location cache information, a second correction process is performed on the first location to associate the information corresponding to the first location with the base station information. By using historical location information and base station information to correct the current location in two steps, the accuracy and practicality of base station positioning based on signaling data are improved.
[0074] Example 1
[0075] Please see Figure 1 , Figure 1 This is a flowchart illustrating a signaling data positioning and correction method disclosed in an embodiment of the present invention. Figure 1 As shown, the method includes:
[0076] S101. Obtain the current location of the target user;
[0077] The current location can be determined based on information uploaded to the operator by the target user in real time, or it can be calculated based on information from nearby base stations. The current location can be corrected by the specific location information in the location cache information mentioned later, as well as the base station information of the corresponding base station, to obtain a more accurate target location after correction.
[0078] S102. Determine the location cache information;
[0079] Location cache information serves as the basic data for implementing various correction processes to correct the current location, such as the first and second correction processes described later. The location cache information contains user information and base station information and is stored in a queue data structure to record the user's historical location information that meets preset standards within a certain period of time.
[0080] S103. Based on the location cache information, perform the first correction process on the current location to obtain the first location, and update the first location to the location cache information;
[0081] The first correction process determines and calculates the current position based on the corresponding information in the location cache. When correction is needed, partial information from the location cache can be used to replace the current position as the first position, or the current position and partial information from the location cache can be calculated and processed according to a preset calculation method to obtain the first position. After obtaining the first position, the corresponding result of the first position is further updated to the location cache according to a preset data format.
[0082] S104. Based on the base station information of the target base station corresponding to the current location and the location cache information, perform a second correction process on the first location to obtain the corrected second location.
[0083] The second correction process, based on the corresponding information in the location cache and the base station information of the target base station corresponding to the current location, judges and calculates the current location, and then obtains a second location through substitution or calculation. After obtaining the second location, the corresponding result of the second location can be further updated to the location cache according to a preset data format.
[0084] This embodiment obtains the target user's current location and determines the location cache information. Based on the location cache information, it performs a first correction process on the current location to obtain a first location and update it to the location cache information, thereby ensuring the accuracy of the location cache information. Furthermore, based on the base station information and the location cache information, it performs a second correction process on the first location, so that the information corresponding to the first location is associated with the base station information. By using historical location information and base station information to correct the current location in two steps, the accuracy and practicality of base station positioning based on signaling data are improved.
[0085] Example 2
[0086] Please see Figure 2 , Figure 2 This is a flowchart illustrating another signaling data positioning and correction method disclosed in an embodiment of the present invention. Figure 2 As shown, the method includes:
[0087] S201. Obtain the current location of the target user;
[0088] S202. Determine the user information of the target user and the base station information corresponding to the current location;
[0089] User information and base station information are used to further determine location cache information. Before the correction process is carried out, the location cache information needs to contain corresponding data related to user information and base station information. Only then can the corresponding data be called to perform correction according to the preset correction conditions.
[0090] S203. Determine whether the number of location information matching user information and base station information in the location cache information has reached a preset threshold.
[0091] S204. Based on the judgment result, determine the preprocessing cache information;
[0092] When the number of location information matching user information and base station information is insufficient, location information corresponding to other base station information related to user information can be called. For details, please refer to the description in other implementation methods.
[0093] S205. According to the preset cache information correction process, process the preprocessed cache information to obtain the processed position cache information.
[0094] The correction process for preprocessed cache information is used to ensure the validity of each location information. This ensures that the location information is saved to the location cache only when the user conditions, base station conditions, and location conditions are valid, and the location information that does not meet the conditions is removed, thereby ensuring the validity of the reference data in the correction process.
[0095] S206. Based on the location cache information, perform the first correction process on the current location to obtain the first location, and update the first location to the location cache information;
[0096] S207. Based on the base station information of the target base station corresponding to the current location and the location cache information, perform a second correction process on the first location to obtain the corrected second location.
[0097] It should be noted that the relevant descriptions of S201, S206, and S207 can be found in the corresponding descriptions in Embodiment 1, and will not be repeated here.
[0098] As an optional implementation, based on the judgment result, the preprocessing cache information is determined, including:
[0099] If it is determined that the number of location information matching user information and base station information in the location cache information is greater than or equal to a preset threshold, then the preprocessed cache information matching user information and base station information within the first preset time period is invoked.
[0100] If it is determined that the number of location information matching user information and base station information in the location cache is less than a preset threshold, then the preprocessed cache information matching user information within the second preset time period is invoked.
[0101] Due to insufficient information, it is necessary to obtain potentially effective information from a wider range. Therefore, the second preset duration is usually significantly longer than the first preset duration. For example, the first preset duration can be set to five minutes, while the second preset duration can be set to one hour.
[0102] By determining whether there is enough location information in the current location cache to match both user information and base station information, the system retrieves location information that matches both user information and base station information when sufficient information is available. When insufficient information is available, it retrieves only location information that matches user information. By preprocessing the cached information to indicate the user's activity trajectory over a past period, the system ensures the effectiveness of the preprocessed cached information and further corrects and processes it to obtain the location cached information. This improves the accuracy of the location cached information during the determination process, and further enhances the accuracy and practicality of base station positioning based on signaling data.
[0103] As an optional implementation, a first correction process is performed on the current location based on location cache information to obtain a first location, including:
[0104] The cache locations in the location cache information are sorted in reverse order according to the time information, and the cache locations are grouped according to the preset number of location information to obtain the correction group corresponding to each cache location;
[0105] Based on the latitude, longitude and time information corresponding to the cache positions in each correction group, determine the moving speed of each cache position and judge whether the moving speed meets the preset speed conditions.
[0106] If the movement speed is determined to meet the preset speed conditions, the corresponding cache position is determined as a potential normal point;
[0107] Determine whether the proportion of cache locations identified as potential normal points in each correction group exceeds a preset proportion threshold. If it is determined that the proportion of cache locations identified as potential normal points in the corresponding correction group exceeds the preset proportion threshold, then the corresponding cache location is classified as a normal location.
[0108] Therefore, it has been ensured that each location information in the location cache is a normal point. After obtaining the current location, the process of determining normal points described above can be used to determine whether the current location is a normal location, and then determine whether the current location needs to be corrected.
[0109] Determine the correction group corresponding to the current position and determine whether the current position is a normal position. If the current position is determined to be a normal position, then determine the current position as the first position. If the current position is determined not to be a normal position, then obtain the first candidate position information determined to be a normal position from the position cache information, and determine the first position based on the time information corresponding to the first candidate position information.
[0110] In addition, weighted calculation, curve fitting, machine learning, and other methods can be used to quantitatively calculate the processed position information based on the existing first candidate position information that has been determined to be a normal position, according to time information and other variables, and then use it as the first position.
[0111] By determining the correction group corresponding to each piece of information in the location cache information, and calculating the movement speed based on the latitude, longitude and time information corresponding to each correction group, it is determined whether each location information is a potential normal point. When the proportion of normal points in the corresponding correction group is sufficient, the corresponding location information is determined as a normal location. Furthermore, in the first correction process, the correction group of the current location is also obtained to determine whether the current location is a normal location. If the current location is a normal location, it is directly determined as the first location. If the current location is not a normal location, the closest normal location is determined as the first location based on the reverse time sequence. This improves the accuracy of the first location determination process and further enhances the accuracy and practicality of base station positioning based on signaling data.
[0112] As an optional implementation, based on the base station information of the target base station corresponding to the current location and the location cache information, a second correction process is performed on the first location to obtain a corrected second location, including:
[0113] Based on the base station information of the target base station corresponding to the current location and the location cache information, determine whether the first location meets the preset location judgment conditions;
[0114] Among them, the location judgment condition is used to determine the validity of the first location, and the location judgment condition includes base station condition, location condition and time condition;
[0115] If the first position is determined to meet the position determination condition, then the first position is directly used as the second position;
[0116] If the first position is determined not to meet the position determination conditions, the second candidate position information that meets the position determination conditions is obtained from the position cache information, and the second position is determined based on the time information corresponding to the second candidate position information.
[0117] As mentioned before, the process of determining the second position can be either a simple substitution based on existing second candidate position information, or it can be a quantitative calculation.
[0118] By using the base station information of the target base station corresponding to the current location and the location cache information, it is determined whether the base station conditions, location conditions, and time conditions of the first location meet the preset requirements. If they meet the requirements, the second correction process is not required. If they do not meet the requirements, the information that meets the conditions is obtained from the location cache information, and the closest location information is determined as the second location according to the reverse time order. The location cache information improves the fault tolerance of the positioning process. When the determined location information does not meet the preset requirements, the target information is selected from the location information that meets the conditions, thereby improving the accuracy and practicality of base station positioning based on signaling data.
[0119] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of a signaling data positioning and correction system disclosed in an embodiment of the present invention. Figure 3 As shown, the system includes a location caching module, a base station offset correction module, and a real-time location correction module, and provides users with accurate location information through reasonable judgment. When a user needs to query their real-time location, the real-time location correction module processes the data to determine whether the real-time location is a valid point.
[0120] Location caching module: This module primarily maintains a queue that records the location information of points recently identified as normal by the user. The real-time location is compared with the data in this queue to display the latest accurate location information to the user. Accordingly, the location caching module implements the method steps related to processing location cache information mentioned above.
[0121] Base station zipper correction module: Since the base station zipper records data on user cell handovers, including location data from all cells the user has connected to within a certain period, and any anomalies in this data are also recorded, this module needs to correct the base station zipper data when updating the location cache queue to ensure that the location cache queue stores the most accurate points possible. The base station zipper correction module is used to implement the method steps related to the first correction process in the aforementioned method.
[0122] Real-time location correction module: Since the operating parameters of the cell base station currently connected to the user may be incorrect or experience data drift, this module mainly determines the user's real-time location and obtains the user's likely normal location. The real-time location correction module is used to implement the method steps related to the second correction process in the aforementioned method.
[0123] Please see Figure 4 , Figure 4 This is a flowchart illustrating another signaling data positioning and correction method disclosed in an embodiment of the present invention. Figure 4 As shown, based on the aforementioned signaling data positioning and correction system, the method can be implemented in the following manner:
[0124] The location caching module updates the cache queue every 5 minutes to ensure that the real-time location is compared with the latest normal point when it is corrected. Then, the real-time location is queried. At the same time, the base station zipper data and the location caching module are retrieved. The base station zipper correction module is used to update the cache queue. Finally, the real-time location correction module is used to compare with the cache queue to obtain the latest and correct real-time location.
[0125] Specifically, the way the aforementioned modules are used to implement the methods in the aforementioned embodiments is as follows, wherein the information in the user cache queue is the aforementioned location cache information, the first preset duration is set to 5 minutes, and the second preset duration is set to 1 hour.
[0126] Location caching module: To ensure that the cache queue stores the latest and most accurate user location points while also considering system performance, this queue is updated every 5 minutes. The update process is as follows:
[0127] If there is no data or insufficient data in the user's cache queue (mainly for new users), that is, if the number of location information matching the user information and base station information in the aforementioned location cache information is less than the preset threshold, the historical location cell base station chain data of the user in the most recent hour is directly retrieved, and the chain data is processed using the correction algorithm for the cache module to store the 5 most recent and accurate historical data.
[0128] If there is data in the user's cache queue, that is, if the number of location information matching the user information and base station information in the aforementioned location cache information is greater than or equal to a preset threshold, the base station chain data of the user's historical location cell in the last 5 minutes is retrieved, and the chain data is processed using the correction algorithm for the cache module to store the 5 most recent and accurate historical data.
[0129] Base station zipper correction module: This module needs to correct the base station zipper data when the location module is updated.
[0130] If there is no data or insufficient data in the user's cache queue:
[0131] Retrieve one hour of historical location data from cell base stations and arrange them in chronological order.
[0132] Starting from the second point, select points for comparison. Each comparison point forms a comparison group with the previous 5 points, and each comparison point is compared with each point in the comparison group (if there are fewer than 5 points, all points are selected). The corresponding moving speed is calculated by calculating the difference in latitude and longitude between two comparison points and the difference in their time information. If the base station information of two comparison points indicates that they are in the same service area, a threshold of 100 km / h is used; if the base station information of two comparison points indicates that they are not in the same service area, a threshold of 200 km / h is used.
[0133] If the moving speed of the comparison point exceeds the threshold, the point is considered a potential anomaly; otherwise, the point is considered a potential normal point.
[0134] If the proportion of potential normal points in a control group exceeds 50%, then that point is confirmed as a normal point.
[0135] Finally, select the five newest points from all normal points and store them in the cache data.
[0136] If there is data in the user's cache queue:
[0137] Retrieve historical location cell zipper data within the last 5 minutes and arrange it in chronological order with 5 cached data in the cache queue.
[0138] Starting from the second point, point-by-point comparisons are performed using the method described above. Each comparison point forms a comparison group with the previous five points, and each comparison point is compared with the points within the comparison group (if there are fewer than five points, all points are selected). The corresponding moving speed is calculated by calculating the difference in latitude and longitude between two comparison points, as well as the difference in time information between the two points. If the base station information of two comparison points indicates that they are located within the same service area, a threshold of 100 km / h is used; if the base station information of two comparison points indicates that they are not located within the same service area, a threshold of 200 km / h is used.
[0139] If the moving speed of the comparison point exceeds the threshold, the point is considered a potential anomaly; otherwise, the point is considered a potential normal point.
[0140] If the proportion of potential normal points in a control group exceeds 50%, then that point is confirmed as a normal point.
[0141] If a new normal point is found, it is added to the cache queue to update the data.
[0142] Real-time location correction module: When a user retrieves their real-time location, the real-time location correction module needs to process and judge the location.
[0143] When a user retrieves their real-time location, the system compares the base station's data, such as the province ID, with the returned value. If they match, the process proceeds to the next step; otherwise, the latest cached data is displayed.
[0144] Calculate the time interval between the current time and the last cache module update time, and use the base station zipper correction module to update the cache module within the time interval to ensure that the cache module data is up-to-date.
[0145] The system retrieves data from the cache queue for comparison and reference, comparing the real-time position with the latest correct point in the cache. If it is the correct point, it is displayed directly to the user; otherwise, the latest point in the cache is displayed.
[0146] Therefore, by designing a corresponding signaling data correction system, each method is implemented. By obtaining the target user's current location and determining the location cache information, a first correction process is performed on the current location based on the location cache information to obtain the first location and update it to the location cache information, thereby ensuring the accuracy of the location cache information. Furthermore, based on the base station information and the location cache information, a second correction process is performed on the first location to associate the information corresponding to the first location with the base station information. By using historical location information and base station information to correct the current location in two steps, the accuracy and practicality of base station positioning based on signaling data are improved.
[0147] This embodiment determines whether there is enough location information in the current location cache that matches the user information and the base station information corresponding to the current location. Based on different determination results, different processes for determining preprocessed cache information are executed, and the preprocessed cache information is further corrected to obtain the location cache information. This improves the accuracy of the location cache information in the process of determining the location cache information, and further improves the accuracy and practicality of base station positioning based on signaling data.
[0148] Example 3
[0149] This invention also provides a signaling data positioning and correction device to implement the aforementioned method. Please refer to [link to relevant documentation]. Figure 5 , Figure 5 This is a schematic diagram of the structure of a signaling data positioning and correction device disclosed in an embodiment of the present invention. Figure 5 As shown, based on any other embodiment, the apparatus includes:
[0150] Module 31 is used to obtain the current location of the target user;
[0151] Processing module 32 is used to determine location cache information;
[0152] The processing module 32 is also used to perform a first correction process on the current position according to the position cache information, obtain the first position, and update the first position to the position cache information;
[0153] The processing module 32 is further configured to perform a second correction process on the first position based on the base station information of the target base station corresponding to the current position and the position cache information, so as to obtain the corrected second position.
[0154] By acquiring the target user's current location and determining the location cache information, a first correction process is performed on the current location based on the location cache information to obtain the first location and update it to the location cache information, thereby ensuring the accuracy of the location cache information. Furthermore, based on the base station information and the location cache information, a second correction process is performed on the first location to associate the information corresponding to the first location with the base station information. By using historical location information and base station information to correct the current location in two steps, the accuracy and practicality of base station positioning based on signaling data are improved.
[0155] As an optional implementation, the processing module 32 is also configured to, before determining the location cache information,
[0156] Determine the target user's user information and the base station information corresponding to the current location;
[0157] Determine whether the number of location information matching user information and base station information in the location cache information has reached a preset threshold;
[0158] Based on the judgment result, determine the preprocessing cache information;
[0159] And, the specific method by which processing module 32 determines the location cache information includes:
[0160] According to the preset cache information correction process, the preprocessed cache information is processed to obtain the processed location cache information.
[0161] By determining the user information and the base station information corresponding to the current location, it is judged whether there is enough location information in the current location cache that matches the user information and base station information. Different processes for determining preprocessed cache information are executed according to different judgment results, and the preprocessed cache information is further corrected to obtain the location cache information. This improves the accuracy of the location cache information in the process of determining the location cache information, and further improves the accuracy and practicality of base station positioning based on signaling data.
[0162] As an optional implementation, the processing module 32 determines the specific method for preprocessing the cached information based on the judgment result, including:
[0163] If it is determined that the number of location information matching user information and base station information in the location cache information is greater than or equal to a preset threshold, then the preprocessed cache information matching user information and base station information within the first preset time period is invoked.
[0164] If it is determined that the number of location information matching user information and base station information in the location cache is less than a preset threshold, then the preprocessed cache information matching user information within the second preset time period is invoked.
[0165] By determining whether there is enough location information in the current location cache to match both user information and base station information, the system retrieves location information that matches both user information and base station information when sufficient information is available. When insufficient information is available, it retrieves only location information that matches user information. By preprocessing the cached information to indicate the user's activity trajectory over a past period, the system ensures the effectiveness of the preprocessed cached information and further corrects and processes it to obtain the location cached information. This improves the accuracy of the location cached information during the determination process, and further enhances the accuracy and practicality of base station positioning based on signaling data.
[0166] As an optional implementation, the processing module 32 performs a first correction process on the current position based on the position cache information, and obtains the first position in the following specific ways:
[0167] The cache locations in the location cache information are sorted in reverse order according to the time information, and the cache locations are grouped according to the preset number of location information to obtain the correction group corresponding to each cache location;
[0168] Based on the latitude, longitude and time information corresponding to the cache positions in each correction group, determine the moving speed of each cache position and judge whether the moving speed meets the preset speed conditions.
[0169] If the movement speed is determined to meet the preset speed conditions, the corresponding cache position is determined as a potential normal point;
[0170] Determine whether the proportion of cache locations identified as potential normal points in each correction group exceeds a preset proportion threshold. If it is determined that the proportion of cache locations identified as potential normal points in the corresponding correction group exceeds the preset proportion threshold, then the corresponding cache location is classified as a normal location.
[0171] Determine the correction group corresponding to the current position and determine whether the current position is a normal position. If the current position is determined to be a normal position, then determine the current position as the first position. If the current position is determined not to be a normal position, then obtain the first candidate position information determined to be a normal position from the position cache information, and determine the first position based on the time information corresponding to the first candidate position information.
[0172] By determining the correction group corresponding to each piece of information in the location cache information, and calculating the movement speed based on the latitude, longitude and time information corresponding to each correction group, it is determined whether each location information is a potential normal point. When the proportion of normal points in the corresponding correction group is sufficient, the corresponding location information is determined as a normal location. Furthermore, in the first correction process, the correction group of the current location is also obtained to determine whether the current location is a normal location. If the current location is a normal location, it is directly determined as the first location. If the current location is not a normal location, the closest normal location is determined as the first location based on the reverse time sequence. This improves the accuracy of the first location determination process and further enhances the accuracy and practicality of base station positioning based on signaling data.
[0173] As an optional implementation, the processing module 32 performs a second correction process on the first location based on the base station information of the target base station corresponding to the current location and the location cache information, and obtains the corrected second location in the following specific ways:
[0174] Based on the base station information of the target base station corresponding to the current location and the location cache information, determine whether the first location meets the preset location judgment conditions;
[0175] Among them, the location judgment condition is used to determine the validity of the first location, and the location judgment condition includes base station condition, location condition and time condition;
[0176] If the first position is determined to meet the position determination condition, then the first position is directly used as the second position;
[0177] If the first position is determined not to meet the position determination conditions, the second candidate position information that meets the position determination conditions is obtained from the position cache information, and the second position is determined based on the time information corresponding to the second candidate position information.
[0178] By using the base station information of the target base station corresponding to the current location and the location cache information, it is determined whether the base station conditions, location conditions, and time conditions of the first location meet the preset requirements. If they meet the requirements, the second correction process is not required. If they do not meet the requirements, the information that meets the conditions is obtained from the location cache information, and the closest location information is determined as the second location according to the reverse time order. The location cache information improves the fault tolerance of the positioning process. When the determined location information does not meet the preset requirements, the target information is selected from the location information that meets the conditions, thereby improving the accuracy and practicality of base station positioning based on signaling data.
[0179] Example 4
[0180] This application provides an electronic device, including:
[0181] At least one processor; and
[0182] A memory that is communicatively connected to at least one processor; wherein,
[0183] The memory stores instructions that can be executed by at least one processor to enable the at least one processor to perform the method as described in any of the embodiments.
[0184] This application provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, are used to implement the method as described in any of the embodiments.
[0185] For details, please refer to Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. For example... Figure 6 As shown, the electronic device may include:
[0186] The device includes a processor 291 and a memory 292 storing executable program code; it may also include a communication interface 293 and a bus 294. The processor 291, memory 292, and communication interface 293 can communicate with each other via the bus 294. The communication interface 293 can be used for information transmission. The processor 291 is coupled to the memory 292, and the processor 291 can call logical instructions (executable program code) in the memory 292 to execute the method of any of the above embodiments.
[0187] Furthermore, the logic instructions in the aforementioned memory 292 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.
[0188] The memory 292, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this application. The processor 291 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 292, thereby implementing the methods in the above-described method embodiments.
[0189] The memory 292 may include a program storage area and a data storage area. The program storage area may store the operating system and application programs required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 292 may include high-speed random access memory and may also include non-volatile memory.
[0190] This invention also provides a computer-readable storage medium storing computer-executable instructions, which, when invoked, are used to implement the method in any of the embodiments.
[0191] This invention also discloses a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform the steps of the method described in any embodiment.
[0192] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0193] Through the detailed description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0194] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0195] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A signaling data positioning and correction method, characterized in that, The method includes: Get the target user's current location; Determine the location cache information; Based on the location cache information, a first correction process is performed on the current location to obtain a first location, and the first location is updated to the location cache information; Based on the base station information of the target base station corresponding to the current location and the location cache information, the first location is subjected to a second correction process to obtain the corrected second location; The step of performing a first correction process on the current location based on the location cache information to obtain the first location includes: The cache locations in the location cache information are arranged in reverse order according to the time information, and the cache locations are grouped according to the preset number of location information to obtain the correction group corresponding to each cache location; Based on the latitude and longitude information and time information corresponding to the cache positions in each correction group, determine the moving speed of each cache position, and determine whether the moving speed meets the preset speed conditions; If it is determined that the moving speed meets the preset speed conditions, the corresponding cache position is determined as a potential normal point; Determine whether the proportion of cache locations identified as potential normal points in each correction group exceeds a preset proportion threshold. If it is determined that the proportion of cache locations identified as potential normal points in the corresponding correction group exceeds the preset proportion threshold, then the corresponding cache location is classified as a normal location. Determine the correction group corresponding to the current position and determine whether the current position is a normal position. If the current position is determined to be a normal position, then determine the current position as the first position. If the current position is determined not to be a normal position, then obtain the first candidate position information determined to be a normal position from the position cache information, and determine the first position according to the time information corresponding to the first candidate position information. The step of performing a second correction process on the first location based on the base station information of the target base station corresponding to the current location and the location cache information to obtain the corrected second location includes: Based on the base station information of the target base station corresponding to the current location and the location cache information, determine whether the first location meets the preset location judgment conditions; The location determination conditions are used to determine the validity of the first location, and the location determination conditions include base station conditions, location conditions, and time conditions. If it is determined that the first position meets the position determination condition, then the first position is directly used as the second position; If it is determined that the first position does not meet the position judgment condition, the second candidate position information that meets the position judgment condition is obtained from the position cache information, and the second position is determined according to the time information corresponding to the second candidate position information.
2. The method according to claim 1, characterized in that, Before determining the location cache information, the method further includes: Determine the user information of the target user and the base station information corresponding to the current location; Determine whether the number of location information matching the user information and the base station information in the location cache information reaches a preset threshold; Based on the judgment result, determine the preprocessing cache information; And, the location cache information includes: According to the preset cache information correction process, the preprocessed cache information is processed to obtain the processed location cache information.
3. The method according to claim 2, characterized in that, The step of determining the preprocessing cache information based on the judgment result includes: If it is determined that the number of location information matching the user information and the base station information in the location cache information is greater than or equal to a preset threshold, then the preprocessed cache information matching the user information and the base station information within the first preset time period is invoked. If it is determined that the number of location information matching the user information and the base station information in the location cache information is less than a preset threshold, then the preprocessed cache information matching the user information within the second preset time period is invoked.
4. A signaling data positioning and correction device, characterized in that, The device includes: The acquisition module is used to obtain the current location of the target user; The processing module is used to determine the location cache information; The processing module is further configured to perform a first correction process on the current position according to the position cache information, obtain a first position, and update the first position to the position cache information; The processing module is further configured to perform a second correction process on the first position based on the base station information of the target base station corresponding to the current position and the position cache information, so as to obtain a corrected second position. When the processing module performs a first correction process on the current position based on the location cache information to obtain a first position, it specifically arranges each cached position in the location cache information in reverse order according to time information, and groups each cached position according to a preset number of location information to obtain a correction group corresponding to each cached position; determines the moving speed of each cached position based on the latitude, longitude and time information corresponding to the cached position in each correction group, and judges whether the moving speed meets a preset speed condition; if the moving speed meets the preset speed condition, the corresponding cached position is determined as a potential normal point; and judges each correction group... If the proportion of cache locations identified as potential normal points in the positive group exceeds a preset proportion threshold, then the corresponding cache location is classified as a normal location. The correction group corresponding to the current location is determined, and it is determined whether the current location is a normal location. If the current location is determined to be a normal location, then the current location is determined as the first location. If the current location is not a normal location, the first candidate location information for the determined normal location is obtained from the location cache information, and the first location is determined based on the time information corresponding to the first candidate location information. The processing module performs a second correction process on the first location based on the base station information of the target base station corresponding to the current location and the location cache information to obtain a corrected second location. Specifically, it determines whether the first location meets preset location judgment conditions based on the base station information of the target base station corresponding to the current location and the location cache information. The location judgment conditions are used to determine the validity of the first location and include base station conditions, location conditions, and time conditions. If the first location is determined to meet the location judgment conditions, it is directly used as the second location. If the first location is determined not to meet the location judgment conditions, it obtains second candidate location information that meets the location judgment conditions from the location cache information and determines the second location based on the time information corresponding to the second candidate location information.
5. The apparatus according to claim 4, characterized in that, The processing module is also used to determine the location cache information before... Determine the user information of the target user and the base station information corresponding to the current location; Determine whether the number of location information matching the user information and the base station information in the location cache information reaches a preset threshold; Based on the judgment result, determine the preprocessing cache information; And, the specific method by which the processing module determines the location cache information includes: According to the preset cache information correction process, the preprocessed cache information is processed to obtain the processed location cache information.
6. The apparatus according to claim 5, characterized in that, The processing module determines the specific method for preprocessing cached information based on the judgment result, including: If it is determined that the number of location information matching the user information and the base station information in the location cache information is greater than or equal to a preset threshold, then the preprocessed cache information matching the user information and the base station information within the first preset time period is invoked. If it is determined that the number of location information matching the user information and the base station information in the location cache information is less than a preset threshold, then the preprocessed cache information matching the user information within the second preset time period is invoked.
7. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method as described in any one of claims 1-3.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-3.