Terminal positioning method, device, equipment and storage medium

By determining the main carrier and auxiliary carrier cells in the 5G network, receiving the timing advance information and constructing positioning equations, the complex problems of existing 5G positioning technology are solved, and simple and efficient terminal positioning is achieved, which is suitable for enterprise-level 5G private networks.

CN117528772BActive Publication Date: 2025-08-26CHINA MOBILE ZIJIN INNOVATION INST CO LTD +2
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311615165.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-28
Publication Date
2025-08-26
Estimated Expiration
2043-11-28

AI Technical Summary

Technical Problem

The existing 5G positioning technology is complex and huge, involving a large number of network elements, with a huge development volume, and it is difficult to achieve the need for terminal positioning in enterprise-level 5G private networks, so the existing technical solutions are inconvenient to deploy.

Method used

When the detection terminal accesses the network, it determines the main carrier cell and the auxiliary carrier cell, receives the timing advance information, and uses the base station reference position and timing advance information to construct a positioning equation to perform terminal positioning.

Benefits of technology

It realizes positioning by measuring the time advance amount between terminals and base stations in existing communication technology, saving time-frequency resources and reducing processing difficulty, and is suitable for terminal positioning requirements of enterprise-level 5G private networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117528772B_ABST
    Figure CN117528772B_ABST
Patent Text Reader

Abstract

The present invention discloses a terminal positioning method, apparatus, device, and storage medium, belonging to the field of wireless positioning technology. The present invention determines the primary carrier cell and secondary carrier cell corresponding to the terminal upon detecting that the terminal has accessed the network; receives timing advance information corresponding to the terminal uploaded by the primary carrier cell and the secondary carrier cell; and locates the terminal based on the timing advance information. In this way, positioning is achieved by measuring the timing advance between the terminal and the base station in existing communication technologies, saving time and frequency resources and reducing processing difficulty.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless positioning technology, and in particular to a terminal positioning method, device, equipment and storage medium. Background Art

[0002] Current 5G positioning technology is complex and extensive. The technical solution is mainly based on the newly added DL PRS signal and the improved SRS signal to locate the terminal. The existing 5G positioning technology involves many network elements, the technology is complex, and the development volume is huge. There is no mature product application yet. However, there is a demand for terminal positioning in the current enterprise-level 5G private network, and it is unrealistic to develop a complex system.

[0003] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention

[0004] The main purpose of the present invention is to provide a terminal positioning method, device, equipment and storage medium, aiming to solve the technical problem that the positioning method of wireless terminals in the prior art is complex and inconvenient to deploy.

[0005] To achieve the above object, the present invention provides a terminal positioning method, which includes the following steps:

[0006] When detecting that a terminal accesses a network, determining a primary carrier cell and a secondary carrier cell corresponding to the terminal;

[0007] receiving timing advance information corresponding to the terminal uploaded by the primary carrier cell and the secondary carrier cell;

[0008] The terminal is positioned according to the timing advance information.

[0009] Optionally, when detecting that a terminal accesses a network, determining a primary carrier cell and a secondary carrier cell corresponding to the terminal includes:

[0010] When detecting that a terminal has accessed a network, determining a serving cell corresponding to the terminal;

[0011] determining a plurality of neighboring cells of the serving cell;

[0012] The server cell is determined as a primary carrier cell, and each adjacent cell is determined as a secondary carrier cell.

[0013] Optionally, the positioning the terminal according to the timing advance information includes:

[0014] Obtaining a base station reference position and setting a position to be estimated corresponding to the terminal;

[0015] Constructing a positioning equation according to the base station reference position, the position to be estimated and the timing advance information;

[0016] Positioning the terminal according to the positioning equation.

[0017] Optionally, constructing a positioning equation according to the base station reference position, the position to be estimated, and the timing advance information includes:

[0018] Constructing a distance difference formula according to the base station reference position, the position to be estimated, and the timing advance information;

[0019] A positioning equation is constructed according to the distance difference formula.

[0020] Optionally, positioning the terminal according to the positioning equation includes:

[0021] Determine the positioning equation and calculate to obtain a first error equation group;

[0022] Obtaining a first estimated value according to the first error equation group;

[0023] constructing a second error equation group based on the first estimated value, and obtaining a second estimated value based on the second error equation group;

[0024] A positioning result of the terminal is determined according to the first estimation value and the second estimation value.

[0025] Optionally, before the receiving the timing advance information corresponding to the terminal uploaded by the primary carrier cell and the secondary carrier cell, the method further includes:

[0026] Sending a terminal identification code query instruction to the primary carrier cell, and querying the mobile user identity of the terminal through a protocol entity of the primary carrier cell;

[0027] The primary carrier cell is controlled to feed back primary timing advance information including the mobile user identity, and the secondary carrier cell is controlled to feed back secondary timing advance information, where the timing advance information includes the primary timing advance information and the secondary timing advance information.

[0028] Optionally, the controlling the primary carrier cell to feed back primary timing advance information including the mobile user identity, and controlling the secondary carrier cell to feed back secondary timing advance information, includes:

[0029] Controlling the primary carrier cell to feed back primary timing advance information, where the primary timing advance information includes the mobile user identifier, wireless network temporary identifier information of the primary carrier cell, and wireless network temporary identifier information of each secondary carrier cell;

[0030] Controlling the secondary carrier cell to feed back secondary timing advance information. In addition, to achieve the above-mentioned purpose, the present invention further proposes a terminal positioning device, the terminal positioning device comprising:

[0031] A cell determination module is used to determine the primary carrier cell and the secondary carrier cell corresponding to the terminal when detecting that the terminal has accessed the network;

[0032] An information receiving module, configured to receive timing advance information corresponding to the terminal uploaded by the primary carrier cell and the secondary carrier cell;

[0033] The terminal positioning module is configured to position the terminal according to the timing advance information.

[0034] In addition, to achieve the above objectives, the present invention also proposes a terminal positioning device, which includes: a memory, a processor, and a terminal positioning program stored in the memory and running on the processor, and the terminal positioning program is configured to implement the terminal positioning method described above.

[0035] In addition, to achieve the above-mentioned object, the present invention further proposes a storage medium, on which a terminal positioning program is stored. When the terminal positioning program is executed by a processor, the terminal positioning method as described above is implemented.

[0036] When detecting a terminal accessing a network, the present invention determines the primary and secondary carrier cells corresponding to the terminal; receives timing advance information corresponding to the terminal uploaded by the primary and secondary carrier cells; and locates the terminal based on the timing advance information. This method achieves positioning by measuring the timing advance between the terminal and the base station in existing communication technologies, conserving time and frequency resources and reducing processing complexity. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a structural diagram of a terminal positioning device in a hardware operating environment involved in an embodiment of the present invention;

[0038] Figure 2 This is a flow chart of a first embodiment of a terminal positioning method according to the present invention;

[0039] Figure 3 Schematic diagram of a 5G positioning architecture based on reference points in an embodiment of a terminal positioning method of the present invention;

[0040] Figure 4 This is a schematic diagram of a 5G positioning architecture based on a service-based interface in an embodiment of a terminal positioning method of the present invention;

[0041] Figure 5Schematic diagram of the network architecture in an embodiment of the terminal positioning method of the present invention;

[0042] Figure 6 This is a complete interaction diagram of an embodiment of a terminal positioning method of the present invention;

[0043] Figure 7 This is a schematic diagram of terminal identification code query in an embodiment of a terminal positioning method of the present invention;

[0044] Figure 8 This is a flow chart of a second embodiment of a terminal positioning method according to the present invention;

[0045] Figure 9 This is a structural block diagram of the first embodiment of the terminal positioning device of the present invention.

[0046] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0047] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0048] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of a terminal positioning device in the hardware operating environment involved in an embodiment of the present invention.

[0049] like Figure 1 As shown, the terminal positioning device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) memory, or a stable non-volatile memory (NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0050] Those skilled in the art will understand that Figure 1The structure shown in the figure does not constitute a limitation on the terminal positioning device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0051] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a terminal positioning program.

[0052] exist Figure 1 In the terminal positioning device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the terminal positioning device of the present invention can be set in the terminal positioning device, and the terminal positioning device calls the terminal positioning program stored in the memory 1005 through the processor 1001 and executes the terminal positioning method provided by the embodiment of the present invention.

[0053] The embodiment of the present invention provides a terminal positioning method, referring to Figure 2 , Figure 2 The figure is a flow chart of a first embodiment of a terminal positioning method according to the present invention.

[0054] In this embodiment, the terminal positioning method includes the following steps:

[0055] Step S10: When it is detected that a terminal has accessed the network, a primary carrier cell and a secondary carrier cell corresponding to the terminal are determined.

