CN108668224B - Base station position determining method, device, server and storage medium - Google Patents

Base station position determining method, device, server and storage medium Download PDF

Info

Publication number
CN108668224B
CN108668224B CN201810463233.3A CN201810463233A CN108668224B CN 108668224 B CN108668224 B CN 108668224B CN 201810463233 A CN201810463233 A CN 201810463233A CN 108668224 B CN108668224 B CN 108668224B
Authority
CN
China
Prior art keywords
base station
clustering
terminal
region
positioning data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810463233.3A
Other languages
Chinese (zh)
Other versions
CN108668224A (en
Inventor
秦博
段航
孙翔
陈亚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201810463233.3A priority Critical patent/CN108668224B/en
Publication of CN108668224A publication Critical patent/CN108668224A/en
Application granted granted Critical
Publication of CN108668224B publication Critical patent/CN108668224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/003Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a method, a device, a server and a storage medium for determining the position of a base station. The method comprises the following steps: the method comprises the steps that a server obtains positioning data of a terminal, wherein the positioning data comprises a base station identifier, a user identifier and terminal self-testing position information; classifying the positioning data according to the base station identification; clustering positioning data corresponding to each user identifier in a class to obtain a clustering area corresponding to each user identifier in the class; and determining the position of the base station corresponding to the base station identifier according to the obtained clustering area. The technical scheme of the embodiment of the invention can improve the accuracy of determining the position of the base station.

Description

Base station position determining method, device, server and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a server, and a storage medium for determining a location of a base station.
Background
With the increasingly wide application of terminals in people's lives, terminals are positioned to be a technology which can be involved in various applications. Terminal positioning refers to a technique of acquiring position information of a terminal by a positioning technique. The terminal positioning specifically adopts various methods, such as positioning the terminal by using a satellite global positioning system, positioning the terminal by using a positioning switching method, positioning based on a base station position, and the like. At present, a positioning method based on the position of a base station is often adopted. With the positioning method based on the base station position, the base station position needs to be determined first. Specifically, the strength of the base station signal received by the terminal can be used to determine the location information of the base station near the terminal. However, the base station signal has a wide propagation range and the strength of the base station signal is liable to fluctuate, resulting in low accuracy in determining the position of the base station.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a server and a storage medium for determining the position of a base station, which can improve the accuracy of determining the position of the base station.
In a first aspect, an embodiment of the present invention provides a method for determining a location of a base station, including: acquiring positioning data of a terminal, wherein the positioning data comprises a base station identifier, a user identifier and terminal self-testing position information; classifying the positioning data according to the base station identification; clustering terminal self-testing position information corresponding to each user identifier in a class to obtain a clustering area corresponding to each user identifier in the class; and determining the position information of the base station corresponding to the base station identification according to the obtained clustering area.
In a second aspect, an embodiment of the present invention provides a base station position determining apparatus, including: the data acquisition module is used for acquiring positioning data of the terminal, and the positioning data comprises a base station identifier, a user identifier and terminal self-testing position information; the classification module is used for classifying the positioning data according to the base station identification; the clustering module is used for clustering the terminal self-testing position information corresponding to each user identifier in a class to obtain a clustering area corresponding to each user identifier in the class; and the positioning module is used for determining the position of the base station corresponding to the base station identifier according to the obtained clustering area.
In a third aspect, an embodiment of the present invention provides a server, where the server includes: a memory and a processor; the memory is used for storing executable program codes; the processor is configured to read the executable program code stored in the memory to execute the method for determining the location of the base station in the technical solution of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer program instructions are stored on the computer-readable storage medium; the computer program instructions, when executed by the processor, implement the method for determining a location of a base station in the solution of the first aspect.
The embodiment of the invention provides a method, a device, a server, a terminal and a storage medium for determining the position of a base station, which are used for clustering terminal self-testing position information corresponding to one user identifier in a class to obtain a clustering area corresponding to one user identifier in the class, wherein the clustering area can be used as a positioning search area of a user for receiving a signal of a certain base station to the base station. Therefore, when the base station is positioned, the base station can be positioned in a clustering area corresponding to a user under the base station, and compared with the method for determining the position of the base station according to the strength of the base station signal received by the terminal in the prior art, the clustering area is an area where the user frequently moves. In one class, the clustering area corresponding to each user identifier is used as a basis for determining the position of the base station more comprehensively and has more credibility, and the influence of other factors is less. Therefore, the clustering area is used for positioning the position of the base station, and the accuracy of determining the position of the base station is improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for determining a location of a base station according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a self-test location of a terminal of FIG. 1 moving within a time period of terminal B1 within signal coverage of base station A1;
FIG. 4 is a schematic diagram of a display interface of a mobile phone according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another exemplary display interface of a mobile phone in accordance with the present invention;
fig. 6 is a schematic structural diagram of a base station location determining apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of an exemplary hardware architecture of a server capable of implementing the base station location determination method and apparatus according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention. The present invention is in no way limited to any specific configuration and algorithm set forth below, but rather covers any modification, replacement or improvement of elements, components or algorithms without departing from the spirit of the invention. In the drawings and the following description, well-known structures and techniques are not shown in order to avoid unnecessarily obscuring the present invention.
The invention provides a method, a device, a server and a storage medium for determining the position of a base station, which are used for positioning the base station by utilizing a terminal capable of communicating with the base station. The terminal can be mobile communication terminal equipment such as a mobile phone, a tablet computer and a notebook computer. The user may log in to a plurality of terminals or switch a currently used terminal among the plurality of terminals. It should be noted that, the same user logs in multiple terminals or switches terminals, and the user identifiers logged in the terminals are the same. The user identifier may be a phone number, a user name, a mailbox address, an application account, or the like, and is not limited herein.
Fig. 1 is a schematic view of an application scenario in an embodiment of the present invention. As shown in fig. 1, there are 2 base stations and 7 terminals in the illustrated area. The 7 terminals respectively correspond to 1 user, namely, each user logs in 1 terminal.
The 2 base stations are base station a1 and base station a2, respectively. The 7 terminals are terminal B1, terminal B2, terminal B3, terminal B4, terminal B5, terminal B6 and terminal B7, respectively.
In fig. 1, the dotted circle with the base station a1 as the center is the signal coverage of the base station a1, and the dotted circle with the base station a2 as the center is the signal coverage of the base station a 2. Wherein terminal B1, terminal B2, terminal B3, and terminal B4 receive signals from base station a 1. Terminal B5, terminal B6, and terminal B7 receive the signals of base station a 2.
In the process of receiving the signal sent by the base station, the terminal may obtain information and parameters such as a base station identifier (i.e., a base station ID) and a base station refresh time. The base station identity is unique. The terminal may also acquire the self-test location information of the terminal by using a Global Positioning System (GPS) technology, a Wireless-Fidelity (WiFi) technology, a beacon technology, or the like. The Beacon technology is a technology for acquiring location information of a terminal by using signal broadcasting equipment based on bluetooth low energy.
Correspondingly, the terminal self-testing position information comprises GPS position information, WiFi position information and/or beacon position information. The terminal self-test location information may specifically be a quantified location parameter such as longitude and latitude.
Fig. 2 is a flowchart of a method for determining a location of a base station according to an embodiment of the present invention. The base station location determination method may be performed by a server. Specifically, the base station location determining method may include steps S101 to S104.
In step S101, positioning data of the terminal is acquired.
Wherein the positioning data is used to determine the position of the base station. In one example, each piece of positioning data includes a base station identification, a user identification, and terminal self-test location information. The base station identity is used to identify the base station. The user identification may be used to identify the user. A user may have multiple different terminals and a user identity may correspond to multiple different terminals or terminal identities. The terminal self-testing position information is position information obtained by the terminal through combining the terminal and certain communication technical means. For example, as shown in fig. 1, the positioning data of terminal B1 includes a base station identity a1, a user identity B1, and terminal self-test location information GPS 1. The positioning data of the terminal B6 includes a base station identity a2, a user identity B6 and terminal self-test location information GPS 6.
The server may actively acquire the positioning data of the terminal, and may also receive the positioning data actively reported by the terminal, which is not limited herein.
Further, in order to improve the accuracy of the positioning data, and thus further improve the accuracy of determining the position of the base station, the positioning data may be filtered to remove dirty data before step S102 is executed.
Specifically, data screening parameters may be obtained, and the data screening parameters are used to screen the positioning data. Every locating data all corresponds to has data screening parameter. For example, the data filtering parameters may include one or more of a refresh time of a base station corresponding to the base station identifier, a moving speed of a terminal corresponding to the user identifier, and an accuracy of the terminal self-test location information. The positioning data can be filtered by using the data filtering parameters to obtain the positioning data required for classification in step S102.
For the refresh time of the base station, the shorter the refresh time of the base station is, the higher the possibility that the positioning data corresponding to the refresh time of the base station is retained is. For the moving speed of the terminal, the lower the moving speed of the terminal is, the more likely the positioning data corresponding to the moving speed of the terminal is to be retained. For the accuracy of the terminal self-test position information, the higher the accuracy of the terminal self-test position information is, the higher the possibility that the positioning data corresponding to the accuracy of the terminal self-test position information is retained is.
In one example, a data filtering threshold range may be preset for the data filtering parameter, and if the data filtering parameter corresponding to the positioning data satisfies the data filtering threshold range, the positioning data is retained. And if the data screening parameters corresponding to the positioning data do not meet the data screening threshold range, removing the positioning data. For example, the data filtering parameter includes the accuracy of the self-test location information of the terminal, and the corresponding data filtering threshold range is greater than or equal to the expected accuracy threshold. And if the precision of the self-testing position information of the terminal is greater than or equal to the expected precision threshold value, retaining positioning data corresponding to the precision of the self-testing position information of the terminal in the screening process. And if the precision of the self-testing position information of the terminal is smaller than the expected precision threshold value, removing positioning data corresponding to the precision of the self-testing position information of the terminal in the screening process.
In another example, the positioning data can also be scored by using a data screening parameter corresponding to the positioning data, and the removed and retained positioning data can be determined according to the score of the positioning data. Specifically, a score threshold range may be set in advance. If the score of the positioning data meets the score threshold range, the positioning data is retained in the screening process. And if the score of the positioning data does not meet the score threshold range, removing the positioning data in the screening process.
Under the condition that the data screening parameters comprise one of the refreshing time of the base station corresponding to the base station identification, the moving speed of the terminal corresponding to the user identification and the precision of the self-testing position information of the terminal, the data screening parameters can be directly scored. For example, the score threshold range is higher than or equal to the desired score threshold. The data screening parameters comprise the refreshing time of the base station corresponding to the base station identification. The shorter the refresh time of the base station corresponding to the base station identifier is, the higher the score of the positioning data is. And if the score of the positioning data according to the refreshing time of the base station corresponding to the base station identifier is higher than or equal to the expected score threshold, the positioning data is reserved. And if the score of the positioning data, which is marked according to the refreshing time of the base station corresponding to the base station identifier, is lower than the expected score threshold, removing the positioning data.
Under the condition that the data screening parameters comprise more than two of the refreshing time of the base station corresponding to the base station identification, the moving speed of the terminal corresponding to the user identification and the precision of the self-testing position information of the terminal, a weight coefficient can be set for each data screening parameter in advance, and then each data screening parameter is scored.
And calculating the score of the positioning data corresponding to the data screening parameter by using the score of each data screening parameter and the weight coefficient of each data screening parameter. The score threshold range is higher than or equal to the desired score threshold. If the score of the positioning data is higher than or equal to the expected score threshold, the positioning data is retained. If the score of the positioning data is lower than the expected score threshold, the positioning data is removed. For example, the data screening parameters include the refresh time of the base station corresponding to the base station identifier, the moving speed of the terminal corresponding to the user identifier, and the accuracy of the terminal self-testing location information, and the weighting coefficients corresponding to the refresh time of the base station corresponding to the base station identifier, the moving speed of the terminal corresponding to the user identifier, and the accuracy of the terminal self-testing location information are set to be 0.3, 0.4, and 0.3, respectively. The respective scores of the refresh time of the base station corresponding to the base station identifier, the moving speed of the terminal corresponding to the user identifier and the accuracy of the self-measured location information of the terminal are 79, 86 and 94. The desired score threshold is 80. The fraction of the positioning data is 79 × 0.3+86 × 0.4+94 × 0.3 — 86.3. The score of the positioning data is greater than a desired score threshold, and the positioning data is retained.
In step S102, the positioning data is classified according to the base station identity.
After the positioning data is obtained, the positioning data with the same base station identification is classified into one type. For example, as shown in fig. 1, base station identifiers in positioning data uploaded by terminal B1, terminal B2, terminal B3, and terminal B4 are all a1, and positioning data of terminal B1, terminal B2, terminal B3, and terminal B4 are classified into one category.
In step S103, clustering is performed on the terminal self-test location information corresponding to each user identifier in a class, so as to obtain a cluster region corresponding to each user identifier in the class.
Clustering refers to the process of dividing a collection of physical or abstract objects into classes composed of similar objects. And obtaining at least one clustering area after clustering. And the clustering areas are utilized to refine different activity areas of different users in the signal coverage area of the same base station. The terminal has mobility, and the terminal corresponding to each user identification can generate a plurality of pieces of positioning data in a period of time.
In the embodiment of the present invention, clustering is performed on the positioning data corresponding to each user identifier in a class, specifically, clustering is performed on the terminal self-test location information in the positioning data corresponding to each user identifier in a class. For example, as shown in fig. 1, base station a1 has terminal B1, terminal B2, terminal B3, and terminal B4 under its signal coverage. Then the positioning data for terminal B1 under the signal coverage of base station a1 are clustered, the positioning data for terminal B2 under the signal coverage of base station a1 are clustered, the positioning data for terminal B3 under the signal coverage of base station a1 are clustered, and the positioning data for terminal B4 under the signal coverage of base station a1 are clustered. Note that the clustering processes for each of the terminal B1, the terminal B2, the terminal B3, and the terminal B4 are independent of one another, and the time-series relationship among the clustering processes for each of the terminal B1, the terminal B2, the terminal B3, and the terminal B4 is not limited.
Fig. 3 is a schematic diagram of the self-measured position of the terminal B1 moving within the coverage of the bs a1 signal for a period of time in fig. 1. And the terminal self-testing position is obtained according to the terminal self-testing position information. As can be seen from fig. 3, the positioning data of the terminal B1 in the signal coverage of the base station a1 is clustered, and 4 clustering areas are obtained, namely, a clustering area C11, a clustering area C12, a clustering area C13, and a clustering area C14. The obtained clustering areas C11, C12, C13 and C14 are areas where the terminal B1 frequently appears in the coverage area of the base station A1, and have higher reliability. The location of base station a1 may be determined from the cluster regions C12, C12, C13, and C14. After the positioning data is clustered, the influence of other factors is less. The clustering area is used for determining the position of the base station, so that the accuracy of determining the position of the base station can be improved. For other terminals in the signal coverage of the base station a1 in fig. 1, the clusters of the positioning data of each of the terminals, e.g., terminal B2, terminal B3 and terminal B4, are similar to the clusters of the positioning data of terminal B1 shown in fig. 3.
Specifically, the size and variance of the clustering area may be preset, and the clustering algorithm may be used to cluster the positioning data according to the size and variance of the clustering area. For example, the terminal self-test location information is clustered. The cluster area size may be a cluster area radius, etc. For example, the data may be clustered using isodata clustering. And (3) merging and splitting the clustering region based on the common clustering algorithm by isodata clustering. The merging is to merge two clustering areas into one clustering area when the number of samples in one clustering area is too small or the two clustering areas are too close. When the variance in a certain clustering region is too large, the clustering region is split into two clustering regions.
In one example, after a clustering region corresponding to one user identifier in a class is obtained, a region attribute label may be created for the clustering region. The area attribute tag is used for marking the attribute of the clustering area, and the area attribute tag may be, but is not limited to, work, trip, travel, dining, shopping, and the like. According to the area attribute label, the activity areas of different states or life tracks of the user in the signal coverage range of the same base station can be obtained.
Specifically, the area attribute tag may be created by locating the acquisition time or the upload time of the data. For example, the terminal may report the time for acquiring the self-test position information of the terminal to the server in real time, or the server may collect the time for acquiring the self-test position information of the terminal from the terminal in real time; and creating an area attribute label according to the time of the terminal self-testing position information. Alternatively, the positioning data may further include a terminal self-test location time, and the area attribute tag may be created according to the terminal self-test location time in the positioning data. For example, if the time corresponding to the positioning data in the clustering region C11 in fig. 3 is 7:00 to 9:00 am on monday to friday, the region attribute label "trip to work" may be created for the clustering region C11.
Specifically, the area attribute tag may also be created for the clustering area through some order information or payment information of the terminal corresponding to the user identifier. For example, if the payment information associated with the positioning data in the clustered region C12 is a food payment, the region attribute label "eat" may be created for the clustered region C12.
Of course, the time of the terminal self-test location information, order information, payment information and other information can be combined to create the area attribute label for the clustering area. The terminal can also receive a label creation instruction input by a user, and generates a user-defined area attribute label according to the label creation instruction.
In order to facilitate the subsequent server to locate the terminal, the server may store the location data according to the base station identifier, the user identifier and the area attribute tag.
In an example, in order to further improve the accuracy of determining the position of the base station in step S104, after the clustering region is obtained, the obtained clustering region may be filtered, and in step S104, the base station corresponding to the base station identifier is determined according to the clustering region reserved after the filtering.
Regional screening parameters can be obtained. The region screening parameters are used for screening the clustering regions. For example, the region screening parameter may include the number of samples of the terminal self-test location information in the clustering region and/or the sampling duration of the terminal self-test location information. The greater the number of samples of the terminal self-test location information in the cluster area, the higher the likelihood that the cluster area will remain. The longer the sampling duration of the terminal self-test position information in the clustering area is, the higher the possibility that the clustering area is reserved. And screening to obtain the clustering area required for determining the position of the base station in the step S104 by using the obtained area screening parameters.
In one example, a region screening threshold range may be preset for the region screening parameter, and if the region screening parameter of the clustered region satisfies the region screening threshold range, the clustered region is retained. And if the region screening parameters of the clustering region do not meet the region screening threshold range, removing the clustering region. For example, the region screening parameter includes the sampling number of the terminal self-testing location information in the clustering region, and the corresponding region screening threshold range is greater than or equal to the expected number threshold. And if the sampling number of the self-testing position information of the terminal in the clustering area is greater than or equal to the expected number threshold, reserving the clustering area in the screening process. And if the sampling number of the self-testing position information of the terminal in the clustering area is less than the expected number threshold, removing the clustering area in the screening process. The region screening threshold range may be set according to a working scene, a working requirement, and the like, and is not limited herein.
For another example, the cluster region may be scored by using the region screening parameter, and the removed and retained cluster region may be determined according to the score of the cluster region. Specifically, a score threshold range may be set in advance. If the score of the clustering region meets the score threshold range, the clustering region is reserved in the screening process. And if the score of the clustering region does not meet the score threshold range, removing the clustering region in the screening process. The score threshold range may be set according to a work scenario, a work requirement, and the like, and is not limited herein.
Under the condition that the region screening parameters comprise the sampling number of the terminal self-testing position information in the clustering region or the sampling duration of the terminal self-testing position information, the region screening parameters can be directly scored. For example, the score threshold range is higher than or equal to the desired score threshold. The region screening parameters comprise the sampling number of the self-testing position information of the terminal in the clustering region. The more the number of samples of the terminal self-test position information in the clustering area is, the higher the score of the clustering area is. And if the score of the clustering region according to the sampling number of the self-testing position information of the terminal in the clustering region is higher than or equal to the expected score threshold, reserving the clustering region. And if the score drawn according to the sampling number of the self-testing position information of the terminal in the clustering area is lower than the expected score threshold, removing the clustering area.
Under the condition that the data screening parameters comprise the sampling number of the terminal self-testing position information in the clustering region and the sampling duration of the terminal self-testing position information, a weight coefficient can be set for each region screening parameter in advance, each region screening parameter is scored, and the score of the clustering region corresponding to the region screening parameter is calculated by utilizing the score of each region screening parameter and the weight coefficient of each region screening parameter. The score threshold range is higher than or equal to the desired score threshold. If the score of a clustered region is greater than or equal to a desired score threshold, the clustered region is retained. If the score of a clustered region is below a desired score threshold, then the clustered region is removed.
In step S104, the position of the base station corresponding to the base station identifier is determined according to the obtained clustering area.
The location of the base station may be expressed by longitude and latitude, etc., and is not limited herein.
The clustering area corresponding to one user identifier in one class can be used as a basis for determining the position of the base station. Because different user identifications correspond to different users, behavior tracks of different users may be different, and thus clustering regions corresponding to different user identifications in one class may also be different. The behavior track of the terminal corresponding to each user identifier has a certain rule, and the positioning data in the clustering area corresponding to each user identifier in one category is more comprehensive. Therefore, the positioning data in the clustering area corresponding to each user identifier in a class can be used as training data for determining the position of the base station. Compared with the method for determining the position of the base station according to the strength of the base station signal received by the terminal in the prior art, the clustering area is an area where the user frequently moves. In one class, the clustering area corresponding to each user identifier is used as a basis for determining the position of the base station more comprehensively and has more credibility, and the influence of other factors is less. Therefore, the clustering area is used for positioning the position of the base station, and the accuracy of determining the position of the base station is improved.
After the position of the base station is obtained, the user can be located by using the position of the base station. Since the accuracy of the location of the base station is improved, the accuracy of positioning the user's terminal based on the location of the base station is also improved. Moreover, different users have different action rules and different clustering areas corresponding to different user identifications, and the method for determining the position of the base station according to the clustering areas has stronger flexibility.
In another embodiment, for a terminal used by a user, the terminal needs to report positioning data to a server, so that the server performs clustering using the positioning data and determines a base station position.
In one example, after the server determines the base station location corresponding to the base station identifier according to the clustering area, a message may also be pushed to the terminal through the base station corresponding to the base station identifier. The pushed message comprises a message determined based on the clustering area corresponding to the user identification. Because the behavior rules of the users corresponding to the user identifications are different in the signal coverage range of the same base station, the messages to be pushed are also different. The information determined based on the clustering area corresponding to the user identification of the terminal is pushed to the terminal, so that the pushed information is more targeted to the user and more meets the requirements of the user, and the accuracy of information pushing is improved. The terminal receives the message pushed by the server through the base station, and can also inform the user of the pushed message in a display or play mode.
In another example, the server may further locate the terminal of the user by using the position of the base station determined according to the obtained clustering area, so as to obtain the position information of the terminal of the user. After the server locates and obtains the location information of the terminal corresponding to the user identifier, the server can also send the location information of the user obtained by locating to the terminal corresponding to the user identifier, so that the terminal can use the received location information of the terminal corresponding to the user identifier as the location information of the terminal initiating the transaction request. The transaction request may be a take-out request, a traffic query request, a taxi taking request, etc., and is not limited herein.
The following description will be given of the application of the base station location determination method using two specific application scenarios as examples.
The first scenario is as follows: message push
The server positions the base station corresponding to the base station identification and determines the position of the base station corresponding to the base station identification. Based on the clustering area corresponding to a certain user identifier under the base station, the information in the clustering area can be pushed to the terminal corresponding to the user identifier through the base station. Specifically, the information of the clustering region under the region attribute label corresponding to the user identifier under the base station can be pushed to the terminal corresponding to the user identifier according to the region attribute label of the clustering region.
For example, the server is a remote server, and the terminal is a mobile phone. The remote server has determined the location of the base station based on the clustered regions corresponding to the plurality of subscriber identities. If the positioning data uploaded by the mobile phone at 12:00 noon indicates that the position of the mobile phone is located in a clustering area with an area attribute label of 'dining', the remote server can push dining information in the clustering area to the mobile phone through the determined base station. The meal message may be a meal location, meal offer, etc. in the clustered region. And the mobile phone receives and displays the dining message pushed by the remote server through the determined base station. Fig. 4 is a schematic diagram of a display interface of a mobile phone according to an embodiment of the present invention. As shown in fig. 4, the mobile phone receives the dining message, and displays the names of the three dining places and the pictures of the dining places pushed by the server. The dining place 3 is provided with a coupon, and the coupon of the dining place 3 is displayed on the display interface by the mobile phone.
The second scenario is as follows: order processing
After the server determines the position of the base station corresponding to the base station identifier according to the obtained clustering area, the server can also position the terminal corresponding to the user identifier according to the position of the base station, and obtain the position information of the terminal corresponding to the user identifier. The server can send the position information of the terminal corresponding to the user identifier obtained by positioning to the terminal corresponding to the user identifier. And the terminal corresponding to the user identification can use the received position information as an order address. Specifically, the terminal can display prompt information to prompt a user to select the position information obtained by positioning as an order address.
For example, the terminal is a mobile phone. The user needs to place an order on the mobile phone through the application program, and the order needs to be filled in a receiving address by the user. And displaying prompt information by the mobile phone of the user, and prompting the user to select the position information obtained by positioning as an order address. Fig. 5 is a schematic diagram of another display interface of a mobile phone according to an embodiment of the present invention. As shown in fig. 5, the display interface of the mobile phone displays the text "do you choose to adopt the positioning location as the current order receiving address? "," yes "and" no ". The terminal can receive the click of yes or no by the user and determine whether the position information obtained by positioning is adopted as an order address.
Fig. 6 is a schematic structural diagram of a terminal positioning device 200 according to an embodiment of the present invention. As shown in fig. 6, the terminal positioning device 200 may include a data acquisition module 201, a classification module 202, a clustering module 203, and a positioning module 204.
And the data acquisition module 201 is configured to acquire positioning data of the terminal, where the positioning data includes a base station identifier, a user identifier, and terminal self-testing location information.
A classification module 202, configured to classify the positioning data according to the base station identifier.
The clustering module 203 is configured to cluster the terminal self-test location information corresponding to each user identifier in a class to obtain a clustering region corresponding to each user identifier in the class.
And the positioning module 204 is configured to determine a position of the base station corresponding to the base station identifier according to the obtained clustering region.
The positioning data may also include a self-testing location time of the terminal.
The clustering module 203 may be specifically configured to set a size and a variance of a clustering region; and clustering the positioning data corresponding to each user identifier in the first class by using a clustering algorithm according to the size and the variance of the clustering area to obtain the clustering area corresponding to each user identifier in the first class.
In one example, the terminal positioning device 200 may further comprise a label creation module 205, the label creation module 205 being configured to create a zone attribute label for the clustered region.
In an example, the data obtaining module 201 may be further configured to obtain data filtering parameters, where the data filtering parameters include one or more of a refresh time of a base station corresponding to the base station identifier, a moving speed of a terminal corresponding to the user identifier, and an accuracy of the terminal self-test location information; and screening to obtain positioning data required by classification by using the data screening parameters.
In an example, the clustering module 203 may further be configured to obtain a region screening parameter, where the region screening parameter includes a sampling number of the terminal self-testing location information in the clustering region and/or a sampling duration of the terminal self-testing location information; and screening to obtain the clustering area required by positioning by using the area screening parameters.
In one example, the terminal positioning device 200 may further include a message push module 206 and a sending module 207.
The message pushing module 206 is configured to push a message to the terminal through the base station corresponding to the base station identifier, where the message includes a message determined based on the clustering region corresponding to the user identifier.
The positioning module 204 may be further configured to position the terminal corresponding to the user identifier according to the determined position of the base station corresponding to the base station identifier, so as to obtain the position information of the terminal corresponding to the user identifier.
The sending module 207 may be configured to send the location information of the terminal corresponding to the user identifier to the terminal, so that the location information of the terminal corresponding to the user identifier is used as the location information of the terminal corresponding to the user identifier for initiating the transaction request.
Fig. 7 is a block diagram of an exemplary hardware architecture of a server capable of implementing a terminal positioning method and apparatus according to an embodiment of the present invention. As shown in fig. 7, the server 300 includes an input device 301, an input interface 302, a central processor 303, a memory 304, an output interface 305, and an output device 306. The input interface 302, the central processing unit 303, the memory 304, and the output interface 305 are connected to each other through a bus 310, and the input device 301 and the output device 306 are connected to the bus 310 through the input interface 302 and the output interface 305, respectively, and further connected to other components of the server 300.
Specifically, the input device 301 receives input information from the outside and transmits the input information to the central processor 303 through the input interface 302; central processor 303 processes the input information based on computer-executable instructions stored in memory 304 to generate output information, stores the output information temporarily or permanently in memory 304, and then transmits the output information to output device 306 through output interface 305; the output device 306 outputs the output information to the outside of the server 300 for use by the user.
That is, the server shown in fig. 7 may also be implemented to include: a memory storing computer-executable instructions; and a processor which, when executing computer executable instructions, may implement the base station location determination methods and apparatus in the above embodiments.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium has computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement the base station location determination methods provided by embodiments of the present invention.
The functional blocks shown in the above structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should be clear that the embodiments in this specification are described in a progressive manner, and the same or similar parts in the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. For apparatus embodiments, server embodiments, and computer-readable storage medium embodiments, reference may be made in the descriptive section to method embodiments. The present invention is not limited to the specific steps and structures described above and shown in the drawings. Those skilled in the art may make various changes, modifications and additions or change the order between the steps after appreciating the spirit of the invention. Also, a detailed description of known process techniques is omitted herein for the sake of brevity.

Claims (9)

1. A method for determining a location of a base station, comprising:
acquiring positioning data of a terminal, wherein the positioning data comprises a base station identifier, a user identifier and terminal self-testing position information;
classifying the positioning data according to the base station identification;
clustering the terminal self-testing position information corresponding to each user identifier in a class to obtain a clustering area corresponding to each user identifier in the class; the clustering region refines different activity regions of different users in the signal coverage range of the same base station;
determining the position of a base station corresponding to the base station identification according to the obtained clustering area;
after the clustering region corresponding to a certain user identifier in a class is obtained, the method further includes:
establishing an area attribute label for the clustering area according to the acquisition time or the uploading time of the positioning data; the region attribute label is used for marking the attributes of the clustering region, including work, trip, travel, dining and shopping;
and pushing the information of the clustering region under the region attribute label corresponding to a certain user identifier under the base station to the terminal corresponding to the user identifier through the base station according to the region attribute label.
2. The method of claim 1, wherein the positioning data further comprises a terminal self-test location time.
3. The method according to claim 1, wherein the clustering the self-test location information of the terminal corresponding to each of the user identifiers in a class to obtain a clustering region corresponding to each of the user identifiers in a class comprises:
setting the size and variance of a clustering area;
and clustering the positioning data corresponding to each user identifier in one class by using a clustering algorithm according to the size and the variance of the clustering area to obtain the clustering area corresponding to each user identifier in one class.
4. The method of claim 1, further comprising, prior to classifying the positioning data according to base station identity:
acquiring data screening parameters, wherein the data screening parameters comprise one or more than two of refreshing time of a base station corresponding to the base station identifier, moving speed of a terminal corresponding to the user identifier and precision of self-testing position information of the terminal;
and screening to obtain the positioning data required by classification by using the data screening parameters.
5. The method according to claim 1, further comprising, before said determining the location of the base station corresponding to the base station identifier according to the obtained clustering region:
acquiring region screening parameters, wherein the region screening parameters comprise the sampling number of the terminal self-testing position information in the clustering region and/or the sampling duration of the terminal self-testing position information;
and screening to obtain the clustering region required by positioning by using the region screening parameters.
6. The method according to any one of claims 1 to 5, further comprising, after determining the position of the base station corresponding to the base station identifier according to the obtained clustering area:
and pushing a message to a terminal through the base station corresponding to the base station identification, wherein the message comprises a message determined based on the clustering area corresponding to the user identification.
7. A base station position determining apparatus, comprising:
the data acquisition module is used for acquiring positioning data of the terminal, wherein the positioning data comprises a base station identifier, a user identifier and terminal self-testing position information;
a classification module, configured to classify the positioning data according to the base station identifier;
the clustering module is used for clustering the terminal self-testing position information corresponding to each user identifier in a class to obtain a clustering area corresponding to each user identifier in the class;
the positioning module is used for determining the position information of the base station corresponding to the base station identifier according to the obtained clustering area;
further comprising:
the label creating module is used for creating an area attribute label for the clustering area according to the acquisition time or the uploading time of the positioning data; the region attribute label is used for marking the attributes of the clustering region, including work, trip, travel, dining and shopping;
and the pushing module is used for pushing the information of the clustering area under the area attribute label corresponding to a certain user identifier under the base station to the terminal corresponding to the user identifier through the base station according to the area attribute label.
8. A server, characterized in that the server comprises: a memory and a processor;
the memory is used for storing executable program codes;
the processor is configured to read executable program code stored in the memory to perform the method of determining the position of a base station of any one of claims 1 to 6.
9. A computer readable storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement a method of base station position determination as claimed in any of claims 1 to 6.
CN201810463233.3A 2018-05-15 2018-05-15 Base station position determining method, device, server and storage medium Active CN108668224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810463233.3A CN108668224B (en) 2018-05-15 2018-05-15 Base station position determining method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810463233.3A CN108668224B (en) 2018-05-15 2018-05-15 Base station position determining method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN108668224A CN108668224A (en) 2018-10-16
CN108668224B true CN108668224B (en) 2021-01-15

Family

ID=63779585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810463233.3A Active CN108668224B (en) 2018-05-15 2018-05-15 Base station position determining method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN108668224B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111093264A (en) * 2018-10-23 2020-05-01 中国电信股份有限公司 Base station positioning method and system
CN109635067B (en) * 2018-12-17 2023-03-28 深圳市丰巢科技有限公司 Method, device, equipment and storage medium for correcting longitude and latitude information
CN109818966A (en) * 2019-02-20 2019-05-28 携程旅游信息技术(上海)有限公司 Data tamper resistant method, system, equipment and storage medium based on base station information
CN110446167B (en) * 2019-06-20 2021-01-05 创新先进技术有限公司 Position estimation method and device
CN110324781B (en) 2019-07-16 2020-08-21 拉扎斯网络科技(上海)有限公司 Indoor positioning method and device, electronic equipment and computer readable storage medium
CN110536413B (en) * 2019-07-31 2021-04-16 武汉剑通信息技术有限公司 LTE base station GPS positioning method and system
CN110650531B (en) * 2019-09-24 2021-04-20 上海连尚网络科技有限公司 Base station coordinate calibration method, system, storage medium and equipment
CN112700180B (en) * 2019-10-23 2024-07-16 北京京东振世信息技术有限公司 Goods picking method and goods picking device
CN110881191B (en) * 2019-11-20 2022-08-05 中国联合网络通信集团有限公司 Method, device and system for acquiring longitude and latitude of cell and storage medium
CN111372187B (en) * 2020-03-06 2021-05-28 北京锐安科技有限公司 Method, device and equipment for determining position of base station and storage medium
CN111405464B (en) * 2020-03-19 2022-02-15 中国联合网络通信集团有限公司 Base station position detection method and device
CN111624640B (en) * 2020-04-24 2023-02-24 汉海信息技术(上海)有限公司 Positioning method, positioning device, electronic equipment and storage medium
CN111651681B (en) * 2020-08-06 2020-10-30 上海飞旗网络技术股份有限公司 Message pushing method and device based on intelligent information recommendation in cloud network fusion environment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244408B (en) * 2014-09-30 2018-06-05 北京金山安全软件有限公司 Method and device for obtaining base station position information
CN105989087B (en) * 2015-02-12 2020-02-21 阿里巴巴集团控股有限公司 Method and device for determining hot spot area
CN106912102A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of localization method and device based on base station
CN107295053A (en) * 2016-04-11 2017-10-24 中兴通讯股份有限公司 Information-pushing method and device
CN106102164B (en) * 2016-06-12 2018-08-17 北京三快在线科技有限公司 A kind of method and apparatus of determining access point position
CN107484138A (en) * 2017-08-14 2017-12-15 北京小米移动软件有限公司 Micro-base station localization method and device

Also Published As

Publication number Publication date
CN108668224A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
CN108668224B (en) Base station position determining method, device, server and storage medium
US11333510B2 (en) Learning locations of interest using IoT devices
EP3125621B1 (en) Geo-fencing based upon semantic location
CN112087711B (en) Location aware mobile application management
EP3512221B1 (en) Empirical expert determination and question routing system and method
US11004111B2 (en) Presenting smart billboard content based on optical pattern recognition of vehicle information
CN105263104B (en) The method and device of location equipment
CN104618858B (en) Intelligent control method for information push by using bus card
CN106550322B (en) Information pushing method and device
CN111597445A (en) Information recommendation method and device
US20200015040A1 (en) Location-based wireless tracking
JP7027675B2 (en) Pseudo base station positioning method, terminal and computer readable storage medium
US20120218150A1 (en) Management server, population information calculation management server, non-populated area management method, and population information calculation method
KR101867548B1 (en) A method of retrieving a user's context using a mobile device based on wireless signal characteristics
JP5969584B2 (en) Attribute determination device, information extraction system, information distribution system, and program
KR101894154B1 (en) Missing Child Tracking System
KR20140134430A (en) Device and method for recommending location
CN107678816A (en) A kind of program operation reminding method, device and terminal device based on geographical position
Chaturvedi et al. Real Time Airport Luggage Tracking System
US20220272483A1 (en) LEARNING LOCATIONS OF INTEREST USING IoT DEVICES
US20160283990A1 (en) Apparatus, System, Method, Computer Program, and Computer Program Product For Generating Activity Information For a Cell
US20130110826A1 (en) Method for searching contacts, electronic apparatus, and storage medium using the method thereof
US11394512B2 (en) Wireless communication terminal
CN110021157A (en) Information transmitting methods
CN104602187A (en) Positioning technology based information sharing method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant