CN113423054B - Terminal positioning method, system and computer readable storage medium - Google Patents

Terminal positioning method, system and computer readable storage medium Download PDF

Info

Publication number
CN113423054B
CN113423054B CN202010134368.2A CN202010134368A CN113423054B CN 113423054 B CN113423054 B CN 113423054B CN 202010134368 A CN202010134368 A CN 202010134368A CN 113423054 B CN113423054 B CN 113423054B
Authority
CN
China
Prior art keywords
terminal
base station
information
log data
request
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
CN202010134368.2A
Other languages
Chinese (zh)
Other versions
CN113423054A (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.)
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile IoT 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 China Mobile Communications Group Co Ltd, China Mobile IoT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010134368.2A priority Critical patent/CN113423054B/en
Publication of CN113423054A publication Critical patent/CN113423054A/en
Application granted granted Critical
Publication of CN113423054B publication Critical patent/CN113423054B/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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a terminal positioning method, a system and a computer readable storage medium, belonging to the technical field of mobile communication, wherein the method comprises the following steps: acquiring a target base station identifier accessed by each terminal according to the internet log data of at least one terminal; determining target geographic position information corresponding to each target base station identifier according to the corresponding relation between the base station identifier and the geographic position information of the base station; and determining the geographic position of each terminal according to the target geographic position information. The invention can efficiently acquire the base station positioning of the terminal under the condition that the terminal does not sense or does not need terminal support.

Description