[0056] In this embodiment, the execution subject of this embodiment may be the terminal positioning device, which has functions such as data processing, data communication, and program execution. The terminal positioning device may be a positioning server. Of course, other devices with similar functions may also be used, and this implementation condition does not limit this. For ease of explanation, this embodiment uses the terminal positioning device as an example.

[0057] It should be noted that the 5G positioning architecture defined by the 3GPP protocol is large and complex. The complete technical solution involves network elements such as terminals, RAN, access and mobility management function (AMF), location management function (LMF), gateway mobile location center (GMLC), network development function (NEF), location retrieval function (LRF), and unified data management function (UDM). The functions of these modules are briefly described below: 1. Terminal (UE): It can obtain location measurement information in response to positioning requests and calculate the position locally or forward the measurement information to the LMF for location calculation. 2. RAN: It participates in the positioning process of the target terminal, provides positioning-related information to the LMF, and transmits positioning messages between the AMF or LMF and the target terminal. 3. GMLC: It is the first node accessed in the public mobile network (PLMN) when an external LCS client requests positioning services. The GMLC obtains routing information and terminal LCS privacy attributes from the UDM, performs privacy checks, and then forwards positioning information based on the routing information. 4. LRF: It provides routing information for terminals initiating Internet Multimedia Subsystem (IMS) emergency sessions and can be co-located with the GMLC. 5. UDM: stores the LCS privacy settings and routing information of the terminal. 6. AMF: manages the positioning requests received from GMLC, NEF or the terminal, selects LMF for the positioning request, and supports the broadcast of encrypted auxiliary data. 7. LMF: is responsible for managing and scheduling the resources required for positioning the terminal. When a positioning request is received from the serving AMF, LMF interacts with the terminal and the access network to obtain positioning assistance information or location information. In non-roaming scenarios, the 5G positioning architecture based on reference points is as follows: Figure 3 This architecture reflects the logical links between different network functions and the interfaces used between different network elements. For example, GMLC sends positioning messages to AMF through the NL2 interface, and AMF relays positioning messages between LMF and RAN. In non-roaming scenarios, the 5G positioning architecture based on service-oriented interfaces is shown in Figure 1. Figure 4 As shown in the figure, in this architecture, the services provided by the NEF, UDM, AMF, LMF, and GMLC are all connected to the same bus. Authorized network functions can use the bus to call services provided by other network functions. For example, the services provided by the GMLC are named "Ngmlc". The GMLC, AMF, and NEF can call these services through the bus.

[0058] It should be understood that the 5G positioning process includes the mobile called location request process, the mobile calling location request process, the deferred mobile called location request process, the location service opening process, the terminal location privacy setting process and the auxiliary data broadcast process.

[0059] In specific implementation, the mobile called party location request process: the LCS client or AF requests the current location of the target terminal through this process. When GMLC receives the location request from the LCS client or AF, GMLC obtains the terminal LCS privacy attributes from UDM and performs a privacy query. GMLC obtains the access type used by the terminal, as well as the connection status and AMF scheduling information from UDM. GMLC selects the access type and AMF, and sends the positioning request to AMF. AMF selects LMF, sends the positioning request to LMF; LMF selects the positioning method and initiates the positioning process for the terminal. After the positioning is completed, LMF returns the terminal positioning information to AMF, and AMF returns the location information to GMLC.

[0060] It should be noted that the mobile caller location request process is a process through which a terminal obtains its own location information. The terminal sends a location request to the AMF via a NAS message. The AMF selects the LMF and then sends the location request to the LMF. The LMF initiates the terminal location process and returns the location result to the AMF, which then returns the location information to the terminal via a NAS message. If the terminal requests that location information be sent to the LCS client, the AMF also sends the location information to the GMLC.

