Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
In the description of the present application, "/" means "or" unless otherwise indicated, for example, A/B may mean A or B. The term "and/or" herein is merely an association relation describing the association object, and means that three kinds of relations may exist, for example, a and/or B may mean that a exists alone, a and B exist together, and B exists alone. Further, "at least one", "a plurality" means two or more. The terms "first," "second," and the like do not limit the number and order of execution, and the terms "first," "second," and the like do not necessarily differ.
Currently, the third generation partnership project (3rd Generation Partnership Project,3GPP) specifies the standardized architecture and data transfer flows of 5G positioning technology in the relevant specifications. The procedure mainly relies on the cooperation of a plurality of network elements such as gateway mobile location center (Gateway Mobile Location Center, GLMC), unified data management (Unified DATA MANAGEMENT, UDM), access and mobility management functions (ACCESS AND Mobility Management Function, AMF), location management functions (Location management function, LMF), 5G base station (gNB) and the like and terminals (UE) to determine the location information of the UE, as shown in fig. 1. The flow is a universal positioning method facing to wide area coverage.
When the position information of the terminal equipment needs to be acquired, a positioning request is firstly sent to a home GMLC of a first terminal through a client position service platform (Location SERVICE CLIENT, LCS CLIENT), then the home GMLC and the home UDM carry out an interactive request to acquire the address information of the AMF where the first terminal is currently located, so that the home UDM returns the address of the AMF to a home gateway mobile position center (Gateway Mobile Location Center, GMLC), further, the home GMLC sends a request message for providing the position information to the AMF and judges the current state of the UE, when the UE is in an Idle state, the AMF needs to initiate a Network triggering service request (Network TRIGGERED SERVICE request) to the UE, the UE is required to be connected to the Network, so as to acquire the position information of the UE, when the UE is in a link state, the AMF needs to instruct gNodeB to initiate a position report (Location Reporting) flow, and further, the AMF can select an LMF capable of providing services according to the request and initiate the positioning request (Nlmf Location Determine Location Request) to the LMF, so that the LMF can calculate the position according to the position information carried in the request, and the AMF responds to the position information, the AMF acquires a position request result, and the AMF returns a position response request to the GMLC corresponding to the position information of the PPI to the point-to the corresponding to the position interface (PPI-4), and the position information is returned to the PPI-4, and the position information is returned to the point-to the PPI interface.
In the method, the deployment decision of the UDM sinking in the park is strictly controlled in the development process of private network services limited by the mainstream operators, and the UDM is not generally deployed in the park. At this time, the data needs to be detoured to the UDM deployed by the operator at the remote end and interacted, so that the positioning service can be realized, the positioning process is long and the time is high, and because of the interaction with the UDM network element and the AMF network element of the operator, risks such as leakage of related data can be brought to network security of the large network and the private network of the operator.
The terminal equipment positioning method provided by the embodiment of the application can be applied to a terminal equipment positioning method system. Fig. 2 shows a schematic structural diagram of the terminal equipment positioning method system. As shown in fig. 2, the terminal device positioning system 10 includes a terminal device (UE) 11, a base station 12, a networking device 13, a user plane function (User Plane Function, UPF) 14, a positioning platform 15, and a positioning request client 16.
The terminal device positioning system 10 may be used to determine location information of a terminal device in a target network environment, for example, the terminal device positioning system 10 may be used to determine location information of a terminal device in a fifth generation mobile communication technology (5th Generation Mobile Communication Technology,5G) scenario.
The terminal devices 11 are multiple, and the terminal devices 11 are mobile phone terminals, industry customization modules, industry customization terminals or other devices supporting network functions (such as 5G functions). It is required to be used under a target network, such as a campus private network, i.e. the terminal device 11 is able to access a plurality of base stations 12 deployed under the target network, such as under the campus private network.
The number of the base stations 12 is plural, and the base stations 12 are deployed under a target network (such as a campus private network), and may be 5G base stations (capable of implementing a 5G positioning function) for implementing functions such as radio resource management and scheduling.
The networking device 13 is configured to connect to a plurality of base stations and interact with the campus UPF14 and AMF network elements of the operator, which may be, for example, a router. As shown in fig. 2, the network element of the carrier large network may be connected to the AMF network element of the carrier large network by using NG-AP protocol through the N2 interface, and connected to the UPF14 by using GPRS tunneling protocol (GPRS Tunnelling Protocol for the user plane, GTP-U) of the user plane through the N3 interface.
The UPF14 is a network element of a network data forwarding plane of an operator, and may be, for example, a network element of a 5G core network data forwarding plane deployed by the operator under a target network (such as a campus private network). The network device 13 is connected with the network device through an N3 interface by adopting a GTP-U protocol, and is connected with a session management function (Session Management function, SMF) network element of an operator through an N4 interface by adopting a message forwarding control protocol (Packet Forwarding Control Protocol, PFCP).
The positioning platform 15 is configured to receive and process a positioning request of a terminal, send, through a client request end, location information of the terminal device 11, be deployed under a target network (such as a campus private network), be connected to the networking device 13 through a restful protocol, and be connected to the UPF14 through the restful protocol.
The positioning platform 15 includes an interface and service processing module, a UE database, and a location information resolving module. The interface and service processing module is configured to receive location request information initiated by a user, determine IP address information of a terminal device through a UE database, initiate a location report request to the base station 12, further receive a measurement report returned by the base station 12, send the measurement report to the location information resolving module, receive location information corresponding to a sending terminal device of the location information resolving module, and send the location information corresponding to the terminal device to the location request client 16.
The UE database stores information such as mobile phone numbers, IMSI information, and IP addresses corresponding to all terminal devices under a target network (e.g., under a campus private network).
The position information resolving module is used for resolving and determining the position information corresponding to the terminal equipment according to the report sent by the interface and service processing module, and sending the position information corresponding to the terminal equipment to the interface and service processing module.
The location request client 16 is a client for sending a location query request by a user, and may be a location request client in various forms, for example, may be an application program of a terminal device or an online location query webpage, and is connected to the location platform 15 through the internet or a mobile cellular network.
AMF refers to an access and mobility management function network element of an operator large network and is used for realizing access registration management of terminal equipment.
SMF refers to a session management function network element of an operator large network and is used for realizing session management of terminal equipment.
The UDM refers to a Unified data management function (Unified DATA MANAGEMENT) network element of the operator large network, and is used for implementing subscription and authentication data management of the terminal device.
The following describes a terminal device positioning method provided by an embodiment of the present application with reference to the accompanying drawings.
As shown in fig. 3, the terminal device positioning method provided by the embodiment of the present application is applied to a positioning platform, and includes S201-S204:
s201, receiving a first positioning query request sent by a target terminal.
The first positioning query request comprises an identifier of the first terminal, and the first positioning query request is used for acquiring the position information of the first terminal.
The terminal equipment positioning method provided by the embodiment of the application can be applied to positioning of terminal equipment in a certain area, for example, the terminal equipment positioning method can be used for determining the position information of the terminal equipment in a scene of determining the position information of the terminal equipment in a private network of a park or positioning the terminal equipment in a designated area (for example, a designated administrative area range).
It should be noted that, when the target terminal obtains the location information of the first terminal, it needs to be ensured that the first terminal has completed the startup registration, and successfully establishes the PDU Session.
Alternatively, the target terminal may determine the location information of the first terminal through the positioning platform.
Optionally, the user may send the first positioning query request to the positioning platform through the target terminal to obtain the first terminal position information, and the target terminal may be a positioning request client, configured to obtain the position information of other terminals.
Optionally, the target terminal and the first terminal may be the same terminal device or may be different terminal devices, when the target terminal and the first terminal are the same terminal device, the target terminal may obtain the position information of the target terminal, and when the target terminal and the first terminal are not the same terminal device, the target terminal may obtain the position information of other terminals (i.e., the first terminal).
Optionally, the identifier of the first terminal may be at least one of a mobile phone number of the first terminal, an IP address of the first terminal, and an IMSI of the first terminal.
S202, based on the first positioning query request, a second positioning query request is sent to a user plane function UPF.
The second positioning query request comprises an IP address corresponding to the first terminal, the second positioning query request is used for acquiring target indication information, and the target indication information comprises an identifier of a target base station and a data transmission path identifier, wherein the data transmission path identifier is used for indicating a data transmission path between the first terminal and the target base station.
Optionally, the positioning platform may store a table of correspondence between mobile phone numbers, IP addresses and IMSIs of all terminal devices, and may determine, by using an identifier of the first terminal included in the first query request, an IP address corresponding to the first terminal.
Optionally, when the first positioning query request includes the IP address corresponding to the first terminal, the IP address corresponding to the first terminal may be directly sent to the UPF.
Optionally, the identifier of the target base station is used to determine a base station to which the first terminal is connected, for example, the identifier of the target base station may be an NG-U IP address of the base station to which the first terminal is connected, and the data transmission path identifier is used to determine, from multiple terminals to which the target base station is connected, the first terminal that needs to determine location information, for example, may be a TEID of the first terminal, and may be capable of identifying a tunnel corresponding to the first terminal in multiple tunnels (data transmission channels) corresponding to the multiple terminals by the target base station.
S203, receiving target indication information sent by the UPF, and sending configuration query information to the target base station based on the target indication information.
The configuration query information is used for determining the position information of the first terminal by the target base station.
Optionally, the target base station is a base station accessed by the first terminal, and the positioning platform can determine the corresponding target base station through the identifier of the target base station.
Optionally, the configuration query information may include a data transmission path identifier, and the target base station determines the first terminal through the data transmission path identifier.
It should be noted that, when determining the location information of the first terminal through different signals, the corresponding configuration query information content also has a difference. For example, when the location information of the first terminal is determined by an uplink Sounding reference signal (Sounding REFERENCE SIGNAL, SRS), the configuration query information sent by the positioning platform may be SRS configuration request information.
S204, receiving a target measurement report sent by the target base station, and determining target position information corresponding to the first terminal based on the target measurement report.
Optionally, the target measurement report may include time information corresponding to the first terminal and the target base station, and location information of each of the plurality of antennas corresponding to the target base station.
Optionally, the positioning platform may determine the target location information corresponding to the first terminal by performing location information calculation on the target measurement report.
It will be appreciated that when the location information of the first terminal is determined by different positioning technologies, the corresponding measurement report content may also be different, and, for example, when the location information of the first terminal is determined by using a multi-antenna positioning technology, the target measurement report sent by the target base station may include ID information corresponding to each antenna in the plurality of antennas, where the time measurement value and the ID corresponding to each antenna determine the location information corresponding to each antenna.
It should be noted that, after determining the target position information corresponding to the first terminal, the positioning platform needs to send the target position information to the target terminal.
The application provides a terminal equipment positioning method which is applied to a scene of determining position information of terminal equipment. When the positioning platform receives a first positioning inquiry request which is sent by a target terminal and comprises a first terminal identifier and used for acquiring first terminal position information, a second positioning inquiry request which comprises a first terminal IP address is sent to the UPF based on the first positioning inquiry request, and when target indication information sent by the UPF is received, configuration inquiry information used for determining the first terminal position information is sent to a target base station based on the target indication information, and further, when a target measurement report sent by the target base station is received, target position information corresponding to the first terminal is determined based on the target measurement report, so that the position information of the terminal equipment is determined. By the method, when the position information of the terminal equipment is determined, information interaction is not directly carried out with the UDM network element and the AMF network element of the large network of the operator, and the measurement report sent by the target base station is directly obtained through the positioning platform, so that leakage of data information can be avoided, and data transmission delay and network security risk are reduced.
In one design, as shown in fig. 4, in a method for positioning a terminal device provided in an embodiment of the present application, S202 specifically includes S301 to S302:
S301, determining an IP address corresponding to the first terminal from a local database based on the identification of the first terminal included in the first positioning query request.
S302, a second positioning query request comprising the IP address corresponding to the first terminal is sent to the UPF.
Optionally, the local database may be a UE database, where a table of correspondence between mobile phone numbers, IP addresses, and IMSIs of all terminal devices is stored in the UE database, and an IP address corresponding to the first terminal may be determined by using an identifier of the first terminal included in the first query request.
Optionally, when the first terminal completes startup registration and successfully establishes PDU Session, the mobile phone number, IP address and IMSI corresponding to the first terminal are stored in the UE database.
Optionally, when the identifier of the first terminal included in the first positioning query request is the IP address corresponding to the first terminal, the IP address corresponding to the first terminal may still be determined through the correspondence table.
Optionally, when the identifier of the first terminal included in the first positioning query request is an IP address corresponding to the first terminal, the first terminal identifier included in the first positioning query request may also be directly determined as the second positioning query request.
In the terminal equipment positioning method provided by the embodiment of the application, when a first positioning query request sent by a target terminal is received, an IP address corresponding to the first terminal is determined from a local database according to the identification of the first terminal included in the first positioning query request, and a second positioning query request including the IP address corresponding to the first terminal is sent to a UPF. Therefore, when the first positioning inquiry request sent by the target terminal is received, the IP address corresponding to the first terminal can be directly determined from the local database, so that the positioning efficiency of the positioning platform on the first terminal is improved.
In one design, as shown in fig. 5, in the terminal device positioning method provided by the embodiment of the present application, S401 to S402 are further included:
s401, receiving configuration response information sent by a target base station.
The configuration response information is response information corresponding to the configuration query information.
S402, based on the configuration response information, sending a measurement request to the target base station.
The measurement request is used for acquiring a target measurement report corresponding to the first terminal.
Alternatively, transmitting the configuration request information and receiving the configuration response information may be understood as a pre-preparation step of transmitting the measurement request.
Optionally, the configuration query information may be used to enable the target base station to establish communication with the first terminal, so as to ensure that when a measurement request is sent to the target base station, the target base station can interact normally with the first terminal to determine a measurement report and be received by the positioning platform.
Optionally, after receiving the configuration response information sent by the target base station, it may be understood that the target base station has determined the first terminal and completed configuration of the relevant parameters, and at this time, the positioning platform may send a measurement request to the target base station to obtain a target measurement report corresponding to the first terminal.
When the location information of the first terminal is determined by different signals, the information content of the corresponding configuration query information and the information content of the configuration response information are different. For example, when the position information of the first terminal is determined by the SRS signal, the configuration query information sent by the positioning platform is SRS configuration request information, and the configuration response information received by the positioning platform after the target base station determines the first terminal is SRS configuration response information.
According to the terminal equipment positioning method provided by the embodiment of the application, when the configuration response information sent by the target base station is received, the measurement request can be sent to the target base station based on the configuration response information. Therefore, when the positioning platform sends a measurement request, the target base station and the first terminal are in a normal communication state, and the positioning efficiency of the positioning platform to the first terminal is guaranteed.
In one design, as shown in fig. 6, in the method for positioning a terminal device provided in the embodiment of the present application, "determining the target location information corresponding to the first terminal based on the target measurement report" in S204 includes S501-S502:
S501, determining a plurality of Timing Advance (TA) values corresponding to the first terminal based on the target measurement report.
The plurality of TA values are TA values corresponding to the plurality of antennas included in the target base station and the first terminal, and one TA value corresponds to one antenna and the first terminal.
Alternatively, the timing advance (TIMING ADVANCE, TA) value may be determined according to time information corresponding to the target base station by the first terminal in the target measurement report.
It will be appreciated that since time is the time of signal transmission, the time variation over the time domain can be understood as a rotational variation of the phase of the signal over the frequency domain. Therefore, the phase difference can be determined on the antenna side for the received adjacent reference signals in the full frequency band, so as to obtain a plurality of phase differences, and then the TA value corresponding to the antenna can be obtained by averaging the plurality of phase differences.
S502, determining target position information corresponding to the first terminal based on the position information of each antenna in the plurality of antennas and the plurality of distance differences.
Each distance difference is used for indicating the corresponding distance difference between the first terminal and any two antennas in the plurality of antennas.
It should be noted that, for different positioning methods, the corresponding measurement report content may also be different from the specific location information solving method.
For example, a difference in distance between the antenna a and the antenna b may be understood as a difference in first distance between the first terminal and the antenna a and a second distance between the first terminal and the antenna b (i.e., a difference between the first distance and the second distance), and a difference in distance between the antenna a and the antenna c may be understood as a difference in first distance between the first terminal and the antenna a and a third distance between the first terminal and the antenna c (i.e., a difference between the first distance and the third distance).
Alternatively, for the distance difference between the antenna a and the antenna b, it may be determined according to the product of the difference of TA values corresponding to the antenna a and the antenna b and the speed of light.
Alternatively, the system of equations may be listed according to the position information of each antenna and the plurality of distance differences, and the system of equations may be solved according to the geometric relationship, so as to determine the position information of the first terminal.
For example, when the positioning is performed by using the multi-antenna positioning technology and the target base station has 3 indoor antennas, the position of the indoor antenna a is determined to be (x a,ya), the position of the indoor antenna b is determined to be (x b,yb), the position of the indoor antenna b is determined to be (x c,yc), and the position of the first terminal i is determined to be (x i,yi), then the following formula one is given according to the geometric relationship:
where d ab represents the difference in the distance between the first terminal to the target base station's antenna a and the first terminal to the target base station's antenna b, d bc represents the difference in the distance between the first terminal to the target base station's antenna b and the first terminal to the target base station's antenna c, and d ac represents the difference in the distance between the first terminal to the target base station's antenna a and the first terminal to the target base station's antenna c.
Since the position of the indoor antenna a is (x a,ya), the position of the indoor antenna b is (x b,yb), the position of the indoor antenna b is (x c,yc), and the TA value corresponding to each indoor antenna is a known value (which can be determined by measurement report), specific values of x i and y i can be determined according to the above formula one, so as to determine the position information corresponding to the first terminal.
According to the positioning method of the terminal equipment, the TA value corresponding to each antenna can be determined through the measurement report, and the position information corresponding to the first terminal is calculated according to the TA value corresponding to each antenna and the position information of each antenna, so that the position information corresponding to the first terminal is directly obtained through the positioning platform, the positioning efficiency is improved, and the network security risk is reduced.
As shown in fig. 7, a terminal device positioning method provided by an embodiment of the present application is applied to a user plane function UPF, and the method includes S601-S602:
S601, receiving a second positioning query request sent by the positioning platform.
The second positioning query request comprises an IP address corresponding to the first terminal, the second positioning query request is used for acquiring target indication information, and the target indication information comprises an identifier of a target base station and a data transmission path identifier, wherein the data transmission path identifier is used for indicating a data transmission path between the first terminal and the target base station.
S602, based on the second positioning query request, sending target indication information to the positioning platform.
Optionally, the UPF may store a table of correspondence between IP addresses of all terminal devices and target indication information, and may determine the target indication information corresponding to the first terminal by using an IP address corresponding to the first terminal included in the second query request.
Optionally, for the first terminal, the target base stations corresponding to the first terminal at different times may not be the same, and the identifier of the target base station and the identifier of the data transmission path in the target indication information may also change.
Optionally, the correspondence table between the IP addresses of all the terminal devices stored in the UPF and the target indication information is in a state of being updated in real time, that is, at different moments, the indication information corresponding to the same terminal device in the correspondence table changes in real time along with the specific situation of the terminal device.
Specifically, when receiving the second query request sent by the positioning platform, the target indication information corresponding to the first terminal device in the corresponding relation table at the moment is sent to the positioning platform.
According to the terminal equipment positioning method provided by the real-time example, the identification of the target base station and the data transmission path identification corresponding to the first terminal can be directly determined through the UPF network element which is arranged by operator sinking, so that the network safety is ensured, and the occurrence of data leakage is prevented.
In one design, as shown in fig. 8, in a terminal device positioning method provided in an embodiment of the present application, S602 specifically includes S701-S702:
s701, determining the identification of the target base station and the identification of the data transmission path from a local database based on the IP address corresponding to the first terminal included in the second positioning inquiry request.
S702, sending target indication information comprising the identification of the target base station and the identification of the data transmission path to a positioning platform.
Optionally, the UPF may be provided with a database, where the database stores related information about PDU Session context of all terminal devices, for example, the database stores information such as an IP (NF-UIP) address of the NG user interface, a tunnel endpoint identifier (Tunnel Endpoint Identifier, TEID), an international mobile subscriber identity (International Mobile Subscriber Identification Number, IMSI), an IP address corresponding to the terminal device, and the like, and the target indication information corresponding to the first terminal may be determined by using an IP address corresponding to the first terminal included in the second query request.
In the terminal equipment positioning method provided by the embodiment of the application, when the second positioning inquiry request sent by the positioning platform is received, the identification and the data transmission path identification of the target base station corresponding to the first terminal are determined from the local database corresponding to the UPF according to the IP address of the first terminal included in the second positioning inquiry request, and the target indication information comprising the identification and the data transmission path identification of the target base station corresponding to the first terminal is sent to the positioning platform. Therefore, when the second positioning inquiry request sent by the positioning platform is received, the identification of the target base station and the identification of the data transmission path corresponding to the first terminal can be directly determined from the local database, so that the positioning efficiency of the terminal equipment is improved.
As shown in fig. 9, a terminal device positioning method provided by an embodiment of the present application is applied to a target base station, and the method includes S801-S802:
S801, receiving configuration query information sent by a positioning platform.
The configuration query information is used for acquiring a target measurement report corresponding to the first terminal.
S802, sending a target measurement report corresponding to the first terminal to the positioning platform based on the configuration query information.
Optionally, the target base station may determine a target measurement report corresponding to the first terminal by interacting with the first terminal, and send the target measurement report to the positioning platform.
According to the terminal equipment positioning method provided by the embodiment of the application, the target measurement report corresponding to the first terminal can be determined through interaction between the target base station and the first terminal, and the target measurement report is sent to the positioning platform to determine the position information corresponding to the first terminal, so that the network safety is ensured, and the occurrence of data leakage is prevented.
In one design, as shown in fig. 10, in a method for positioning a terminal device according to an embodiment of the present application, S802 specifically includes S901 to S903:
s901, determining a first terminal based on configuration query information, and sending configuration response information to a positioning platform.
The configuration response information is response information corresponding to the configuration query information.
Optionally, when receiving the configuration query information sent by the positioning platform, the target base station determines a corresponding first terminal according to the data transmission path identifier in the configuration query information, establishes a communication channel between the positioning platform, the target base station and the first terminal, and sends configuration response information to the positioning platform after the communication channel is established.
When the location information of the first terminal is determined by different signals, the information content of the corresponding configuration query information and the information content of the configuration response information are different.
For example, when determining the location information of the first terminal through the SRS signal, the configuration query information received by the target base station is SRS configuration request information, and the target base station determines that the configuration response information sent by the first terminal to the positioning platform is SRS configuration response information.
When receiving the SRS configuration request information, the target base station determines a first terminal that needs to determine location information from the multiple terminals that are accessed according to the SRS configuration request information, and interacts with the first terminal.
Specifically, when receiving the SRS configuration request information, the target base station may send first information to the first terminal, and when receiving the first information, the first terminal may respond to send second information to the target base station, where the SRS configuration is considered to be completed. And the target base station transmits SRS configuration response information to the positioning platform.
Optionally, when the target base station does not receive the second information sent by the first terminal, the target base station may retransmit the first information to perform SRS reconfiguration until the target base station receives the second information sent by the first terminal.
S902, receiving a measurement request sent by a positioning platform, and determining a target measurement report corresponding to the first terminal based on the measurement request.
The measurement request is used for acquiring a target measurement report corresponding to the first terminal.
Optionally, when receiving the measurement request sent by the positioning platform, the target base station may acquire information content corresponding to the signal sent by the first terminal, and determine a target measurement report corresponding to the first terminal based on the information content corresponding to the signal sent by the first terminal.
When the position information of the first terminal is determined by different signals, the information content sent by the first terminal is also different.
For example, when determining the position information of the first terminal through the SRS signal, the first terminal transmitting information is the SRS signal information at this time, and the target base station determines the target measurement report corresponding to the first terminal based on the SRS signal information transmitted by the first terminal.
S903, sending a target measurement report corresponding to the first terminal to the positioning platform.
The method includes the steps of, when determining location information of a first terminal through an SRS signal, as shown in fig. 11, first requiring the first terminal to complete startup registration and successfully establishing PDU Session, when receiving a first positioning inquiry request including an identifier of the first terminal sent by a target terminal through LCS CLIENT, the positioning platform establishes connection with the platform and LCS CLIENT, and sends a second positioning inquiry request including an IP address of the first terminal to the UPF based on the first positioning inquiry request, when receiving the second positioning inquiry request, the UPF sends target indication information including a target set identifier and a data transmission path identifier to the positioning platform based on the second positioning inquiry request, when receiving the target indication information sent by the UPF, the positioning platform sends an SRS configuration request for enabling a target base station to determine the location information of the first terminal based on the target indication information, when receiving the SRS configuration request sent by the positioning platform, the target base station completes SRS configuration and sends an SRS configuration response to the positioning platform, when receiving the SRS configuration response, sends a measurement request to the target base station based on the SRS configuration response, when receiving the SRS configuration response, sends a measurement report to the first terminal through the first terminal, and sends a measurement report to the first base station to the target base station when receiving the measurement report to the target base station, and the target base station determines the measurement report to be the target location report to the first terminal, and the target base station is determined to realize the measurement report, and the measurement of the target location report is determined to be located at the target location station.
The foregoing description of the solution provided by the embodiments of the present application has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of the terminal equipment positioning device according to the method example, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiment of the present application is schematic, which is merely a logic function division, and other division manners may be implemented in practice.
Fig. 12 is a schematic structural diagram of a terminal device positioning apparatus according to an embodiment of the present application. As shown in fig. 12, the terminal device positioning apparatus 40 is configured to improve positioning efficiency and reduce network security risks in a positioning process, for example, to perform a terminal device positioning method shown in fig. 3. The terminal device positioning apparatus 40 includes a receiving unit 401, a transmitting unit 402, and a processing unit 403.
The receiving unit 401 is configured to receive a first positioning query request sent by a target terminal, where the first positioning query request includes an identifier of the first terminal, and the first positioning query request is used to obtain location information of the first terminal.
The sending unit 402 is configured to send, to the user plane function UPF, a second positioning query request based on the first positioning query request, where the second positioning query request includes an IP address corresponding to the first terminal, and the second positioning query request is used to obtain target indication information, where the target indication information includes an identifier of a target base station and a data transmission path identifier, and the data transmission path identifier is used to indicate a data transmission path between the first terminal and the target base station.
A receiving unit 401, configured to receive the target indication information sent by the UPF.
A sending unit 402, configured to send configuration query information to the target base station based on the target indication information, where the configuration query information includes the target indication information, and the configuration query information is used by the target base station to determine location information of the first terminal.
A receiving unit 401, configured to receive a target measurement report sent by a target base station.
A processing unit 403, configured to determine target location information corresponding to the first terminal based on the target measurement report.
In one design, the processing unit 403 is configured to determine, from the local database, an IP address corresponding to the first terminal based on the identifier of the first terminal included in the first location query request.
A sending unit 402, configured to send a second location query request including an IP address corresponding to the first terminal to the UPF.
In one design, the receiving unit 401 is configured to receive configuration response information sent by the target base station, where the configuration response information is response information corresponding to the configuration query information.
And a sending unit 402, configured to send a measurement request to the target base station based on the configuration response information, where the measurement request is used to obtain a target measurement report corresponding to the first terminal.
In one design, the processing unit 403 is configured to determine, based on the target measurement report, a plurality of timing advance TA values corresponding to the first terminal, where the plurality of TA values are TA values corresponding to a plurality of antennas included in the target base station and the first terminal, and one TA value corresponds to one antenna and the first terminal.
The processing unit 403 is configured to determine target location information corresponding to the first terminal based on the location information of each of the plurality of antennas and a plurality of distance differences, where each distance difference is used to indicate a corresponding distance difference between the first terminal and any two of the plurality of antennas.
Fig. 13 is a schematic structural diagram of a terminal device positioning apparatus according to an embodiment of the present application. As shown in fig. 13, the terminal device positioning apparatus 50 is configured to improve positioning efficiency and reduce network security risks in a positioning process, for example, to perform a terminal device positioning method shown in fig. 7. The terminal device positioning apparatus 50 includes a receiving unit 501, a transmitting unit 502, and a processing unit 503.
The receiving unit 501 is configured to receive a second positioning query request sent by the positioning platform, where the second positioning query request includes an IP address corresponding to the first terminal, and the second positioning query request is used to obtain target indication information, where the target indication information includes an identifier of a target base station and a data transmission path identifier, and the data transmission path identifier is used to indicate a data transmission path between the first terminal and the target base station.
And a sending unit 502, configured to send target indication information to the positioning platform based on the second positioning query request.
In one design, the processing unit 503 is configured to determine, from the local database, an identifier of the target base station and a data transmission path identifier based on an IP address corresponding to the first terminal included in the second positioning query request.
A transmitting unit 502, configured to transmit, to the positioning platform, target indication information including an identifier of a target base station and an identifier of a data transmission path.
Fig. 14 is a schematic structural diagram of a terminal device positioning apparatus according to an embodiment of the present application. As shown in fig. 14, the terminal device positioning apparatus 60 is configured to improve positioning efficiency and reduce network security risks in a positioning process, for example, to perform a terminal device positioning method shown in fig. 9. The terminal device positioning apparatus 60 includes a receiving unit 601, a transmitting unit 602, and a processing unit 603.
The receiving unit 601 is configured to receive configuration query information sent by the positioning platform, where the configuration query information is used to obtain a target measurement report corresponding to the first terminal.
And the sending unit 602 is configured to send, to the positioning platform, a target measurement report corresponding to the first terminal based on the configuration query information.
In one design, the processing unit 603 is configured to determine the first terminal based on the configuration query information;
And the sending unit 602 is configured to send configuration response information to the positioning platform, where the configuration response information is response information corresponding to the configuration query information.
And the receiving unit 601 is configured to receive a measurement request sent by the positioning platform.
The processing unit 603 is configured to determine a target measurement report corresponding to the first terminal based on a measurement request, where the measurement request is used to obtain the target measurement report corresponding to the first terminal.
And the sending unit 602 is configured to send the target measurement report corresponding to the first terminal to the positioning platform.
In the case of implementing the functions of the integrated modules in the form of hardware, another possible structural schematic diagram of the electronic device involved in the above embodiment is provided in the embodiment of the present application. As shown in fig. 15, an electronic device 70 is configured to improve positioning efficiency and reduce network security risks during positioning, for example, to perform a terminal device positioning method shown in fig. 3. The electronic device 70 comprises a processor 701, a memory 702 and a bus 703. The processor 701 and the memory 702 may be connected by a bus 703.
The processor 701 is a control center of the communication device, and may be one processor or a collective term of a plurality of processing elements. For example, the processor 701 may be a general-purpose central processing unit (central processing unit, CPU), or may be another general-purpose processor. Wherein the general purpose processor may be a microprocessor or any conventional processor or the like.
As one example, processor 701 may include one or more CPUs, such as CPU 0 and CPU 1 shown in fig. 15.
The memory 702 may be, but is not limited to, read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or electrically erasable programmable read-only memory (EEPROM), magnetic disk storage or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
As a possible implementation, the memory 702 may exist separately from the processor 701, and the memory 702 may be connected to the processor 701 through the bus 703 for storing instructions or program code. When the processor 701 invokes and executes the instructions or the program codes stored in the memory 702, the terminal equipment positioning method provided by the embodiment of the application can be implemented.
In another possible implementation, the memory 702 may also be integrated with the processor 701.
Bus 703 may be an industry standard architecture (Industry Standard Architecture, ISA) bus, a peripheral component interconnect (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 15, but not only one bus or one type of bus.
It should be noted that the structure shown in fig. 15 does not constitute a limitation of the electronic apparatus 70. The electronic device 70 may include more or fewer components than shown in fig. 13, or may combine certain components or a different arrangement of components.
As an example, in connection with fig. 12, the functions implemented by the receiving unit 401, the transmitting unit 402, and the processing unit 403 in the terminal device positioning apparatus 40 are the same as those of the processor 701 in fig. 15.
Optionally, as shown in fig. 15, the electronic device 70 provided in the embodiment of the present application may further include a communication interface 704.
Communication interface 704 for connecting with other devices via a communication network. The communication network may be an ethernet, a radio access network, a wireless local area network (wireless local area networks, WLAN), etc. The communication interface 704 may include a receiving unit for receiving data and a transmitting unit for transmitting data.
In one design, the electronic device provided in the embodiment of the present application may further include a communication interface integrated in the processor.
From the above description of embodiments, it will be apparent to those skilled in the art that the foregoing functional unit divisions are merely illustrative for convenience and brevity of description. In practical applications, the above-mentioned function allocation may be performed by different functional units, i.e. the internal structure of the device is divided into different functional units, as needed, to perform all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores instructions, when the computer executes the instructions, the computer executes each step in the method flow shown in the method embodiment.
Embodiments of the present application provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform a terminal device positioning method as in the method embodiments described above.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include an electrical connection having one or more wires, a portable computer diskette, and a hard disk. Random access Memory (Random Access Memory, RAM), read-Only Memory (ROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), registers, hard disk, optical fiber, portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium suitable for use by a person or persons of skill in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an Application SPECIFIC INTEGRATED Circuit (ASIC). In embodiments of the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Since the electronic device, the computer readable storage medium, and the computer program product in the embodiments of the present application can be applied to the above-mentioned method, the technical effects that can be obtained by the method can also refer to the above-mentioned method embodiments, and the embodiments of the present application are not described herein again.
The present application is not limited to the above embodiments, and any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application.