Terminal positioning method, system and computer readable storage medium
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a terminal positioning method, a system, and a computer readable storage medium.
Background
Common outdoor positioning technologies include satellite positioning and base station positioning, and the principle of base station positioning is to determine the approximate location of a mobile communication terminal (which may be simply referred to as a terminal) according to the location information of the base station where the terminal accesses a mobile communication network.
However, current base station positioning technologies either require the terminal to actively report the base station identity (or called base station ID) of the terminal to access the mobile communication network, or require long time for positioning.
Disclosure of Invention
In view of the above, the present invention provides a terminal positioning method, system and computer readable storage medium, which are used for solving the problem that the current terminal positioning technology cannot quickly perform positioning without sensing the terminal.
In order to solve the above technical problems, in a first aspect, the present invention provides a terminal positioning method, including:
acquiring a target base station identifier accessed by each terminal according to the internet log data of at least one terminal;
determining target geographic position information corresponding to each target base station identifier according to the corresponding relation between the base station identifier and the geographic position information of the base station;
and determining the geographic position of each terminal according to the target geographic position information.
Optionally, the obtaining, according to the internet log data of at least one terminal, a target base station identifier accessed by each terminal includes:
determining a target base station identifier and corresponding access time of the terminal access according to the internet log data;
The determining the geographic position of each terminal according to the target geographic position information comprises the following steps:
and determining the geographic position of the terminal in the access time according to the target geographic position information.
Optionally, the method further comprises:
according to the internet log data, determining state information of each terminal, wherein the state information comprises an online state;
the determining the geographic position of each terminal according to the target geographic position information comprises the following steps:
and determining the geographic position of the terminal in an online state according to the target geographic position information.
Optionally, the determining, according to the internet log data, the status information of each terminal includes:
and determining that the state information of the terminal is an on-line state according to the first information in the internet log data, wherein the first information is used for indicating the terminal to start the data service.
Optionally, the method further comprises:
determining that the state information of the terminal is in an offline state according to second information in the internet log data, wherein the second information is used for indicating the terminal to close a data service;
And/or the number of the groups of groups,
and determining that the state information of the terminal is in an offline state according to third information in the internet log data, wherein the third information is used for indicating that the terminal is deactivated.
Optionally, the obtaining, according to the internet log data of at least one terminal, a target base station identifier accessed by each terminal includes:
updating a target base station identifier accessed by the terminal according to fourth information in the internet log data;
and the fourth information is used for indicating the change of the base station accessed by the terminal.
Optionally, the obtaining, according to the internet log data of at least one terminal, a target base station identifier accessed by each terminal includes:
performing real-time streaming data processing on the Internet log data of the full-quantity terminals in the target cellular network;
extracting the Internet log data of at least one terminal from the Internet log data of the total terminal subjected to real-time streaming data processing;
and acquiring a target base station identifier accessed by each terminal in the at least one terminal according to the internet log data of the at least one terminal.
Optionally, the internet log data includes internet billing log information.
In a second aspect, the present invention further provides a terminal positioning system, including:
the acquisition module is used for acquiring a target base station identifier accessed by each terminal according to the internet log data of at least one terminal;
the first determining module is used for determining target geographic position information corresponding to each target base station identifier according to the corresponding relation between the base station identifier and the geographic position information of the base station;
and the second determining module is used for determining the geographic position of each terminal according to the target geographic position information.
Optionally, the acquiring module is configured to determine, according to the internet log data, a target base station identifier and a corresponding access time of the terminal access;
and the second determining module is used for determining the geographic position of the terminal in the access time according to the target geographic position information.
Optionally, the terminal positioning system further includes:
the online state acquisition module is used for determining state information of each terminal according to the online log data, wherein the state information comprises an online state;
and the second determining module is used for determining the geographic position of the terminal in the on-line state according to the target geographic position information.
Optionally, the online status obtaining module includes:
and the online state determining unit is used for determining that the state information of the terminal is online according to the first information in the online log data, wherein the first information is used for indicating the terminal to start the data service.
Optionally, the terminal positioning system further includes:
the first offline state determining module is used for determining the state information of the terminal to be in an offline state according to second information in the internet log data, wherein the second information is used for indicating the terminal to close a data service;
and/or the number of the groups of groups,
and the second offline state determining module is used for determining the state information of the terminal to be in an offline state according to third information in the internet log data, wherein the third information is used for indicating that the terminal is deactivated.
Optionally, the acquiring module includes:
the base station identifier updating unit is used for updating the target base station identifier accessed by the terminal according to the fourth information in the internet log data;
and the fourth information is used for indicating the change of the base station accessed by the terminal.
Optionally, the acquiring module includes:
The data processing unit is used for carrying out real-time streaming data processing on the Internet log data of the full-quantity terminals in the target cellular network;
the data extraction unit is used for extracting the Internet log data of the at least one terminal from the Internet log data of the total terminal subjected to real-time streaming data processing;
the base station identifier acquisition unit is used for acquiring the target base station identifier accessed by each terminal in the at least one terminal according to the internet log data of the at least one terminal.
Optionally, the internet log data includes internet billing log information.
In a third aspect, the present invention also provides a terminal positioning system comprising a memory, a processor and a computer program stored on the memory and executable on the processor; the steps of any one of the above terminal positioning methods are implemented when the processor executes the computer program.
In a fourth aspect, the present invention also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of any one of the above-mentioned terminal positioning methods.
The technical scheme of the invention has the following beneficial effects:
In the embodiment of the invention, the network log data of the cellular network is mined in real time, and the corresponding relation between the base station identification and the geographic position information of the base station is combined, so that the base station positioning of the terminal can be efficiently obtained under the condition that the terminal does not feel or the terminal support is not needed.
Drawings
Fig. 1 is a flow chart of a terminal positioning method in a first embodiment of the present invention;
fig. 2 is a schematic flow chart of a terminal in an embodiment of the present invention when a data service is turned on and when the terminal is turned off;
fig. 3 is a schematic flow chart of a terminal in an embodiment of the present invention when a base station accessed by the terminal changes due to a position movement after the terminal starts a data service;
fig. 4 is a schematic flow chart of a GGSN/PGW active deactivation terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal positioning system according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal positioning system according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. All other embodiments, which are obtained by a person skilled in the art based on the described embodiments of the invention, fall within the scope of protection of the invention.
In the related art, there are two technical schemes that can realize the base station positioning of the mobile communication terminal:
scheme one: the Location information of the mobile communication terminal accessing the mobile communication network base station is obtained through a special Location platform of the mobile communication system, namely a Location-service platform (Location-based services platform, LSP), a cooperative mobile communication system core network element home Location register (Home Location Register, HLR)/home subscriber server (Home Subscriber Server, HSS), a mobile switching center (Mobile Switching Center, MSC)/mobility management entity (Mobility Management Entity, MME), a visitor Location register (Visiting Location Register, VLR) and the like. The scheme can be used for positioning the terminal base station through the background of the mobile communication system, and is free from terminal support and perception. However, this solution is inefficient because of the long flow and the large number of involved network elements, and the average duration of each positioning request is 1500ms. And only support terminal-by-terminal to perform base station positioning, the system concurrency is 500, and a large number of terminals are not supported to perform base station positioning at the same time, so that tens of thousands to hundreds of thousands of terminal position information of the internet of things cannot be obtained in batches at the same time. In addition, the scheme relies on the cooperation of a special positioning platform of a mobile communication network and core network elements HLR/HSS, MSC/MME and VLR, and if the capacity is required to be expanded, the capacity expansion and upgrading of a plurality of network elements are involved, so that the investment is huge.
Scheme II: the platform pre-deposits (or pre-stores) the mobile communication system base station ID and the corresponding database of longitude and latitude thereof. The terminal actively reports the base station ID of the terminal access mobile communication network to the platform. The platform queries a database through the base station ID reported by the terminal to obtain the positioning of the terminal base station. The scheme can perform batch base station positioning, but the terminal is required to actively report the information of the network attached base stations to the platform, so that the terminal cannot feel. Moreover, if the terminal does not report, the terminal base station positioning cannot be obtained, and part of the terminal parts of the internet of things have the capability of actively reporting the information of the network-attached base stations, so that the base station positioning of the part of the terminal parts of the internet of things cannot be performed.
The terminal positioning scheme provided by the embodiment of the invention can avoid the technical problems existing in the base station positioning schemes of the two mobile communication terminals, and is described in detail below.
Referring to fig. 1, fig. 1 is a flowchart of a terminal positioning method according to a first embodiment of the present invention, including the following steps:
step 11: acquiring a target base station identifier accessed by each terminal according to the internet log data of at least one terminal;
step 12: determining target geographic position information corresponding to each target base station identifier according to the corresponding relation between the base station identifier and the geographic position information of the base station;
The geographic position information of the base station can be longitude and latitude information.
Step 13: and determining the geographic position of each terminal according to the target geographic position information.
The terminal positioning method provided by the embodiment of the invention can be applied to a big data processing platform. The correspondence between the base station identification and the geographical location information of the base station may be pre-stored (pre-deposited) in a database associated with the big data processing platform.
It should be noted that, the event that the mobile communication terminal accesses the mobile communication network may be simply referred to as an attach network, and correspondingly, the base station that the terminal accesses may also be referred to as an attach network base station of the terminal. A mobile communication terminal that communicates using a cellular network, i.e., a terminal that communicates using mobile 2G, 3G, 4G communication modules and cards.
According to the embodiment of the invention, the network log data of the cellular network is mined in real time, and the base station positioning of the terminal can be efficiently obtained under the condition that the terminal does not sense or does not need terminal support by combining the corresponding relation between the base station identification and the geographic position information of the base station. In addition, when the internet log data of a cellular network is mined, large data mining can be performed on the internet log data of all terminals accessing a certain cellular network, namely a target cellular network, so as to obtain target base station identifiers accessed by all/batch of terminals, and then corresponding target geographic position information is determined by using the corresponding relation between the pre-stored base station identifiers and the geographic position information of the base stations, so that base station positioning data (or called base station positioning information) of a large number of terminals can be obtained simultaneously and efficiently.
Where a cellular network may refer to all cellular networks of one operator.
The above-described terminal positioning method is exemplified below.
Alternatively, the internet log data of the at least one terminal may be obtained by a gateway general packet radio service support node (Gateway GPRS Support Node, GGSN)/packet data network gateway (Packet Data Network Gateway, PGW), for example, the total terminal internet log data in the target cellular network may be obtained.
Specifically, after the terminal attaches to the network, the Serving general packet radio service support node (Serving GPRS Support Node, SGSN)/MME/Serving Gateway (SGW) reports the terminal information to the GGSN/PGW. Further, after the mobile communication terminal starts the traffic service function, the SGSN/MME/SGW in each area will send the log data of the terminal to the GGSN/PGW, which is the existing procedure of the cellular network. And then the GGSN/PGW gathers the Internet log data of the target cellular network full-quantity terminal and sends the summarized Internet log data to the big data processing platform.
Of course, the log data may be obtained in other manners, for example, as the mobile communication technology evolves, the network element collecting the log data may change, and the network element involved in the transmission process of the log data may also change correspondingly, which is not limited herein.
The terminal positioning method provided by the embodiment of the invention has no influence on the existing cellular network architecture basically, and is independent of a special positioning platform and a core network element of a mobile communication network.
Optionally, the internet log data includes internet billing log information, which may also be referred to as internet billing information.
In the embodiment of the invention, the (target) base station identification accessed by the terminal is obtained according to the internet charging log information in the internet charging log data, so that the base station positioning information when the mobile traffic service is used by the terminal can be obtained in a full quantity/batch and high efficiency.
Optionally, the obtaining, according to the internet log data of at least one terminal, a target base station identifier accessed by each terminal includes:
performing real-time streaming data processing on the Internet log data of the full-quantity terminals in the target cellular network;
extracting the Internet log data of at least one terminal from the Internet log data of the total terminal subjected to real-time streaming data processing;
and acquiring a target base station identifier accessed by each terminal in the at least one terminal according to the internet log data of the at least one terminal.
Specifically, the big data processing platform can process the real-time streaming data of the internet log data of the total terminals in the target cellular network summarized by the GGSN/PGW so as to complete data conversion and cleaning. Namely, the massive billing log information of the cellular network core network equipment (such as GGSN/PGW) is processed by a big data real-time streaming processing technology. The internet log data of the total number of terminals in the target cellular network, specifically, internet charging log information, includes massive charging Request messages (start, update and end) (Accounting-Request (start, update, stop)), and connection release Request messages (Disconnect-Request).
Optionally, the obtaining, according to the internet log data of at least one terminal, a target base station identifier accessed by each terminal includes:
determining a target base station identifier and corresponding access time of the terminal access according to the internet log data; the target base station identifier accessed by the terminal can also be called as a target base station identifier attached to the network by the terminal, and the access time can also be called as an attached network time;
the determining the geographic position of each terminal according to the target geographic position information comprises the following steps:
And determining the geographic position of the terminal in the access time according to the target geographic position information.
Specifically, the big data processing platform analyzes massive internet surfing billing log information, analyzes information such as base station identification, network attaching time and the like of a terminal attached network, and then obtains information such as base station positioning and time of a target cellular network full/batch mobile communication terminal according to a corresponding relation database of the base station identification and the geographic position information of the base station, which are pre-precipitated by the platform.
In the embodiment of the invention, if the terminal is not attached to the network at present, the geographical position information of the terminal when the terminal is attached to the network last time and the data service is started can be obtained.
Wherein the access time comprises at least one of access time, access time and connection release time
Optionally, the terminal positioning method provided by the embodiment of the present invention further includes:
according to the internet log data, determining state information of each terminal, wherein the state information comprises an online state;
the determining the geographic position of each terminal according to the target geographic position information comprises the following steps:
and determining the geographic position of the terminal in an online state according to the target geographic position information.
The state information of the terminal also comprises an offline state. If the terminal is attached to the network currently, the terminal is in an online state, otherwise, the terminal is in an offline state, namely if the terminal is not attached to the network currently, the terminal is in an offline state.
Specifically, the big data processing platform analyzes massive internet surfing billing log information, analyzes the identification of the terminal, the identification of the target base station accessed by the terminal, the state information of the terminal and the like, and can store the analyzed information into a database corresponding to the big data processing platform. The identification of the terminal and the identification of the target base station accessed by the terminal belong to the position information of the terminal user, namely, the large data processing platform stores the position information and the state information of the user of the partial terminal or the whole terminal of the target cellular network.
In some optional embodiments, the information stored by the big data processing platform includes at least one of: the terminal user is online time, the terminal's attach time, session Identification (ID), the GGSN/PGW internet protocol (Internet Protocol, IP) address, user IP address, access point name (Access Point Name, APN) user access destination address, mobile station international integrated services digital network number (Mobile Station International Integrated Services Digital Network Number, MSISDN), international mobile subscriber identity (International Mobile Subscriber Identify, IMSI), user location information (global cell identity (Cell Global Identification, CGI)/service area identity (Service Area Identifier, SAI), charging message type, authentication user name, authentication, user traffic type, authentication accept message attribute, interrupt reason, wherein CGI contains the terminal's current attach base station ID.
And then, the big data processing platform uses the target base station identifier in the position information of the terminal user to inquire a corresponding relation database of the pre-precipitated base station identifier and the geographic position information of the base station, obtains the base station positioning of the terminal and stores the base station positioning in the database. Thus, the acquisition and storage of the base station positioning data of the target cellular network full/batch mobile communication terminal are completed.
In the embodiment of the invention, if the terminal is not attached to the network currently, namely in an offline state, the geographical position information of the terminal when the terminal is attached to the network last time and the data service is started can be obtained.
In addition, when the internet log data of the cellular network is mined, the internet log data of all terminals accessing a certain cellular network, namely the target cellular network, can be mined in large data, so that the state information of the whole or large quantity of terminals in the target cellular network is obtained.
Optionally, the determining, according to the internet log data, the status information of each terminal includes:
and determining that the state information of the terminal is an on-line state according to the first information in the internet log data, wherein the first information is used for indicating the terminal to start the data service.
Specifically, the first information may be a charging start request (Accounting-Request (start)) message sent by the SGSN/MME/SGW to the GGSN/PGW, where the charging start request includes end user location information, where the end user location information includes base station information of access of the terminal.
Of course, in other specific embodiments, whether the terminal is in an online state may also be determined according to other information in the internet log data, which is not described in detail herein.
Optionally, the terminal positioning method further includes:
determining that the state information of the terminal is in an offline state according to second information in the internet log data, wherein the second information is used for indicating the terminal to close a data service;
and/or the number of the groups of groups,
and determining that the state information of the terminal is in an offline state according to third information in the internet log data, wherein the third information is used for indicating that the terminal is deactivated.
Of course, in other specific embodiments, whether the terminal is in an offline state may also be determined according to other information in the internet log data, which is not described in detail herein.
Specifically, the second information may be a charging end Request (stop) message sent by the GGSN/PGW;
The third information may be a connection release Request (Disconnect-Request) message sent by the GGSN/PGW.
Optionally, the obtaining, according to the internet log data of at least one terminal, a target base station identifier accessed by each terminal includes:
updating a target base station identifier accessed by the terminal according to fourth information in the internet log data;
and the fourth information is used for indicating the change of the base station accessed by the terminal.
The fourth information may be that the SGSN/MME/SGW sends a charging update request (Accounting-Request (update)) message to the GGSN/PGW.
That is, in the embodiment of the present invention, when the big data processing platform receives different billing log information, different processing methods are adopted, which specifically includes the following steps:
1. referring to fig. 2, when a terminal starts a data service, an SGSN/MME/SGW sends a charging start request (Accounting-Request (start)) message to a GGSN/PGW, where the charging start request includes terminal user location information, and the terminal user location information includes base station information accessed by the terminal. The big data processing platform updates the (target) base station identifier accessed by the terminal according to the charging start request (Accounting-Request (start)) message, and sets the state information of the terminal to be in an on-line state.
2. Referring to fig. 3, after the terminal starts the data service, if the accessed base station changes due to the position movement, the SGSN/MME/SGW sends a charging update request (Accounting-Request (update)) message to the GGSN/PGW to update the base station information accessed by the terminal. The big data processing platform synchronously updates the (target) base station identifier accessed by the terminal. The embodiment of the invention can obtain a large amount or the whole amount of terminal base station position updating information in the target cellular network through the charging log information of the cellular network core network equipment (such as GGSN/PGW).
3. Referring to fig. 2, when the terminal closes the data service, the GGSN/PGW sends an Accounting-Request (stop) message, and the big data processing platform synchronously updates the (target) base station identifier accessed by the terminal, and sets the state information of the terminal to an offline state.
4. Referring to fig. 4, when the GGSN/PGW actively deactivates the terminal, the GGSN/PGW sends a connection release Request (Disconnect-Request) message to the big data processing platform, and the big data processing platform sets the state information of the terminal to an offline state.
The following illustrates a specific flow of the above terminal positioning method:
and step 1, the big data processing platform acquires Internet log data of the target cellular network full-quantity terminal from GGSN/PGW. Regarding the flow of session establishment and charging signaling in cellular communications, reference is made to the related art, and will not be described in detail herein.
And step 2, the big data processing platform processes the internet log data of the full-quantity terminals in the target cellular network in real time in a streaming mode so as to finish data conversion and cleaning.
And step 3, the big data processing platform extracts the internet log data of 10000 terminals from the internet log data of the full quantity of terminals which finish data conversion and cleaning.
And step 4, the big data processing platform acquires the base station identifier and the corresponding access time of each terminal in 10000 terminals according to the internet log data of the 10000 terminals. For example, for terminal a, according to the Accounting-Request (start) message containing base station identifier a at 15 hours 10 minutes 36 seconds on a certain day, terminal a is acquired to access to base station a at 15 hours 10 minutes 36 seconds on the same day, according to the Accounting-Request (update) message containing base station identifier B at 15 hours 30 minutes 45 seconds on the same day, terminal a is acquired to switch to base station B at 15 hours 30 minutes 45 seconds on the same day, according to the Accounting-Request (update) message containing base station identifier C at 16 hours 52 minutes 05 seconds on the same day, terminal a is acquired to switch to base station C at 16 hours 52 minutes 05 seconds on the same day, according to the Disconnect-Request message at 17 hours 38 minutes 41 seconds on the same day, terminal a is acquired to start to not access the network at 17 hours 38 minutes 41 seconds on the same day, according to the Accounting-Request (start) message containing base station identifier D at 17 hours 41 minutes 50 seconds on the same day, terminal a is acquired to access to base station D at 17 hours 41 minutes 50 seconds on the same day; for terminal b, according to the Accounting-Request (start) message containing the base station identifier E at 8.00 minutes and 00 seconds of a certain day, terminal b is acquired to access to the base station E at 8.00 minutes and 00 seconds of the certain day, according to the Accounting-Request (update) message containing the base station identifier F at 8.45 minutes and 56 seconds of the same day, terminal b is acquired to access to the base station F at 8.45 minutes and 56 seconds of the same day, according to the Accounting-Request (update) message containing the base station identifier G at 18.2 minutes and 50 seconds of the same day, terminal b is acquired to access to the base station G at 18.2 minutes and 50 seconds of the same day, and according to the Accounting-Request message at 22.00 minutes and 00 seconds of the same day, terminal b is acquired to not access to the network at 22.00 minutes and 00 seconds of the same day.
And step 5, the big data processing platform obtains the geographic position information of the base station accessed by each terminal in the 10000 terminals in the corresponding access time by inquiring a corresponding relation database of the base station identification and the geographic position information of the base station, and determines the geographic position of the terminal in the corresponding access time according to the geographic position information of the base station. For example, it may be determined that the terminal a is within the coverage of the base station a at 15 hours, 10 minutes, 36 seconds, to 15 hours, 30 minutes, 44 seconds, and 15 hours, 30 minutes, 45 seconds, to 16 hours, 52 minutes, 04 seconds, and 16 hours, 52 minutes, 05 seconds to 17 hours, 38 minutes, 40 seconds, and 17 minutes, 40 seconds, on a certain day, within the coverage of the base station B, and 17 hours, 41 minutes, 50 seconds, and beginning to be within the coverage of the base station D; it can be determined that terminal b is within the coverage of base station E from 8.00 minutes, 00 seconds to 8.45 minutes, 55 seconds on a certain day, within the coverage of base station F from 8.45 minutes, 56 seconds to 18.2 minutes, 49 seconds on the same day, and within the coverage of base station G from 18.2 minutes, 50 seconds to 21.59 minutes, 59 seconds on the same day.
In addition, the big data processing platform can also determine the state information of each terminal in 10000 terminals according to the internet log data. For example, it may be determined that the terminal a is in an on-line state from 15 hours 10 minutes 36 seconds to 17 hours 38 minutes 40 seconds on a certain day, and from 17 hours 38 minutes 41 seconds to 17 minutes 41 seconds 49 seconds on the same day is in an off-line state, and from 17 hours 41 minutes 50 seconds on the same day is started to be in an on-line state; it can be determined that terminal b is in an on-line state from 8.00 minutes 00 seconds to 21.59 minutes 59 seconds on a certain day, and starts to be in an off-line state from 22.00 minutes 00 seconds on the same day.
Compared with the scheme I in the related art, the embodiment of the invention has the advantages that: by real-time mining of the log data of the core network, the base station positioning information of all/part of terminals of the target cellular network can be obtained simultaneously and in large quantities without obtaining the base station positioning information one by one; even if the terminal is not attached to the network at present, the positioning information of the base station when the terminal attaches to the network last time and starts the data service can be obtained, and the positioning information of the base station of the terminal can not be obtained when the terminal is not attached to the network in the scheme one.
Compared with a scheme II in the related art, the embodiment of the invention has the advantages that: the terminal does not need to actively report the base station information, and a large amount of terminal base station positioning information is acquired from the background completely through real-time mining of log data on the core network of the mobile communication system, so that the terminal does not feel.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a terminal positioning system according to a second embodiment of the present invention, and the terminal positioning system 50 includes:
the acquiring module 51 is configured to acquire, according to the internet log data of at least one terminal, a target base station identifier accessed by each terminal;
a first determining module 52, configured to determine target geographic location information corresponding to each target base station identifier according to a correspondence between the base station identifier and geographic location information where the base station is located;
And the second determining module 53 is configured to determine, according to the target geographic location information, a geographic location where each terminal is located.
Wherein the terminal positioning system 50 may be a big data processing platform.
In the embodiment of the invention, the network log data of the cellular network is mined in real time, and the corresponding relation between the base station identification and the geographic position information of the base station is combined, so that the base station positioning of the terminal can be efficiently obtained under the condition that the terminal does not feel or the terminal support is not needed.
Optionally, the acquiring module 51 is configured to determine, according to the internet log data, a target base station identifier and a corresponding access time for the terminal to access;
the second determining module 53 is configured to determine, according to the target geographic location information, a geographic location where the terminal is located within the access time.
Optionally, the terminal positioning system 50 further includes:
the online state acquisition module is used for determining state information of each terminal according to the online log data, wherein the state information comprises an online state;
the second determining module 53 is configured to determine, according to the target geographic location information, a geographic location where the terminal is in an online state.
Optionally, the online status obtaining module includes:
and the online state determining unit is used for determining that the state information of the terminal is online according to the first information in the online log data, wherein the first information is used for indicating the terminal to start the data service.
Optionally, the terminal positioning system 50 further includes:
the first offline state determining module is used for determining the state information of the terminal to be in an offline state according to second information in the internet log data, wherein the second information is used for indicating the terminal to close a data service;
and/or the number of the groups of groups,
and the second offline state determining module is used for determining the state information of the terminal to be in an offline state according to third information in the internet log data, wherein the third information is used for indicating that the terminal is deactivated.
Optionally, the acquiring module 51 includes:
the base station identifier updating unit is used for updating the target base station identifier accessed by the terminal according to the fourth information in the internet log data;
and the fourth information is used for indicating the change of the base station accessed by the terminal.
Optionally, the acquiring module 51 includes:
The data processing unit is used for carrying out real-time streaming data processing on the Internet log data of the full-quantity terminals in the target cellular network;
the data extraction unit is used for extracting the Internet log data of the at least one terminal from the Internet log data of the total terminal subjected to real-time streaming data processing;
the base station identifier acquisition unit is used for acquiring the target base station identifier accessed by each terminal in the at least one terminal according to the internet log data of the at least one terminal.
Optionally, the internet log data includes internet billing log information.
The embodiment of the present invention is a product embodiment corresponding to the first embodiment of the above method, so that the detailed description thereof will be omitted herein.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a terminal positioning system according to a third embodiment of the present invention, where the terminal positioning system 60 includes a processor 61, a memory 62, and a computer program stored in the memory 62 and executable on the processor 61; the processor 61, when executing the computer program, implements the following steps:
acquiring a target base station identifier accessed by each terminal according to the internet log data of at least one terminal;
Determining target geographic position information corresponding to each target base station identifier according to the corresponding relation between the base station identifier and the geographic position information of the base station;
and determining the geographic position of each terminal according to the target geographic position information.
Wherein the terminal positioning system 60 may be a big data processing platform.
In the embodiment of the invention, the network log data of the cellular network is mined in real time, and the corresponding relation between the base station identification and the geographic position information of the base station is combined, so that the base station positioning of the terminal can be efficiently obtained under the condition that the terminal does not feel or the terminal support is not needed.
Optionally, the processor 61 may further implement the following steps when executing the computer program:
the obtaining, according to the log data of the internet surfing of at least one terminal, the target base station identifier accessed by each terminal includes:
determining a target base station identifier and corresponding access time of the terminal access according to the internet log data;
the determining the geographic position of each terminal according to the target geographic position information comprises the following steps:
and determining the geographic position of the terminal in the access time according to the target geographic position information.
Optionally, the processor 61 may further implement the following steps when executing the computer program:
according to the internet log data, determining state information of each terminal, wherein the state information comprises an online state;
the determining the geographic position of each terminal according to the target geographic position information comprises the following steps:
and determining the geographic position of the terminal in an online state according to the target geographic position information.
Optionally, the processor 61 may further implement the following steps when executing the computer program:
and determining the state information of each terminal according to the internet log data, wherein the method comprises the following steps:
and determining that the state information of the terminal is an on-line state according to the first information in the internet log data, wherein the first information is used for indicating the terminal to start the data service.
Optionally, the processor 61 may further implement the following steps when executing the computer program:
determining that the state information of the terminal is in an offline state according to second information in the internet log data, wherein the second information is used for indicating the terminal to close a data service;
and/or the number of the groups of groups,
And determining that the state information of the terminal is in an offline state according to third information in the internet log data, wherein the third information is used for indicating that the terminal is deactivated.
Optionally, the processor 61 may further implement the following steps when executing the computer program:
the obtaining, according to the log data of the internet surfing of at least one terminal, the target base station identifier accessed by each terminal includes:
updating a target base station identifier accessed by the terminal according to fourth information in the internet log data;
and the fourth information is used for indicating the change of the base station accessed by the terminal.
Optionally, the processor 61 may further implement the following steps when executing the computer program:
the obtaining, according to the log data of the internet surfing of at least one terminal, the target base station identifier accessed by each terminal includes:
performing real-time streaming data processing on the Internet log data of the full-quantity terminals in the target cellular network;
extracting the Internet log data of at least one terminal from the Internet log data of the total terminal subjected to real-time streaming data processing;
and acquiring a target base station identifier accessed by each terminal in the at least one terminal according to the internet log data of the at least one terminal.
Optionally, the internet log data includes internet billing log information.
The specific working process of the embodiment of the present invention is the same as that of the first embodiment of the method, so that the detailed description thereof will be omitted herein.
A fourth embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any one of the terminal positioning methods of the first embodiment. For details, reference is made to the description of the method steps in the corresponding embodiments above.
The base station in the embodiment of the present invention may be a base station (Base Transceiver Station, BTS) in global mobile communications (Global System of Mobile communication, GSM for short) or code division multiple access (Code Division Multiple Access, CDMA for short), a base station (NodeB, NB for short) in wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA for short), an evolved base station (Evolutional Node B, eNB or eNodeB) in LTE, a relay station or access point, or a base station in a future 5G network, etc., which are not limited herein.
The terminal in the embodiment of the invention can be a wireless terminal or a wired terminal, and the wireless terminal can be a device for providing voice and/or other service data connectivity for a user, a handheld device with a wireless connection function or other processing devices connected to a wireless modem. A wireless terminal may communicate with one or more core networks via a radio access network (Radio Access Network, RAN for short), which may be mobile terminals such as mobile phones (or "cellular" phones) and computers with mobile terminals, e.g., portable, pocket, hand-held, computer-built-in or vehicle-mounted mobile devices that exchange voice and/or data with the radio access network. Such as personal communication services (Personal Communication Service, PCS) phones, cordless phones, session initiation protocol (Session Initiation Protocol, SIP) phones, wireless local loop (Wireless Local Loop, WLL) stations, personal digital assistants (Personal Digital Assistant, PDA) and the like. A wireless Terminal may also be referred to as a system, subscriber Unit (Subscriber Unit), subscriber Station (Subscriber Station), mobile Station (Mobile Station), remote Station (Remote Station), remote Terminal (Remote Terminal), access Terminal (Access Terminal), user Terminal (User Terminal), user Agent (User Agent), terminal (User Device or User Equipment), without limitation.
Such computer-readable storage media, including both non-transitory and non-transitory, removable and non-removable media, may be implemented in any method or technology for information storage. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (9)