[0061] It should be understood that current 5G positioning technology is complex and extensive, primarily relying on newly added DL PRS signals and improved SRS signals for terminal positioning. The 3GPP Release 16 standard recommends NR E-CID, DL-TDOA, UL-TDOA, Multi-RTT, DL-AoD, UL-AoA, and NR RAT hybrid positioning technologies based on combinations of these methods. These 5G positioning technologies involve numerous network elements, are technically complex, and require extensive development. Currently, mature product applications are lacking. However, the current demand for terminal positioning in enterprise-level 5G private networks makes developing such a complex system impractical. This patent proposes a streamlined 5G positioning solution that significantly reduces implementation complexity while effectively meeting enterprise needs. The principle behind 3GPP Release 16's DL-TDOA positioning technology is that different base stations simultaneously transmit DL-PRS signals. The terminal then determines its distance from each base station based on the time difference in PRS arrival. If the terminal is considered a moving point in a plane and the base station is considered a fixed point in the plane, the TDOA model can be understood as follows: the trajectory of a moving point in the plane with a constant distance difference from two fixed points is a hyperbola. Using three base stations (one serving cell and two neighboring cells), two hyperbolas can be obtained, and the intersection of these two hyperbolas is the terminal's location. DL-TDOA requires high time synchronization between base stations. The advantage of this method is that the base station broadcasts the DL-PRS signal, and the terminal calculates the time difference, making implementation relatively simple and providing high time accuracy. However, the disadvantage is that most base stations and terminals currently do not support DL-PRS signals, requiring the entire feature to be redeveloped, resulting in high costs for promotion and application. UL-TDOA positioning technology operates similarly, but the difference is that the terminal transmits an uplink SRS positioning signal. When multiple base stations simultaneously receive the SRS signals, they calculate the distance difference between the terminal and the different base stations based on the time difference in SRS arrival. The terminal's position can then be determined using this positioning principle. The technical difficulty of UL-TDOA lies in the simultaneous reception of the terminal's SRS positioning signal by three 5G base stations and the calculation of the time difference in arrival at the base station. In addition, similar to DL-TDOA, UL-TDOA also suffers from the same drawbacks as DL-TDOA, with few base stations and terminals supporting the SRS positioning signals recommended by 3GPP. Based on the above situation, the solution of this embodiment draws on the TDOA positioning concept and proposes a positioning solution based on the timing advance (TA) function currently implemented by 5G base stations and terminals. This solution uses the TA value from the terminal to the base station and the two-dimensional position of the known reference base station to solve the least squares solution of the linear equation system to achieve terminal positioning. This solution is simple to implement and easy to deploy. It is mainly targeted at 5G enterprise private networks, and 5G terminal positioning can be achieved with a slight modification to the network.

[0062] In a specific implementation, the distance from the terminal device to the base station is equal to the time it takes for the electromagnetic wave to travel between the terminal device and the base station multiplied by the speed of light. In existing 5G network technologies, there is a mechanism called TA (Timing Advance). TA represents a period of time, which is theoretically equal to the time it takes for the electromagnetic wave to travel back and forth between the terminal device and the base station. Taking the initial access process of the terminal as an example, the terminal sends a preamble on the PRACH channel, and the base station physical layer determines the TA value by measuring the symbol position of the peak energy of the preamble signal PDP on the PRACH channel. Therefore, the TA value from the terminal device to the base station can be used to calculate the distance from the terminal device to the base station. The solution of this embodiment proposes to use carrier aggregation technology to obtain multiple TAs, and use the background positioning server to collect data in real time to achieve real-time positioning of the terminal. The networking architecture is as follows: Figure 5 gesture.

[0063] It should be noted that the positioning server is a newly added network element, connected to each base station via the OM interface. It records the geographic location of each base station and implements the positioning algorithm. Adjacent base stations are configured as adjacent cells. After a terminal accesses the network, the serving cell acts as the PCC, and the adjacent cell is configured as the SCC via an RRC reconfiguration message. Each base station calculates the TA value from the terminal to its own base station in real time and periodically reports it to the positioning server. The positioning server calculates the TA difference for the same terminal at different base stations and, through this calculation process, calculates the terminal's location coordinates within the network coverage area.

[0064] It should be understood that after detecting that the intelligent terminal has accessed the network, the primary carrier cell and multiple secondary carrier cells of the terminal are first determined.

[0065] Furthermore, in order to accurately determine the main carrier cell and the secondary carrier cell, step S10 includes: when detecting that the terminal accesses the network, determining the service cell corresponding to the terminal; determining multiple adjacent cells of the service cell; determining the service cell as the main carrier cell, and determining each adjacent cell as a secondary carrier cell.

[0066] In a specific implementation, after the terminal accesses the network, the serving cell serves as the primary carrier component (PCC), and configures the neighboring cell as the secondary carrier component (SCC) through an RRC reconfiguration message.

[0067] Step S20: Receive the timing advance information corresponding to the terminal uploaded by the primary carrier cell and the secondary carrier cell.

