Positioning method and positioning apparatus
11231497 · 2022-01-25
Assignee
Inventors
Cpc classification
G01S5/12
PHYSICS
H04W64/00
ELECTRICITY
G01S5/14
PHYSICS
H04L1/16
ELECTRICITY
G01S13/878
PHYSICS
International classification
G01S13/87
PHYSICS
H04W64/00
ELECTRICITY
H04L1/16
ELECTRICITY
G01S5/14
PHYSICS
Abstract
A positioning method includes: obtaining first time information of a first to-be-positioned node, second time information of a second to-be-positioned node, position information of at least three collaborative nodes with known positions, and third time information of the at least three collaborative nodes with known positions; and determining position information of the first to-be-positioned node and position information of the second to-be-positioned node according to the first time information, the second time information, the third time information, and the position information of the at least three collaborative nodes with known positions.
Claims
1. A computer-implemented method comprising: obtaining, by an apparatus, first time information of a first to-be-positioned node whose position is to be determined, wherein the first time information comprises a first sending time at which the first to-be-positioned node sends a fine timing measurement action frame, and a first receiving time at which the first to-be-positioned node receives, from a second to-be-positioned node whose position is to be determined, a fine timing measurement response frame in response to sending the fine timing measurement action frame; obtaining, by the apparatus, second time information of the second to-be-positioned node whose position is to be determined, wherein the second time information comprises a second receiving time at which the second to-be-positioned node receives the fine timing measurement action frame from the first to-be-positioned node and a second sending time at which the second to-be-positioned node sends the fine timing measurement response frame in response to receiving the fine timing measurement action frame from the first to-be-positioned node; obtaining, by the apparatus, position information of at least three collaborative nodes with known positions and third time information of each of the at least three collaborative nodes with known positions, wherein the third time information of a respective collaborative node comprises a third receiving time at which the respective collaborative node receives the fine timing measurement action frame from the first to-be-positioned node and a fourth receiving time at which the respective collaborative node receives the fine timing measurement response frame from the second to-be-positioned node; and determining, by the apparatus, both position information of the first to-be-positioned node and position information of the second to-be-positioned node according to the obtained first time information, the obtained second time information, the obtained third time information, and the position information of the at least three collaborative nodes with known positions.
2. The computer-implemented method according to claim 1, wherein determining the position information of the first to-be-positioned node and the position information of the second to-be-positioned node according to the first time information, the second time information, the third time information, and the position information of the at least three collaborative nodes with known positions comprises: determining, by the apparatus, a first time of flight between the first to-be-positioned node and the second to-be-positioned node according to the first time information and the second time information; determining, by the apparatus, a time of flight difference for each of the at least three collaborative nodes with known positions according to the first time of flight between the first to-be-positioned node and the second to-be-positioned node, the first time information, and the third time information, the time of flight difference for the respective collaborative node being between a second time of flight of the respective collaborative node and a third time of flight of the respective collaborative node, wherein the second time of flight is between the respective collaborative node and the first to-be-positioned node, and the third time of flight is between the respective collaborative node and the second to-be-positioned node; and determining, by the apparatus, the position information of the first to-be-positioned node and the position information of the second to-be-positioned node according to the time of flight difference for each of the at least three collaborative nodes, the position information of the at least three collaborative nodes with known positions, and the first time of flight between the first to-be-positioned node and the second to-be-positioned node.
3. The computer-implemented method according to claim 1, wherein the apparatus is the first to-be-positioned node and the computer-implemented method is executed by the first to-be-positioned node; obtaining the first time information of the first to-be-positioned node comprises: sending the fine timing measurement action frame, and obtaining the first sending time of the fine timing measurement action frame; and receiving the fine timing measurement response frame sent by the second to-be-positioned node, and obtaining the first receiving time; and obtaining the second time information of the second to-be-positioned node comprises: receiving the second time information sent by the second to-be-positioned node.
4. The computer-implemented method according to claim 1, wherein the apparatus is the second to-be-positioned node and the computer-implemented method is executed by the second to-be-positioned node; obtaining the second time information of the second to-be-positioned node comprises: receiving the fine timing measurement action frame sent by the first to-be-positioned node, and obtaining the second receiving time; and sending the fine timing measurement response frame, and obtaining the second sending time of the fine timing measurement response frame; and obtaining the first time information of the first to-be-positioned node comprises: receiving the first time information sent by the first to-be-positioned node.
5. The computer-implemented method according to claim 1, wherein obtaining the position information of the at least three collaborative nodes with known positions and the third time information of each of the at least three collaborative nodes with known positions comprises: receiving the position information of the at least three collaborative nodes and the third time information that are sent by the at least three collaborative nodes.
6. The computer-implemented method according to claim 1, wherein the apparatus is a first collaborative node of the at least three collaborative nodes with known positions and the computer-implemented method is executed by the first collaborative node of the at least three collaborative nodes with known positions; obtaining the first time information of the first to-be-positioned node comprises: receiving the first time information sent by the first to-be-positioned node; obtaining the second time information of the second to-be-positioned node comprises: receiving the second time information sent by the second to-be-positioned node; and obtaining the position information of the at least three collaborative nodes with known positions and the third time information of each of the at least three collaborative nodes with known positions comprises: obtaining position information of the first collaborative node; receiving the fine timing measurement action frame sent by the first to-be-positioned node, and obtaining the third receiving time of the first collaborative node at which the first collaborative node receives the fine timing measurement action frame; receiving the fine timing measurement response frame sent by the second to-be-positioned node, and obtaining the fourth receiving time of the first collaborative node at which the first collaborative node receives the fine timing measurement response frame; and receiving position information of rest collaborative nodes of the at least three collaborative nodes that is sent by the rest collaborative nodes, the third receiving time of each of the rest collaborative nodes at which each of the rest collaborative nodes receives the fine timing measurement action frame, and the fourth receiving time of each of the rest collaborative nodes at which each of the rest collaborative nodes receives the fine timing measurement response frame.
7. The computer-implemented method according to claim 1, wherein the apparatus is a management node and the computer-implemented method is executed by the management node; obtaining the first time information of the first to-be-positioned node comprises: receiving the first time information sent by the first to-be-positioned node; obtaining the second time information of the second to-be-positioned node comprises: receiving the second time information sent by the second to-be-positioned node; and obtaining the position information of the at least three collaborative nodes with known positions and the third time information of each of the at least three collaborative nodes with known positions comprises: receiving the position information of the at least three collaborative nodes and the third time information that are sent by the at least three collaborative nodes.
8. The computer-implemented method according to claim 1, wherein the apparatus is the first to-be-positioned node and the computer-implemented method is executed by the first to-be-positioned node, and the computer-implemented method further comprises: sending the position information of the second to-be-positioned node to the second to-be-positioned node; or the computer-implemented method is executed by the second to-be-positioned node, and the computer-implemented method further comprises: sending the position information of the first to-be-positioned node to the first to-be-positioned node; or the computer-implemented method is executed by one of the at least three collaborative nodes with known positions or a management node, and the computer-implemented method further comprises: sending the position information of the first to-be-positioned node to the first to-be-positioned node, and sending the position information of the second to-be-positioned node to the second to-be-positioned node.
9. The computer-implemented method according to claim 2, wherein determining the time of flight difference for each of the at least three collaborative nodes with known positions comprises: obtaining the time of flight difference for a collaborative node S.sub.N between the second time of flight, which is between the collaborative node S.sub.N and the first to-be-positioned node U.sub.1, and the third time of flight, which is between the collaborative node S.sub.N and the second to-be-positioned node U.sub.2, according to a formula of: TOF (U.sub.1−S.sub.N)−TOF(U.sub.2−S.sub.N)=t.sub.2_S.sub.N−t.sub.3_S.sub.N+(t.sub.4−t.sub.1)−TOF (U.sub.1−U.sub.2), wherein TOF (U.sub.1−U.sub.2) indicates the first time of flight between the first to-be-positioned node and the second to-be-positioned node, TOF(U.sub.1−S.sub.N) indicates the second time of flight between the collaborative node S.sub.N and the first to-be-positioned node U.sub.1, TOF(U.sub.2−S.sub.N) indicates the third time of flight between the collaborative node S.sub.N and the second to-be-positioned node U.sub.2, t.sub.1 indicates the first sending time at which the first to-be-positioned node sends the fine timing measurement action frame, t.sub.4 indicates the first receiving time, t.sub.2_S.sub.N indicates the third receiving time at which S.sub.N receives the fine timing measurement action frame, and t.sub.3_S.sub.N indicates the fourth receiving time at which S.sub.N receives the fine timing measurement response frame.
10. An apparatus comprising: a non-transitory memory storage comprising instructions; and one or more processors in communication with the memory storage, wherein the one or more processors execute the instructions to: obtain first time information of a first to-be-positioned node whose position is to be determined, wherein the first time information comprises a first sending time at which the first to-be-positioned node sends a fine timing measurement action frame and a first receiving time at which the first to-be-positioned node receives, from a second to-be-positioned node whose position is to be determined, a fine timing measurement response frame in response to sending the fine timing measurement action frame; obtain second time information of the second to-be-positioned node whose position is to be determined, wherein the second time information comprises a second receiving time at which the second to-be-positioned node receives the fine timing measurement action frame from the first to-be-positioned node and a second sending time at which the second to-be-positioned node sends the fine timing measurement response frame in response to receiving the fine timing measurement action frame from the first to-be-positioned node; obtain position information of at least three collaborative nodes with known positions and obtain third time information of each of the at least three collaborative nodes with known positions, wherein the third time information of a respective collaborative node comprises a third receiving time at which the respective collaborative node receives the fine timing measurement action frame from the first to-be-positioned node and a fourth receiving time at which the respective collaborative node receives the fine timing measurement response frame from the second to-be-positioned node; and determine both position information of the first to-be-positioned node and position information of the second to-be-positioned node according to the obtained first time information, the obtained second time information, the obtained third time information, and the position information of the at least three collaborative nodes with known positions.
11. The apparatus according to claim 10, wherein the one or more processors execute the instructions further to: determine a first time of flight between the first to-be-positioned node and the second to-be-positioned node according to the first time information and the second time information; determine a time of flight difference for each of the at least three collaborative nodes with known positions according to the first time of flight between the first to-be-positioned node and the second to-be-positioned node, the first time information, and the third time information, the time of flight difference for the respective collaborative node being between a second time of flight of the respective collaborative node and a third time of flight of the respective collaborative node, wherein the second time of flight is between the respective collaborative node and the first to-be-positioned node, and the third time of flight is between the respective collaborative node and the second to-be-positioned node; and determine the position information of the first to-be-positioned node and the position information of the second to-be-positioned node according to the time of flight difference for each of the at least three collaborative nodes, the position information of the at least three collaborative nodes with known positions, and the first time of flight between the first to-be-positioned node and the second to-be-positioned node.
12. The apparatus according to claim 10, wherein the apparatus is the first to-be-positioned node; obtaining the first time information of the first to-be-positioned node comprises: sending the fine timing measurement action frame, obtaining the first sending time of the fine timing measurement action frame, receiving the fine timing measurement response frame sent by the second to-be-positioned node, and obtaining the first receiving time; and obtaining the second time information of the second to-be-positioned node comprises: receiving the second time information sent by the second to-be-positioned node.
13. The apparatus according to claim 10, wherein the apparatus is the second to-be-positioned node; obtaining the second time information of the second to-be-positioned node comprises: receiving the fine timing measurement action frame sent by the first to-be-positioned node, obtaining the second receiving time, sending the fine timing measurement response frame, and obtaining the second sending time of the fine timing measurement response frame; and obtaining the first time information of the first to-be-positioned node comprises: receiving the first time information sent by the first to-be-positioned node.
14. The apparatus according to claim 13, wherein the one or more processors execute the instructions further to send the position information of the first to-be-positioned node to the first to-be-positioned node.
15. The apparatus according to claim 12, wherein obtaining the position information of the at least three collaborative nodes with known positions and the third time information of each of the at least three collaborative nodes with known positions comprises: receiving the position information of the at least three collaborative nodes and the third time information that are sent by the at least three collaborative nodes.
16. The apparatus according to claim 10, wherein the apparatus is a first collaborative node of the at least three collaborative nodes with known positions; obtaining the first time information of the first to-be-positioned node comprises: receiving the first time information sent by the first to-be-positioned node; obtaining the second time information of the second to-be-positioned node comprises: receiving the second time information sent by the second to-be-positioned node; and obtaining the position information of the at least three collaborative nodes with known positions and the third time information of the at least three collaborative nodes with known positions comprises: obtaining position information of the first collaborative node; receiving the fine timing measurement action frame sent by the first to-be-positioned node, and obtaining the third receiving time of the first collaborative node at which the first collaborative node receives the fine timing measurement action frame; receiving the fine timing measurement response frame sent by the second to-be-positioned node, and obtaining the fourth receiving time of the first collaborative node at which the first collaborative node receives the fine timing measurement response frame; and receiving position information of rest collaborative nodes of the at least three collaborative nodes that is sent by the rest collaborative nodes, the third receiving time of each of the rest collaborative nodes at which each of the rest collaborative nodes receives the fine timing measurement action frame, and the fourth receiving time of each of the rest collaborative nodes at which each of the rest collaborative nodes receives the fine timing measurement response frame.
17. The apparatus according to claim 10, wherein the apparatus is a management node; obtaining the first time information of the first to-be-positioned node comprises: receiving the first time information sent by the first to-be-positioned node; obtaining the second time information of the second to-be-positioned node comprises: receiving the second time information sent by the second to-be-positioned node; and obtaining the position information of the at least three collaborative nodes with known positions and the third time information of each of the at least three collaborative nodes with known positions comprises: receiving the position information of the at least three collaborative nodes and the third time information that are sent by the at least three collaborative nodes.
18. The apparatus according to claim 17, wherein the one or more processors execute the instructions further to: send the position information of the first to-be-positioned node to the first to-be-positioned node, and send the position information of the second to-be-positioned node to the second to-be-positioned node.
19. The apparatus according to claim 11, wherein the one or more processors execute the instructions further to: obtain the time of flight difference for a collaborative node S.sub.N between the second time of flight, which is between the collaborative node S.sub.N and the first to-be-positioned node U.sub.1, and the third time of flight, which is between the collaborative node S.sub.N and the second to-be-positioned node U.sub.2, according to a formula of: TOF (U.sub.1−S.sub.N)−TOF (U.sub.2−S.sub.N)=t.sub.2_S.sub.N−t.sub.3_S.sub.N+(t.sub.4−t.sub.1)−TOF (U.sub.1−U.sub.2), wherein TOF (U.sub.1−U.sub.2) indicates the first time of flight between the first to-be-positioned node and the second to-be-positioned node, TOF(U.sub.1−S.sub.N) indicates the second time of flight between the collaborative node S.sub.N and the first to-be-positioned node U.sub.1, TOF(U.sub.2−S.sub.N) indicates the third time of flight between the collaborative node S.sub.N and the second to-be-positioned node U.sub.2, t.sub.1 indicates the first sending time at which the first to-be-positioned node sends the fine timing measurement action frame, t.sub.4 indicates the first receiving time, t.sub.2_S.sub.N indicates the third receiving time at which S.sub.N receives the fine timing measurement action frame, and t.sub.3_S.sub.N indicates the fourth receiving time at which S.sub.N receives the fine timing measurement response frame.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) To describe the technical solutions in the embodiments of this application more clearly, the following briefly describes the accompanying drawings required for describing the embodiments.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
(16)
(17) With reference to the collaborative positioning framework shown in
(18) 201. U1 sends a signaling request to an AP, where the signaling request is used to request to perform fine timing measurement.
(19) 202. The AP sends a response message to U1, where the response message is used to instruct to perform fine timing measurement between U1 and U2, to determine U2.
(20) In this embodiment of this application, the AP is a management node that manages collaborative positioning performed by the collaborative nodes SNs on U1 and U2. The AP may instruct to perform fine timing measurement between any two to-be-positioned nodes Us, and a standard for instructing, by the AP, to perform fine timing measurement between the any two to-be-positioned nodes Us may be as follows: The two to-be-positioned nodes Us can communicate with each other. For example, in step 202, U2 that can bidirectionally communicate with U1 is specified in the response message sent by the AP to U1, so that after step 201 and step 202, U1 determines U2 that performs fine timing measurement with U1.
(21) Certainly, U1 may alternatively determine, in another manner, U2 that performs fine timing measurement with U1. As shown in step 301 and step 302 in
(22) 203. U1 sends FTM_K, and obtains a sending time t1 of the FTM_K.
(23) 204. U2 obtains a second receiving time t2 at which the FTM_K is received.
(24) 205. The collaborative nodes S1, S2, and S3 obtain receiving time t2_SN at which the collaborative nodes S1, S2, and S3 receive the FTM_K. The receiving time t2_SN of the collaborative nodes S1, S2, and S3 are marked as t2_S1, t2_S2, and t2_S3, respectively.
(25) Step 203 to step 205 shown in
(26) 206. U2 sends ACK_K, and obtains a sending time t3 of the ACK_K.
(27) 207. U1 obtains a first receiving time t4 at which the ACK_K is received.
(28) 208. The collaborative nodes S1, S2, and S3 obtain receiving time t3_SN at which the collaborative nodes S1, S2, and S3 receive the ACK_K. The receiving time t3_SN of the collaborative nodes S1, S2, and S3 are marked as t3_S1, t3_S2, and t3_S3, respectively.
(29) Step 206 to step 208 shown in
(30) 209. U2 sends the sending time t3 of the ACK_K and the second receiving time t2 to U1.
(31) After step 203 to step 209, U1 can obtain first time information of U1 and second time information of U2. The first time information includes the sending time at which U1 sends the FTM_K and the first receiving time at which U1 receives the ACK_K. The second time information includes the second receiving time at which U2 receives the FTM_K and the sending time at which U2 sends the ACK_K.
(32) 210. The collaborative nodes S1, S2, and S3 obtain their coordinates, where the coordinates are used to represent position information of the collaborative nodes.
(33) 211. The collaborative nodes S1, S2, and S3 send, to U1, their coordinates, the receiving time t2_SN at which the collaborative nodes S1, S2, and S3 receive the FTM_K, and the receiving time t3_SN at which the collaborative nodes S1, S2, and S3 receive the ACK_K.
(34) Step 209 and step 211 shown in
(35) In addition, after step 205, step 208, step 210, and step 211, U1 can obtain the position information of the collaborative nodes S1, S2, and S3 with known positions and third time information. The third time information includes the receiving time t2_SN at which the three collaborative nodes S1, S2, and S3 receive the FTM_K, and the receiving time t3_SN at which the three collaborative nodes S1, S2, and S3 receive the ACK_K.
(36) 212. U1 calculates a time of flight between U1 and U2 according to Formula 1:
TOF(U1−U2)=((t4−t1)−(t3−t2))/2 (Formula 1).
(37) 213. U1 calculates a difference between a time of flight between a collaborative node S.sub.N and U.sub.1, and a time of flight between S.sub.N and U.sub.2 according to Formula 2:
TOF(U.sub.1−S.sub.N)−TOF(U.sub.2−S.sub.N)=t.sub.2_S.sub.N−t.sub.3_S.sub.N+(t.sub.4−t.sub.1)−TOF(U.sub.1−U.sub.2), (Formula 2)
where TOF(U.sub.1−S.sub.N) indicates the time of flight between S.sub.N and U.sub.1, and TOF(U.sub.2−S.sub.N) indicates the time of flight between S.sub.N and U.sub.2.
(38) A process of deriving Formula 2 is as follows:
t.sub.2_S.sub.N=t+TOF(U.sub.1−S.sub.N)+Δ(U.sub.1−S.sub.N)
t.sub.2=t.sub.1+TOF(U.sub.1−U.sub.2)+Δ(U.sub.1−U.sub.2)
t.sub.3_S.sub.N=t.sub.3+TOF(U.sub.2−S.sub.N)+Δ(U.sub.2−S.sub.N)
t.sub.4=t.sub.3+TOF(U.sub.2−U.sub.1)+Δ(U.sub.2−U.sub.1)
.Math.t.sub.3_S.sub.N−t.sub.2_S.sub.N=t.sub.3−t.sub.1+TOF(U.sub.2−S.sub.N)−TOF(U.sub.1−S.sub.N)+Δ(U.sub.2−U.sub.1),
where Δ(U.sub.2−U.sub.1)=t.sub.4−t.sub.3−TOF(U.sub.2−U.sub.1)
.Math.TOF(U.sub.1−S.sub.N)−TOF(U.sub.2−S.sub.N)=t.sub.2_S.sub.N−t.sub.3_S.sub.N+(t.sub.4−t.sub.1)−TOF(U.sub.2−U.sub.1)
(39) In a symmetric link, TOF (U.sub.2−U.sub.1)=TOF (U.sub.1−U.sub.2). Therefore, the following formula is obtained:
TOF(U.sub.1−S.sub.N)−TOF(U.sub.2−S.sub.N)=t.sub.2_S.sub.N−t.sub.3_S.sub.N+(t.sub.4-t.sub.1)−TOF(U.sub.2−U.sub.1)
=TOF(U.sub.1−S.sub.N)−TOF(U.sub.2−S.sub.N)=t.sub.2_S.sub.N−t.sub.3_S.sub.N+(t.sub.4−t.sub.1)−TOF(U.sub.1−U.sub.2),
where both TOF (U.sub.2−U.sub.1) and TOF (U.sub.1−U.sub.2) indicate the time of flight between U.sub.1 and U.sub.2, while a difference between TOF (U.sub.2−U.sub.1) and TOF (U.sub.1−U.sub.2) lies in that: TOF (U.sub.1−U.sub.2) indicates that calculation is proactively initiated by U.sub.1 and TOF (U.sub.2−U.sub.1) indicates that calculation is proactively initiated by U.sub.2.
(40) 214. U.sub.1 calculates coordinates of U.sub.1 and coordinates of U.sub.2 according to Formula 3 and Formula 4, where in this embodiment of this application, the coordinates of U.sub.1 are used to represent position information of U.sub.1, and the coordinates of U.sub.2 are used to represent position information of U.sub.2:
√{square root over ((a.sub.N−x.sub.1).sup.2+(b.sub.N−y.sub.1).sup.2)}−√{square root over ((a.sub.N−x.sub.2).sup.2+(b.sub.N−y.sub.2).sup.2)}=(TOF(U.sub.1−S.sub.N)−TOF(U.sub.2−S.sub.N))*c, (Formula 3)
√{square root over ((x.sub.2−x.sub.1).sup.2+(y.sub.2−y.sub.1).sup.2)}=TOF(U.sub.1−U.sub.2)*c. (Formula 4)
(41) In the foregoing formulas, (x.sub.1,y.sub.1) indicates the coordinates of U.sub.1, (x.sub.2,y.sub.2) indicates the coordinates of U.sub.2, (a.sub.N,b.sub.N) indicates coordinates of S.sub.N, c indicates a speed of light, and c is equal to 3*10{circumflex over ( )}.sup.8. It can be learned from Formula 1, Formula 2, Formula 3, and Formula 4 that, right sides of equations of Formula 3 and Formula 4 may be obtained by multiplying the foregoing time information and the speed of light. In addition, Formula 3 and Formula 4 include four unknown quantities: x.sub.1, y.sub.1, x.sub.2, and y.sub.2, and therefore, at least four equations are required, that is, at least coordinates of the three S.sub.Ns, t.sub.2_S.sub.N, and t.sub.3_S.sub.N are required to simultaneously calculate the coordinates of U.sub.1 and the coordinates of U.sub.2 according to Formula 3 and Formula 4.
(42) 215. U.sub.1 sends the coordinates of U.sub.2 to U.sub.2.
(43) It can be learned from the foregoing technical solution that, according to the positioning method provided in this embodiment of this application, the coordinates of U.sub.1 and the coordinates of U.sub.2 can be obtained by using one FTM handshake between U.sub.1 and U.sub.2. In this case, when there are N to-be-positioned nodes, if N is an even number, the N to-be-positioned nodes may obtain their coordinates by using N/2 FTM handshakes between the N to-be-positioned nodes; or if N is an odd number, the N to-be-positioned nodes may obtain their coordinates by using (N/2)+1 FTM handshakes between the N to-be-positioned nodes. Compared with the prior art in which coordinates of N to-be-positioned nodes are obtained by using 2N FTM handshakes, in this application, a quantity of FTM handshakes is decreased. Therefore, signaling overheads in a network are reduced.
(44) Referring to
(45) In addition, other differences between the positioning method shown in
(46) U.sub.2 does not send a sending time t.sub.3 of ACK_K and a second receiving time t.sub.2 to U.sub.1;
(47) U.sub.1 sends a sending time t.sub.1 of FTM_K and a first receiving time t.sub.4 to U.sub.2, as described in step 609, so that U.sub.2 obtains first time information; and
(48) the collaborative nodes S.sub.1, S.sub.2, and S.sub.3 send, to U.sub.2, their coordinates, receiving time t.sub.2_S.sub.N at which the collaborative nodes S.sub.1, S.sub.2, and S.sub.3 receive the FTM_K, and receiving time t.sub.3_S.sub.N at which the collaborative nodes S.sub.1, S.sub.2, and S.sub.3 receive the ACK_K, as described in step 611, instead of sending, to U.sub.1, their coordinates, the receiving time t.sub.2_S.sub.N at which the collaborative nodes S.sub.1, S.sub.2, and S.sub.3 receive the FTM_K, and the receiving time t.sub.3_S.sub.N at which the collaborative nodes S.sub.1, S.sub.2, and S.sub.3 receive the ACK_K, so that U.sub.2 obtains position information of the three collaborative nodes S.sub.1, S.sub.2, and S.sub.3 with known positions and third time information.
(49) Referring to
(50) In addition, other differences between the positioning method shown in
(51) U.sub.1 sends a sending time t.sub.1 of FTM_K and a first receiving time t.sub.4 to S.sub.1, as described in step 709, so that S obtains first time information;
(52) U.sub.2 sends a sending time t.sub.3 of ACK_K and a second receiving time t.sub.2 to S.sub.1, as described in step 710, instead of sending, by U.sub.2, the sending time t.sub.3 of the ACK_K and the second receiving time t.sub.2 to U.sub.1, so that S.sub.1 obtains second time information; and
(53) S.sub.1 does not send, to U.sub.1, its coordinates, a receiving time t.sub.2_S.sub.N at which the FTM_K is received, and a receiving time t.sub.3_S.sub.N at which the ACK_K is received; and the collaborative nodes S.sub.2 and S.sub.3 send, to S.sub.1, their coordinates, receiving time t.sub.2_S.sub.N at which the collaborative nodes S.sub.2 and S.sub.3 receive the FTM_K, and receiving time t.sub.3_S.sub.N at which the collaborative nodes S.sub.2 and S.sub.3 receive the ACK_K, as described in step 712, instead of sending, to U.sub.1, their coordinates, the receiving time t.sub.2_S.sub.N at which the collaborative nodes S.sub.2 and S.sub.3 receive the FTM_K.sub.3, and the receiving time t.sub.3_S.sub.N at which the collaborative nodes S.sub.2 and S.sub.3 receive the ACK_K, so that S.sub.1 obtains position information of the three collaborative nodes S.sub.1, S.sub.2, and S.sub.3 with known positions and third time information.
(54) Referring to
(55) In addition, other differences between the positioning method shown in
(56) U.sub.1 sends a sending time t.sub.1 of FTM_K and a first receiving time t.sub.4 to the AP, as described in step 809, so that the AP obtains first time information;
(57) U.sub.2 sends a sending time t.sub.3 of ACK_K and a second receiving time t.sub.2 to the AP, as described in step 810, instead of sending, by U.sub.2, the sending time t.sub.3 of the ACK_K and the second receiving time t.sub.2 to U.sub.1, so that the AP obtains second time information; and
(58) the collaborative nodes S.sub.1, S.sub.2, and S.sub.3 send, to the AP, their coordinates, receiving time t.sub.2_S.sub.N at which the collaborative nodes S.sub.1, S.sub.2, and S.sub.3 receive the FTM_K, and receiving time t.sub.3_S.sub.N at which the collaborative nodes S.sub.1, S.sub.2, and S.sub.3 receive the ACK_K, as described in step 812, instead of sending, to U.sub.1, their coordinates, the receiving time t.sub.2_S.sub.N at which the collaborative nodes S.sub.1, S.sub.2, and S.sub.3 receive the FTM_K, and the receiving time t.sub.3_S.sub.N at which the collaborative nodes S.sub.1, S.sub.2, and S.sub.3 receive the ACK_K, so that the AP obtains position information of the three collaborative nodes S.sub.1, S.sub.2, and S.sub.3 with known positions and third time information.
(59) With reference to the collaborative positioning framework shown in
(60) The obtaining unit 11 is configured to obtain first time information of a first to-be-positioned node, where the first time information includes a sending time at which the first to-be-positioned node sends a fine timing measurement action frame and a first receiving time at which the first to-be-positioned node receives a fine timing measurement response frame.
(61) The obtaining unit 11 is further configured to obtain second time information of a second to-be-positioned node, where the second time information includes a second receiving time at which the second to-be-positioned node receives the fine timing measurement action frame and a sending time at which the second to-be-positioned node sends the fine timing measurement response frame.
(62) The obtaining unit 11 is further configured to obtain position information of at least three collaborative nodes with known positions and third time information of the at least three collaborative nodes with known positions, where the third time information includes receiving time at which the at least three collaborative nodes receive the fine timing measurement action frame and receiving time at which the at least three collaborative nodes receive the fine timing measurement response frame.
(63) The determining unit 12 is configured to determine position information of the first to-be-positioned node and position information of the second to-be-positioned node according to the first time information, the second time information, the third time information, and the position information of the at least three collaborative nodes with known positions that are obtained by the obtaining unit 11.
(64) In an implementation, the determining unit 12 includes a first determining subunit 121, a second determining subunit 122, and a third determining subunit 123, as shown in
(65) The first determining subunit 121 is configured to determine a time of flight between the first to-be-positioned node and the second to-be-positioned node according to the first time information and the second time information. In an implementation, the first determining subunit calculates a time of flight TOF (U.sub.1−U.sub.2) between U.sub.1 and U.sub.2 according to Formula 1:
TOF(U.sub.1−U.sub.2)=((t.sub.4−t.sub.1)−(t.sub.3−t.sub.2))/2 (Formula 1),
where U.sub.1 indicates the first to-be-positioned node U.sub.1, U.sub.2 indicates the second to-be-positioned node U.sub.2, t.sub.1 indicates the sending time at which the first to-be-positioned node sends the fine timing measurement action frame, t.sub.2 indicates the second receiving time, t.sub.3 indicates the sending time at which the second to-be-positioned node sends the fine timing measurement response frame, and t.sub.4 indicates the first receiving time.
(66) The second determining subunit 122 is configured to determine a time of flight difference between a time of flight between each of the at least three collaborative nodes with known positions and the first to-be-positioned node, and a time of flight between each of the at least three collaborative nodes with known positions and the second to-be-positioned node according to the time of flight between the first to-be-positioned node and the second to-be-positioned node, the first time information, and the third time information, where the time of flight difference includes a difference between a time of flight between any one of the at least three collaborative nodes with known positions and the first to-be-positioned node, and a time of flight between the any collaborative node and the second to-be-positioned node.
(67) In an implementation, the second determining subunit 122 obtains the difference between the time of flight between the any collaborative node S.sub.N and the first to-be-positioned node U.sub.1, and the time of flight between S.sub.N and the second to-be-positioned node U.sub.2 according to the following Formula 2:
TOF(U.sub.1−S.sub.N)−TOF(U.sub.2−S.sub.N)=t.sub.2_S.sub.N−t.sub.3_S.sub.N+(t.sub.4−t.sub.1)−TOF(U.sub.1−U.sub.2), (Formula 2)
where TOF(U.sub.1−U.sub.2) indicates the time of flight between the first to-be-positioned node and the second to-be-positioned node, TOF(U.sub.1−S.sub.N) indicates the time of flight between the any collaborative node S.sub.N and the first to-be-positioned node U.sub.1, TOF(U.sub.2−S.sub.N) indicates the time of flight between the any collaborative node S.sub.N and the second to-be-positioned node U.sub.2, t.sub.2_S.sub.N indicates a receiving time at which S.sub.N receives the fine timing measurement action frame, and t.sub.3_S.sub.N indicates a receiving time at which S.sub.N receives the fine timing measurement response frame.
(68) The third determining subunit 123 is configured to determine the position information of the first to-be-positioned node and the position information of the second to-be-positioned node according to the time of flight difference, the position information of the at least three collaborative nodes with known positions, and the time of flight between the first to-be-positioned node and the second to-be-positioned node.
(69) In an implementation, the third determining subunit calculates coordinates of U1 and coordinates of U2 according to Formula 3 and Formula 4, where in this embodiment of this application, the coordinates of U.sub.1 are used to represent position information of U.sub.1, and the coordinates of U.sub.2 are used to represent position information of U.sub.2:
√{square root over ((a.sub.N−x.sub.1).sup.2+(b.sub.N−y.sub.1).sup.2)}−√{square root over ((a.sub.N−x.sub.2).sup.2+(b.sub.N−y.sub.2).sup.2)}=(TOF(U.sub.1−S.sub.N)−TOF(U.sub.2−S.sub.N))*c, (Formula 3)
√{square root over ((x.sub.2−x.sub.1).sup.2+(y.sub.2−y.sub.1).sup.2)}=TOF(U.sub.1−U.sub.2)*c. (Formula 4)
(70) By calculating the coordinates of U1 and the coordinates of U2 according to Formula 1, Formula 2, Formula 3, and Formula 4, the determining unit can eliminate an error caused because internal clocks of the first to-be-positioned node, the second to-be-positioned node, and the at least three collaborative nodes with known positions cannot be aligned, thereby improving calculation precision.
(71) It can be learned from the foregoing technical solution that the position information of the first to-be-positioned node and the position information of the second to-be-positioned node can be obtained by using one FTM handshake between the first to-be-positioned node and the second to-be-positioned node. In this case, when there are N to-be-positioned nodes, if N is an even number, the N to-be-positioned nodes may obtain their position information by using N/2 FTM handshakes between the N to-be-positioned nodes; or if N is an odd number, the N to-be-positioned nodes may obtain their position information by using (N/2)+1 FTM handshakes between the N to-be-positioned nodes. Compared with the prior art in which position information of N to-be-positioned nodes are obtained by using 2N FTM handshakes, in this application, a quantity of FTM handshakes is decreased. Therefore, signaling overheads in a network are reduced.
(72) In this embodiment of this application, the positioning apparatus shown in
(73) The node determining unit 13 is configured to determine the second to-be-positioned node that performs fine timing measurement with the first to-be-positioned node. In this embodiment of this application, implementations of determining the second to-be-positioned node by the node determining unit 13 include but are not limited to the following two implementations:
(74) In one implementation, the node determining unit 13 is configured to: make the sending unit 111 send a signaling request to a management node; obtain a response message sent by the management node and received by the receiving unit 112, where the signaling request is used to request to perform fine timing measurement; and determine the second to-be-positioned node when the response message is used to instruct to perform fine timing measurement between the first to-be-positioned node and the second to-be-positioned node.
(75) In another implementation, the node determining unit 13 is configured to: make the sending unit 111 send a ranging request in a broadcast mode, and obtain a ranging response message sent by the second to-be-positioned node and received by the receiving unit 112, to determine the second to-be-positioned node.
(76) An implementation of obtaining the first time information of the first to-be-positioned node by the obtaining unit 11 is: The sending unit 111 sends the fine timing measurement action frame, the obtaining subunit 113 obtains the sending time of the timing measurement action frame, the receiving unit 112 receives the fine timing measurement response frame sent by the second to-be-positioned node, and the obtaining subunit 113 obtains the first receiving time.
(77) An implementation of obtaining the second time information of the second to-be-positioned node by the obtaining unit 11 is: The receiving unit 112 receives the second time information sent by the second to-be-positioned node.
(78) An implementation of obtaining the position information of the at least three collaborative nodes with known positions and the third time information of the at least three collaborative nodes with known positions by the obtaining unit 11 is: The receiving unit 112 receives the position information of the at least three collaborative nodes and the third time information that are sent by the at least three collaborative nodes.
(79) The sending unit 111 is further configured to send the position information of the second to-be-positioned node to the second to-be-positioned node.
(80) It can be learned from the foregoing technical solution that the first to-be-positioned node can calculate the position information of the first to-be-positioned node and the second to-be-positioned node, thereby reducing a calculation amount of the second to-be-positioned node.
(81) In this embodiment of this application, the positioning apparatus shown in
(82) An implementation of obtaining the second time information of the second to-be-positioned node by the obtaining unit 11 is: The receiving unit 115 receives the fine timing measurement action frame sent by the first to-be-positioned node, the obtaining subunit 116 obtains the second receiving time, the sending unit 114 sends the fine timing measurement response frame, and the obtaining subunit 116 is further configured to obtain the sending time of the fine timing measurement response frame.
(83) An implementation of obtaining the first time information of the first to-be-positioned node by the obtaining unit 11 is: The receiving unit 115 receives the first time information sent by the first to-be-positioned node.
(84) An implementation of obtaining the position information of the at least three collaborative nodes with known positions and the third time information of the at least three collaborative nodes with known positions by the obtaining unit 11 is: The receiving unit 115 receives the position information of the at least three collaborative nodes and the third time information that are sent by the at least three collaborative nodes.
(85) The sending unit 114 is further configured to send the position information of the first to-be-positioned node to the first to-be-positioned node.
(86) It can be learned from the foregoing technical solution that the second to-be-positioned node can calculate the position information of the second to-be-positioned node and the first to-be-positioned node, thereby reducing a calculation amount of the first to-be-positioned node.
(87) In this embodiment of this application, the positioning apparatus shown in
(88) An implementation of obtaining the first time information of the first to-be-positioned node by the obtaining unit 11 is: The receiving unit 117 receives the first time information sent by the first to-be-positioned node.
(89) An implementation of obtaining the second time information of the second to-be-positioned node by the obtaining unit 11 is: The receiving unit 117 receives the second time information sent by the second to-be-positioned node.
(90) An implementation of obtaining the position information of the at least three collaborative nodes with known positions and the third time information of the at least three collaborative nodes with known positions by the obtaining unit 11 is: The obtaining subunit 118 obtains position information of the any collaborative node; the receiving unit 117 receives the fine timing measurement action frame sent by the first to-be-positioned node, and the obtaining subunit 118 obtains a receiving time at which the any collaborative node receives the fine timing measurement action frame; the receiving unit 117 receives the fine timing measurement response frame sent by the second to-be-positioned node, and the obtaining subunit obtains a receiving time at which the any collaborative node receives the fine timing measurement response frame; and the receiving unit 117 receives position information of other collaborative nodes of the at least three collaborative nodes, receiving time at which the other collaborative nodes receive the fine timing measurement action frame, and receiving time at which the other collaborative nodes receive the fine timing measurement response frame.
(91) The sending unit 14 is configured to: send the position information of the first to-be-positioned node to the first to-be-positioned node, and send the position information of the second to-be-positioned node to the second to-be-positioned node.
(92) It can be learned from the foregoing technical solution that, the any one of the at least three collaborative nodes with known positions can calculate the position information of the first to-be-positioned node and the second to-be-positioned node, and after calculating the position information, send the position information of the first to-be-positioned node to the first to-be-positioned node and send the position information of the second to-be-positioned node to the second to-be-positioned node, thereby reducing calculation amounts of the first to-be-positioned node and the second to-be-positioned node.
(93) In this embodiment of this application, the positioning apparatus shown in
(94) An implementation of obtaining the first time information of the first to-be-positioned node by the obtaining unit 11 is: The obtaining unit 11 is configured to receive the first time information sent by the first to-be-positioned node.
(95) An implementation of obtaining the second time information of the second to-be-positioned node by the obtaining unit 11 is: The obtaining unit 11 is configured to receive the second time information sent by the second to-be-positioned node.
(96) An implementation of obtaining the position information of the at least three collaborative nodes with known positions and the third time information of the at least three collaborative nodes with known positions by the obtaining unit 11 is: The obtaining unit 11 is configured to receive the position information of the at least three collaborative nodes and the third time information that are sent by the at least three collaborative nodes.
(97) The sending unit 15 is configured to: send the position information of the first to-be-positioned node to the first to-be-positioned node, and send the position information of the second to-be-positioned node to the second to-be-positioned node.
(98) It can be learned from the foregoing technical solution that, the management node can calculate the position information of the first to-be-positioned node and the second to-be-positioned node, and after calculating the position information, send the position information of the first to-be-positioned node to the first to-be-positioned node and send the position information of the second to-be-positioned node to the second to-be-positioned node, thereby reducing calculation amounts of the first to-be-positioned node and the second to-be-positioned node.
(99) In addition, with reference to the collaborative positioning framework shown in
(100) The processor 24 is configured to: obtain first time information of a first to-be-positioned node, second time information of a second to-be-positioned node, position information of at least three collaborative nodes with known positions, and third time information of the at least three collaborative nodes with known positions; and determine position information of the first to-be-positioned node and position information of the second to-be-positioned node according to the obtained first time information, second time information, third time information, and position information of the at least three collaborative nodes with known positions.
(101) The third time information includes receiving time at which the at least three collaborative nodes receive a fine timing measurement action frame and receiving time at which the at least three collaborative nodes receive a fine timing measurement response frame. The first time information includes a sending time at which the first to-be-positioned node sends the fine timing measurement action frame and a first receiving time at which the first to-be-positioned node receives the fine timing measurement response frame. The second time information includes a second receiving time at which the second to-be-positioned node receives the fine timing measurement action frame and a sending time at which the second to-be-positioned node sends the fine timing measurement response frame.
(102) The memory 23 is configured to store the first time information of the first to-be-positioned node, the second time information of the second to-be-positioned node, the position information of the at least three collaborative nodes with known positions, and the third time information of the at least three collaborative nodes with known positions.
(103) In this embodiment of this application, an implementation of determining, by the processor 24, the position information of the first to-be-positioned node and the position information of the second to-be-positioned node according to the obtained first time information, second time information, third time information, and position information of the at least three collaborative nodes with known positions is described in the following. The processor 24 determines a time of flight between the first to-be-positioned node and the second to-be-positioned node according to the first time information and the second time information; determines a time of flight difference between a time of flight between each of the at least three collaborative nodes with known positions and the first to-be-positioned node, and a time of flight between each of the at least three collaborative nodes with known positions and the second to-be-positioned node according to the time of flight between the first to-be-positioned node and the second to-be-positioned node, the first time information, and the third time information, where the time of flight difference includes a difference between a time of flight between any one of the at least three collaborative nodes with known positions and the first to-be-positioned node, and a time of flight between the any collaborative node and the second to-be-positioned node; and determines the position information of the first to-be-positioned node and the position information of the second to-be-positioned node according to the time of flight difference, the position information of the at least three collaborative nodes with known positions, and the time of flight between the first to-be-positioned node and the second to-be-positioned node.
(104) In an implementation, the processor 24 calculates a time of flight TOF (U.sub.1−U.sub.2) between U1 and U2 according to Formula 1:
TOF(U.sub.1−U.sub.2)=((t.sub.4−t.sub.1)−(t.sub.3−t.sub.2))/2 (Formula 1),
where U.sub.1 indicates the first to-be-positioned node U.sub.1, U.sub.2 indicates the second to-be-positioned node U.sub.2, t.sub.1 indicates the sending time at which the first to-be-positioned node sends the fine timing measurement action frame, t.sub.2 indicates the second receiving time, t.sub.3 indicates the sending time at which the second to-be-positioned node sends the fine timing measurement response frame, and t.sub.4 indicates the first receiving time.
(105) In an implementation, the processor 24 obtains the difference between the time of flight between the any collaborative node S.sub.N and the first to-be-positioned node U.sub.1, and the time of flight between S.sub.N and the second to-be-positioned node U.sub.2 according to the following Formula 2:
TOF(U.sub.1−S.sub.N)−TOF(U.sub.2−S.sub.N)=t.sub.2_S.sub.N−t.sub.3_S.sub.N+(t.sub.4−t.sub.1)−TOF(U.sub.1−U.sub.2), (Formula 2)
where TOF(U.sub.1−U.sub.2) indicates the time of flight between the first to-be-positioned node and the second to-be-positioned node, TOF(U.sub.1−S.sub.N) indicates the time of flight between the any collaborative node S.sub.N and the first to-be-positioned node U.sub.1, TOF(U.sub.2−S.sub.N) indicates the time of flight between the any collaborative node S.sub.N and the second to-be-positioned node U.sub.2, t.sub.2_S.sub.N indicates a receiving time at which S.sub.N receives the fine timing measurement action frame, and t.sub.3_S.sub.N indicates a receiving time at which S.sub.N receives the fine timing measurement response frame.
(106) In an implementation, the processor 24 calculates coordinates of U1 and coordinates of U2 according to Formula 3 and Formula 4, where in this embodiment of this application, the coordinates of U1 are used to represent position information of U1, and the coordinates of U2 are used to represent position information of U2:
√{square root over ((a.sub.N−x.sub.1).sup.2+(b.sub.N−y.sub.1).sup.2)}−√{square root over ((a.sub.N−x.sub.2).sup.2+(b.sub.N−y.sub.2).sup.2)}=(TOF(U.sub.1−S.sub.N)−TOF(U.sub.2−S.sub.N))*c, (Formula 3)
√{square root over ((x.sub.2−x.sub.1).sup.2+(y.sub.2−y.sub.1).sup.2)}=TOF(U.sub.1−U.sub.2)*c. (Formula 4)
(107) By calculating the coordinates of U1 and the coordinates of U2 according to Formula 1, Formula 2, Formula 3, and Formula 4, when calculating the coordinates of the first to-be-positioned node and the coordinates of the second to-be-positioned node, the processor 24 can eliminate an error caused because internal clocks of the first to-be-positioned node, the second to-be-positioned node, and the at least three collaborative nodes with known positions cannot be aligned, thereby improving calculation precision.
(108) It can be learned from the foregoing technical solution that the position information of the first to-be-positioned node and the position information of the second to-be-positioned node can be obtained by using one FTM handshake between the first to-be-positioned node and the second to-be-positioned node. In this case, when there are N to-be-positioned nodes, if N is an even number, the N to-be-positioned nodes may obtain their position information by using N/2 FTM handshakes between the N to-be-positioned nodes; or if N is an odd number, the N to-be-positioned nodes may obtain their position information by using (N/2)+1 FTM handshakes between the N to-be-positioned nodes. Compared with the prior art in which position information of N to-be-positioned nodes are obtained by using 2N FTM handshakes, in this application, a quantity of FTM handshakes is decreased. Therefore, signaling overheads in a network are reduced.
(109) In an implementation, the positioning device is the first to-be-positioned node in
(110) In addition, the processor 24 is further configured to determine the second to-be-positioned node that performs fine timing measurement with the first to-be-positioned node. In this embodiment of this application, implementations of determining, by the processor 24, the second to-be-positioned node that performs fine timing measurement with the first to-be-positioned node include but are not limited to the following two implementations.
(111) In one implementation, the processor 24 makes the transmitter 21 send a signaling request to a management node; obtains a response message sent by the management node and received by the receiver 22, where the signaling request is used to request to perform fine timing measurement; and determines the second to-be-positioned node when the response message is used to instruct to perform fine timing measurement between the first to-be-positioned node and the second to-be-positioned node.
(112) In another implementation, the processor 24 makes the transmitter 21 send a ranging request in a broadcast mode, and obtains a ranging response message sent by the second to-be-positioned node and received by the receiver 22, to determine the second to-be-positioned node.
(113) The transmitter 21 is configured to send the position information of the second to-be-positioned node to the second to-be-positioned node.
(114) It can be learned from the foregoing technical solution that the first to-be-positioned node can calculate the position information of the first to-be-positioned node and the second to-be-positioned node, thereby reducing a calculation amount of the second to-be-positioned node.
(115) In an implementation, the positioning device is the second to-be-positioned node in
(116) The transmitter 21 is further configured to send the position information of the first to-be-positioned node to the first to-be-positioned node.
(117) It can be learned from the foregoing technical solution that the second to-be-positioned node can calculate the position information of the second to-be-positioned node and the first to-be-positioned node, thereby reducing a calculation amount of the first to-be-positioned node.
(118) In an implementation, the positioning device is any one of the at least three collaborative nodes with known positions in
(119) The transmitter 21 is configured to: send the position information of the first to-be-positioned node to the first to-be-positioned node, and send the position information of the second to-be-positioned node to the second to-be-positioned node.
(120) It can be learned from the foregoing technical solution that, the any one of the at least three collaborative nodes with known positions can calculate the position information of the first to-be-positioned node and the second to-be-positioned node, and after calculating the position information, send the position information of the first to-be-positioned node to the first to-be-positioned node and send the position information of the second to-be-positioned node to the second to-be-positioned node, thereby reducing calculation amounts of the first to-be-positioned node and the second to-be-positioned node.
(121) In an implementation, the positioning device may be the management node in
(122) The transmitter 21 is configured to: send the position information of the first to-be-positioned node to the first to-be-positioned node, and send the position information of the second to-be-positioned node to the second to-be-positioned node.
(123) It can be learned from the foregoing technical solution that, the management node can calculate the position information of the first to-be-positioned node and the second to-be-positioned node, and after calculating the position information, send the position information of the first to-be-positioned node to the first to-be-positioned node and send the position information of the second to-be-positioned node to the second to-be-positioned node, thereby reducing calculation amounts of the first to-be-positioned node and the second to-be-positioned node.
(124) In addition, an embodiment of this application further provides a storage medium, where the storage medium records program code used for executing a positioning method by any one or more of the first to-be-positioned node, the second to-be-positioned node, the any one of at least three collaborative nodes with known positions, or the management node.
(125) The embodiments in this specification are all described in a progressive manner. Each embodiment focuses on a difference from other embodiments. For same or similar parts in the embodiments, mutual reference may be made between these embodiments.
(126) The embodiments disclosed above are described to make a person skilled in the art implement or use the present disclosure. Various modifications to the embodiments are obvious to the person skilled in the art, and general principles defined in this specification may be implemented in other embodiments without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to these embodiments illustrated in this specification, but shall be construed in the widest scope consistent with the principles and novel features disclosed in this specification.