1. The terminal positioning method is characterized by being applied to a big data processing platform, and comprises the following steps:
acquiring a target base station identifier accessed by each terminal according to the internet log data of at least one terminal;
determining target geographic position information corresponding to each target base station identifier according to the corresponding relation between the base station identifier and the geographic position information of the base station;
determining the geographic position of each terminal according to the target geographic position information;
according to the internet log data of at least one terminal, obtaining the target base station identifier accessed by each terminal, including: performing real-time streaming data processing on the Internet log data of the full-quantity terminals in the target cellular network; extracting the Internet log data of at least one terminal from the Internet log data of the total terminal subjected to real-time streaming data processing; acquiring a target base station identifier accessed by each terminal in the at least one terminal according to the internet log data of the at least one terminal;
the internet log data comprises massive charging start Request messages Account-Request start, charging update Request messages Account-Request update, charging end Request messages Account-Request stop and connection release Request messages Disconnect-Request;
When a terminal starts a data service, SGSN/MME/SGW sends a charging start Request message Accounting-Request start to GGSN/PGW, and a big data processing platform updates a target base station identifier accessed by the terminal according to the charging start Request message Accounting-Request start and sets the state information of the terminal as an on-line state;
after a terminal starts a data service, if a base station accessed by the terminal changes due to position movement, SGSN/MME/SGW sends a charging update Request message Accounting-Request update to GGSN/PGW, and the big data processing platform synchronously updates a target base station identifier accessed by the terminal;
when a terminal closes a data service, GGSN/PGW sends a charging end Request message Accounting-Request stop, and a big data processing platform synchronously updates a target base station identifier accessed by the terminal and sets the state information of the terminal to be in an off-line state;
when the GGSN/PGW actively deactivates the terminal, the GGSN/PGW sends a connection release Request message Disconnect-Request to the big data processing platform, and the big data processing platform sets the state information of the terminal to an offline state.
2. The method according to claim 1, wherein the obtaining, according to the internet log data of at least one terminal, the target base station identifier accessed by each terminal includes:
Determining a target base station identifier and corresponding access time of the terminal access according to the internet log data;
the determining the geographic position of each terminal according to the target geographic position information comprises the following steps:
and determining the geographic position of the terminal in the access time according to the target geographic position information.
3. The method as recited in claim 1, further comprising:
according to the internet log data, determining state information of each terminal, wherein the state information comprises an online state;
the determining the geographic position of each terminal according to the target geographic position information comprises the following steps:
and determining the geographic position of the terminal in an online state according to the target geographic position information.
4. A method according to claim 3, wherein said determining status information of each of said terminals based on said internet log data comprises:
and determining that the state information of the terminal is an on-line state according to the first information in the internet log data, wherein the first information is used for indicating the terminal to start the data service.
5. The method as recited in claim 1, further comprising:
determining that the state information of the terminal is in an offline state according to second information in the internet log data, wherein the second information is used for indicating the terminal to close a data service;
and/or the number of the groups of groups,
and determining that the state information of the terminal is in an offline state according to third information in the internet log data, wherein the third information is used for indicating that the terminal is deactivated.
6. The method according to claim 1, wherein the obtaining, according to the internet log data of at least one terminal, the target base station identifier accessed by each terminal includes:
updating a target base station identifier accessed by the terminal according to fourth information in the internet log data;
and the fourth information is used for indicating the change of the base station accessed by the terminal.
7. A terminal positioning system, comprising:
the acquisition module is used for acquiring a target base station identifier accessed by each terminal according to the internet log data of at least one terminal;
the first determining module is used for determining target geographic position information corresponding to each target base station identifier according to the corresponding relation between the base station identifier and the geographic position information of the base station;
The second determining module is used for determining the geographic position of each terminal according to the target geographic position information;
the acquisition module comprises:
the data processing unit is used for carrying out real-time streaming data processing on the Internet log data of the full-quantity terminals in the target cellular network;
the data extraction unit is used for extracting the Internet log data of the at least one terminal from the Internet log data of the total terminal subjected to real-time streaming data processing;
a base station identifier obtaining unit, configured to obtain, according to internet log data of the at least one terminal, a target base station identifier accessed by each terminal in the at least one terminal;
the internet log data comprises massive charging start Request messages Account-Request start, charging update Request messages Account-Request update, charging end Request messages Account-Request stop and connection release Request messages Disconnect-Request;
the large data processing platform is used for transmitting a charging start Request message Accounting-Request start to the GGSN/PGW by the SGSN/MME/SGW when the terminal starts a data service, updating a target base station identifier accessed by the terminal according to the charging start Request message Accounting-Request start, and setting the state information of the terminal to be an on-line state;
After a terminal starts a data service, if a base station accessed by the terminal changes due to position movement, SGSN/MME/SGW sends a charging update Request message Accounting-Request update to GGSN/PGW, and the big data processing platform synchronously updates a target base station identifier accessed by the terminal;
when a terminal closes a data service, GGSN/PGW sends a charging end Request message Accounting-Request stop, and a big data processing platform synchronously updates a target base station identifier accessed by the terminal and sets the state information of the terminal to be in an off-line state;
when the GGSN/PGW actively deactivates the terminal, the GGSN/PGW sends a connection release Request message Disconnect-Request to the big data processing platform, and the big data processing platform sets the state information of the terminal to an offline state.
8. A terminal positioning system comprising a memory, a processor and a computer program stored on the memory and executable on the processor; -characterized in that the processor, when executing the computer program, implements the steps of the terminal positioning method according to any of claims 1 to 6.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, realizes the steps in the terminal positioning method according to any of claims 1 to 6.
CN202010134368.2A 2020-03-02 2020-03-02 Terminal positioning method, system and computer readable storage medium Active CN113423054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010134368.2A CN113423054B (en) 2020-03-02 2020-03-02 Terminal positioning method, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010134368.2A CN113423054B (en) 2020-03-02 2020-03-02 Terminal positioning method, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113423054A CN113423054A (en) 2021-09-21
CN113423054B true CN113423054B (en) 2023-04-28