[0068] It should be noted that the RRC protocol entity of the PCC cell binds the obtained UE's mobile user identity (International Mobile Subscriber Identity, IMSI / IMEI) and the cell radio network temporary identity (Cell-Radio Network Temporary Identifier, CRNTI) together, and reports it to the positioning server together with its own global CELLID and the global CELLID list of other SCC carriers in the carrier aggregation. The UE's CRNTI is allocated by the PCC, and other SCC carriers and the PCC share the same CRNTI, so it is sufficient to report the global CELLID list to the positioning server. After that, the PCC base station and the SCC base station periodically report the terminal's TA information. The system process is as follows: Figure 6 gesture.

[0069] Furthermore, in order to obtain the identification code information of the terminal, before step S20, it also includes: sending a terminal identification code query instruction to the main carrier cell, and querying the mobile user identity of the terminal through the protocol entity of the main carrier cell; controlling the main carrier cell to feedback the main timing advance information containing the mobile user identity, and controlling the secondary carrier cell to feedback the secondary timing advance information, wherein the timing advance information includes the main timing advance information and the secondary timing advance information.

[0070] It should be understood that in positioning solutions, the positioning server uses IMSI / IMEI to identify different UEs for easy access and use by users. The TA value can be obtained through processes such as the random access preamble transmission. The TA value is maintained by the base station's MAC layer and reported to the positioning server. The base station does not know the UE's IMSI / IMEI value. The MAC entity uses the CRNTI to distinguish different terminals. The CRNTI is a unique identifier within the base station and is not a global identifier.

[0071] In the specific implementation, in the terminal access network protocol process, the RRC protocol entity of the gNb serving cell can simulate the core network to send the NAS message Identity request to query the IMSI / IMEI of the UE after receiving the RRC Setup Complete message from the UE. The specific process is as follows Figure 7 shown.

[0072] Furthermore, in order to accurately determine the timing advance information fed back by the main carrier cell and the secondary carrier cell, the steps of controlling the main carrier cell to feed back the main timing advance information including the mobile user identifier, and controlling the secondary carrier cell to feed back the secondary timing advance information include: controlling the main carrier cell to feed back the main timing advance information, the main timing advance information including the mobile user identifier, the wireless network temporary identification information of the main carrier cell and the wireless network temporary identification information of each secondary carrier cell; and controlling the secondary carrier cell to feed back the secondary timing advance information.

[0073] It should be noted that after receiving the RRC Setup Complete message from the UE, the RRC protocol entity of the gNb serving cell simulates the core network to send the NAS message Identity Request to query the IMSI / IMEI of the UE.

[0074] It should be understood that the RRC protocol entity of the PCC cell binds the acquired UE's IMSI / IMEI and CRNTI together and reports them to the positioning server together with the global CELLID of the current PCC carrier and the global CELLID list of other SCC carriers in the carrier aggregation.

[0075] In a specific implementation, the UE's CRNTI is allocated by the PCC, and other SCC carriers and the PCC share the same CRNTI. The SCC cell reports the global CELLID list and CRNTI to the positioning server.

[0076] It should be noted that the PCC base station and the SCC base station periodically report the TA information of the terminal to the positioning server, and obtaining the TA value may rely on processes such as random access preamble transmission.

[0077] Step S30: Positioning the terminal according to the timing advance information.

[0078] It should be understood that the positioning server uses the IMSI information of the CRNTI to obtain multiple TA values ​​of the terminal to which the IMSI reported from the PCC and SCC belongs. Combining the known base station location coordinates and the obtained multiple TA values, the least squares solution of the linear equation system is solved to achieve terminal positioning.

[0079] This embodiment determines the primary and secondary carrier cells corresponding to a terminal upon detecting that the terminal has accessed the network; receives timing advance information corresponding to the terminal uploaded by the primary and secondary carrier cells; and locates the terminal based on the timing advance information. This approach achieves positioning by measuring the timing advance between the terminal and the base station in existing communication technologies, conserving time and frequency resources and reducing processing complexity.

[0080] refer to Figure 8 , Figure 8 This is a flow chart of a second embodiment of a terminal positioning method according to the present invention.

[0081] Based on the first embodiment described above, the terminal positioning method of this embodiment includes, in step S30:

[0082] Step S301: Acquire a base station reference position and set a position to be estimated corresponding to the terminal.

[0083] It should be noted that, let the terminal position T(x,y) be the position to be estimated, X i (x i ,y i ) is the reference position of the known base station, x∈[1,n], and n is the number of known points.

[0084] Step S302: constructing a positioning equation according to the base station reference position, the position to be estimated and the timing advance information.

[0085] It should be understood that the step of constructing the positioning equation is to first construct the distance difference formula and finally construct the complete positioning equation using the distance difference formula.

[0086] Furthermore, in order to accurately construct a positioning equation, step S302 includes: constructing a distance difference formula according to the base station reference position, the position to be estimated and the timing advance information; and constructing a positioning equation according to the distance difference formula.

[0087] In the specific implementation, T and X i The distance between

[0088] r i =||X i -T||2

[0089] Taking X1 as the benchmark, T to X i The difference between (i≠1) and the distance to X1 is

[0090] r i,1 =ct i,1 =r i -r1, i=1, 2, ..n

[0091] Where c is the propagation speed of radio waves, t i,1 From terminal T to base station X i (i≠1) is 1 / 2 of the difference in TA to base station X1.

[0092] It should be noted that, from the above two formulas, we can get

[0093]

[0094] in,

[0095]

[0096] It should be understood that, by considering x, y, and r1 as independent variables, the above formula can be transformed into a system of linear equations:

[0097]

[0098] in,

[0099]

[0100] Step S303: Positioning the terminal according to the positioning equation.

[0101] In a specific implementation, positioning the terminal according to the positioning equation means constructing error equations based on the positioning equation, and then calculating the first estimated value and the second estimated value, so that the positioning coordinates of the terminal, that is, the positioning result, can be obtained based on the first estimated value and the second estimated value.

[0102] Furthermore, in order to accurately locate the terminal, step S303 includes: determining the positioning equation to calculate a first error equation group; obtaining a first estimated value based on the first error equation group; constructing a second error equation group based on the first estimated value, and obtaining a second estimated value based on the second error equation group; determining the positioning result of the terminal based on the first estimated value and the second estimated value.

[0103] It should be noted that if {*}0 is defined as the value when there is no noise, the error vector of the linear equation system is

[0104]

[0105] Assuming that e approximately obeys Gaussian distribution and has covariance matrix, then

[0106] ψ=E(ee T )=c 2 BQB

[0107] in

[0108]

[0109] Q is the covariance matrix of the noise vector that follows the Gaussian distribution.

[0110] Linear equations

[0111]

[0112] The least squares solution of is equivalent to solving the normal equation

[0113]

[0114] Assume z a The elements in are independent of each other. When the error of each set of data is weighted, it becomes a weighted least squares problem. Then the normal equation should be

[0115]

[0116] Then z a The weighted least squares estimate of

[0117]

[0118] B has T to X i The actual distance is unknown during calculation. i When the distance is far, Q can be used instead of ψ, so

[0119]

[0120] Use z a The initial solution obtained is recalculated B, and then substituted

[0121] ψ=E(ee T )=c 2 BQB

[0122] Get ψ, and then substitute it into the normal equation to get z a The result is the first estimate.

[0123] Using the first estimate, reconstruct a set of error equations for the second estimate

[0124]

[0125] z a,j represents z a The i-th component of, i∈[1,3], e1, e2, e3 is z a The estimation error of . Thus we get the second estimate

[0126]

[0127] in

[0128]

[0129]

[0130] Then the estimated result of T is

[0131]

[0132] It should be noted that the unit of TA in 5GNR is Tc, and the calculation method is as follows: c =1 / (Δf max ·N f )

[0133] Δf max =480×10 3 , N f =4096

[0134] Therefore, Tc = 0.509ns, and it can be estimated that the theoretical accuracy of positioning using TA can reach 0.153m. TA is a variable maintained by the base station. It calculates the TA value by detecting the terminal's uplink channels (PRACH, PUSCH, PUCCH, and SRS) and notifies the terminal of the amount of time it needs to advance its uplink transmission through the Timing Advance Command (TAC). TAC can be divided into two types: (1) initial TAC, which is sent through the RAR; and (2) adjustable TAC, which is sent through the MAC CE.

[0135] The initial TAC occupies 12 bits and has a value range of [0, 3846]. This is the basic value of the terminal's TA value. Subsequent adjustment TAC fine-tunes this value. The adjustment TAC occupies 6 bits and has a value range of [-32, 32]. Since Tc is 0.509ns, the fine-tuning duration ranges from [-16.28ns, 16.28ns].