Family

ID=77711589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010134368.2A Active CN113423054B (en) 2020-03-02 2020-03-02 Terminal positioning method, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113423054B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938692A (en) * 2010-08-16 2011-01-05 中国电信股份有限公司 Location information management method, platform and system
CN110225475A (en) * 2019-05-16 2019-09-10 中国联合网络通信集团有限公司 A kind of user access method and core net

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014020887A (en) * 2012-07-18 2014-02-03 Hitachi Ltd System and method for positioning radio terminal
CN106303951A (en) * 2016-07-28 2017-01-04 中国联合网络通信集团有限公司 Advertisement placement method, platform and the network equipment
CN106709003A (en) * 2016-12-23 2017-05-24 长沙理工大学 Hadoop-based mass log data processing method
CN108513351B (en) * 2017-02-24 2020-11-03 中国移动通信集团福建有限公司 Communication position determining method and device
CN110427293A (en) * 2019-08-01 2019-11-08 北京百度网讯科技有限公司 Application processing method, device, equipment and medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938692A (en) * 2010-08-16 2011-01-05 中国电信股份有限公司 Location information management method, platform and system
CN110225475A (en) * 2019-05-16 2019-09-10 中国联合网络通信集团有限公司 A kind of user access method and core net

Also Published As

Publication number Publication date
CN113423054A (en) 2021-09-21