[0136] This embodiment obtains a base station reference position and sets the estimated position corresponding to the terminal; constructs a positioning equation based on the base station reference position, the estimated position, and the timing advance information; and locates the terminal based on the positioning equation. This method implements a method for each base station to calculate the TA value from the terminal to the base station in real time, using the serving cell as the PCC and configuring the neighboring cell as the SCC via RRC messages. This reduces the overhead of calculating TA measurements from the terminal to multiple base stations. Furthermore, the positioning server uses the known base station location coordinates and multiple acquired TA values ​​to solve the least squares solution of the linear equation system to achieve terminal positioning, thereby improving computational efficiency.

[0137] In addition, an embodiment of the present invention further provides a storage medium, on which a terminal positioning program is stored. When the terminal positioning program is executed by a processor, the steps of the terminal positioning method described above are implemented.

[0138] Since the storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.

[0139] Reference Figure 9 , Figure 9 This is a structural block diagram of the first embodiment of the terminal positioning device of the present invention.

[0140] like Figure 9 As shown, the terminal positioning device proposed in the embodiment of the present invention includes:

[0141] The cell determination module 10 is configured to determine a primary carrier cell and a secondary carrier cell corresponding to a terminal when detecting that the terminal has accessed a network.

[0142] The information receiving module 20 is configured to receive the timing advance information corresponding to the terminal uploaded by the primary carrier cell and the secondary carrier cell.

[0143] The terminal positioning module 30 is configured to position the terminal according to the timing advance information.

[0144] This embodiment determines the primary and secondary carrier cells corresponding to a terminal upon detecting that the terminal has accessed the network; receives timing advance information corresponding to the terminal uploaded by the primary and secondary carrier cells; and locates the terminal based on the timing advance information. This approach achieves positioning by measuring the timing advance between the terminal and the base station in existing communication technologies, conserving time and frequency resources and reducing processing complexity.

[0145] In one embodiment, the cell determination module 10 is further used to determine the serving cell corresponding to the terminal when detecting that the terminal accesses the network; determine multiple adjacent cells of the serving cell; determine the serving cell as the primary carrier cell, and determine each adjacent cell as a secondary carrier cell.

[0146] In one embodiment, the terminal positioning module 30 is further used to obtain a base station reference position and set an estimated position corresponding to the terminal; construct a positioning equation based on the base station reference position, the estimated position and the timing advance information; and locate the terminal according to the positioning equation.

[0147] In one embodiment, the terminal positioning module 30 is further configured to construct a distance difference formula according to the base station reference position, the position to be estimated and the timing advance information; and construct a positioning equation according to the distance difference formula.

[0148] In one embodiment, the terminal positioning module 30 is further used to determine the positioning equation to calculate a first error equation group; obtain a first estimated value based on the first error equation group; construct a second error equation group based on the first estimated value, and obtain a second estimated value based on the second error equation group; determine the positioning result of the terminal based on the first estimated value and the second estimated value.

[0149] In one embodiment, the information receiving module 20 is further used to send a terminal identification code query instruction to the primary carrier cell, and query the mobile user identity of the terminal through the protocol entity of the primary carrier cell; control the primary carrier cell to feedback primary timing advance information containing the mobile user identity, and control the secondary carrier cell to feedback secondary timing advance information, where the timing advance information includes the primary timing advance information and the secondary timing advance information.

[0150] In one embodiment, the information receiving module 20 is further used to control the primary carrier cell to feed back primary timing advance information, where the primary timing advance information includes the mobile user identifier, the wireless network temporary identifier information of the primary carrier cell, and the wireless network temporary identifier information of each secondary carrier cell; and control the secondary carrier cell to feed back the secondary timing advance information.

[0151] It should be understood that the above is only an example and does not constitute any limitation to the technical solution of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any limitation on this.

[0152] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of it according to actual needs to achieve the purpose of the embodiment scheme, and no limitation is made here.

[0153] In addition, for technical details not fully described in this embodiment, reference can be made to the terminal positioning method provided in any embodiment of the present invention, and will not be repeated here.

[0154] In addition, it should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.

[0155] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0156] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, or of course by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0157] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A terminal positioning method, characterized in that: The terminal positioning method includes: When detecting that a terminal has accessed the network, determining the primary carrier cell and the secondary carrier cell corresponding to the terminal, wherein, when processing the terminal network access process, simultaneously notifying the RRC protocol entity of the serving cell, after receiving the RRC setting completion message of the terminal, simulating the core network to send a message to query the global identifier of the terminal for aggregating timing advance information belonging to the same terminal from multiple base stations, and each base station calculates the timing advance of the terminal to each base station in real time, and periodically reports it to the positioning server; receiving timing advance information corresponding to the terminal uploaded by the primary carrier cell and the secondary carrier cell; Obtaining a base station reference position and setting a position to be estimated corresponding to the terminal; Constructing a positioning equation based on the base station reference position, the position to be estimated, and the timing advance information, wherein a distance difference formula is calculated based on the position of the terminal, the distances to the reference positions of each known base station, and the distance differences between the terminal and each base station, and converting the distance difference formula into a system of linear equations to obtain a positioning equation; Determine the positioning equation and calculate to obtain a first error equation group; Obtaining a first estimated value according to the first error equation group; constructing a second error equation group based on the first estimated value, and obtaining a second estimated value based on the second error equation group; A positioning result of the terminal is determined according to the first estimation value and the second estimation value.

2. The terminal positioning method according to claim 1, wherein: The determining, when detecting that a terminal has accessed a network, a primary carrier cell and a secondary carrier cell corresponding to the terminal includes: When detecting that a terminal has accessed a network, determining a serving cell corresponding to the terminal; determining a plurality of neighboring cells of the serving cell; The server cell is determined as a primary carrier cell, and each adjacent cell is determined as a secondary carrier cell.

3. The terminal positioning method according to claim 1, wherein: The constructing a positioning equation according to the base station reference position, the position to be estimated, and the timing advance information includes: Constructing a distance difference formula according to the base station reference position, the position to be estimated, and the timing advance information; A positioning equation is constructed according to the distance difference formula.

4. The terminal positioning method according to claim 1, wherein: Before the receiving the timing advance information corresponding to the terminal uploaded by the primary carrier cell and the secondary carrier cell, the method further includes: Sending a terminal identification code query instruction to the primary carrier cell, and querying the mobile user identity of the terminal through a protocol entity of the primary carrier cell; The primary carrier cell is controlled to feed back primary timing advance information including the mobile user identity, and the secondary carrier cell is controlled to feed back secondary timing advance information, where the timing advance information includes the primary timing advance information and the secondary timing advance information.

5. The terminal positioning method according to claim 4, wherein: The controlling the primary carrier cell to feed back primary timing advance information including the mobile user identity, and controlling the secondary carrier cell to feed back secondary timing advance information, includes: Controlling the primary carrier cell to feed back primary timing advance information, where the primary timing advance information includes the mobile user identifier, wireless network temporary identifier information of the primary carrier cell, and wireless network temporary identifier information of each secondary carrier cell; The secondary carrier cell is controlled to feed back secondary timing advance information.

6. A terminal positioning device, characterized in that: The terminal positioning device includes: A cell determination module is configured to, upon detecting that a terminal has accessed the network, determine the primary carrier cell and secondary carrier cell corresponding to the terminal, wherein, when processing the terminal network access process, the RRC protocol entity of the serving cell is notified to simulate the core network sending a message to query the global identifier of the terminal after receiving the RRC setting completion message of the terminal, so as to aggregate the timing advance information from multiple base stations belonging to the same terminal, and each base station calculates the timing advance from the terminal to each base station in real time and periodically reports it to the positioning server; An information receiving module, configured to receive timing advance information corresponding to the terminal uploaded by the primary carrier cell and the secondary carrier cell; A terminal positioning module is used to obtain a base station reference position and set a position to be estimated corresponding to the terminal; construct a positioning equation based on the base station reference position, the position to be estimated and the timing advance information, wherein a distance difference formula is calculated based on the position of the terminal, the distance of the reference position of each known base station and the distance difference between the terminal and each base station, and the distance difference formula is converted into a linear equation group to obtain a positioning equation; determine the positioning equation to calculate a first error equation group; obtain a first estimated value based on the first error equation group; construct a second error equation group based on the first estimated value, and obtain a second estimated value based on the second error equation group; determine the positioning result of the terminal based on the first estimated value and the second estimated value.

7. A terminal positioning device, characterized in that: The terminal positioning device includes: a memory, a processor, and a terminal positioning program stored in the memory and running on the processor, wherein the terminal positioning program is configured to implement the terminal positioning method according to any one of claims 1 to 5.

8. A storage medium, characterized in that: The storage medium stores a terminal positioning program, and when the terminal positioning program is executed by the processor, the terminal positioning method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Positioning method and system for user equipment UE

    CN107404757A