Similar Documents

Publication Publication Date Title
US8538451B2 (en) Location services
AU663613B2 (en) Method for updating subscriber data in a cellular radio system and a cellular radio system
US6208866B1 (en) System and method for location-based marketing to mobile stations within a cellular network
US9807562B2 (en) Method and system for obtaining location information regarding a device in a wireless network
EP1151628B1 (en) System/method to provide efficient positioning request signaling & indication of mobile station availability for location services
US20150018016A1 (en) Method and apparatus for determining user location, and communications system
US8989776B2 (en) Location aggregation system
EP3525520B1 (en) Method and terminal for network switching
EP3152934A1 (en) Provision of subscriber profile to a mme in case of roaming
CN108966116B (en) Terminal control method, network side and acquisition device
CN102904971B (en) Obtain method and the device of object IP address
KR100775536B1 (en) Method and system for providing location information using roaming gateway
US20100184428A1 (en) Local roaming number server
CN113423054B (en) Terminal positioning method, system and computer readable storage medium
EP2725830B1 (en) Method and system for triggering response of terminal, terminal and network side
EP1670268B1 (en) Method, system and chip card for tracking the location of a mobile station
US20140241241A1 (en) Method and apparatus for supporting short message services for packet switched devices
US8886228B1 (en) Asynchronous triggering of mobile station location estimation
KR101079003B1 (en) Apparatus, system and method for providing location information of mobile station
CN109673007B (en) User information acquisition method and device and computer readable storage medium
US9510189B2 (en) Method and device for managing a subscriber device
CN115022806B (en) Terminal positioning method and device
EP2547125A1 (en) Hunting method and system for location based services
EP2547167A1 (en) Method and system for location based services using parameterization
CN115119138A (en) Short message sending method, related device, equipment and readable storage medium

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