Positioning method and related apparatus

Through the positioning method of division of labor between the main node and the auxiliary node, the wireless network is used to transmit parameters and ranging information, which solves the problem of rapid and accurate determination of the location of the node to be positioned under multiple positioning nodes of the vehicle, and improves the response speed of functions such as sensorless unlocking. and user experience.

WO2024212768A1PCT designated stage expired Publication Date: 2024-10-17HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/082309
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-14
Filing Date
2024-03-18
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

When existing vehicles have many positioning nodes, it is difficult to quickly and accurately determine the location of external nodes to be positioned, which affects the response speed of functions such as sensorless unlocking and automatic parking.

Method used

The positioning method uses the division of labor between the master node and the slave node. The master node establishes a connection with the node to be positioned and transmits parameters and ranging information through the wireless network. The slave node reuses the connection of the master node to communicate with the node to be positioned for ranging. The master node summarizes Data to determine the location of the node to be located.

Benefits of technology

It improves the speed and accuracy of the vehicle's positioning of pending positioning nodes, reduces user waiting time, and enhances the response speed and user experience of functions such as senseless unlocking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024082309_17102024_PF_FP_ABST
    Figure CN2024082309_17102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a positioning method and a related apparatus. The present application provides a method for a vehicle to position a node to be positioned by means of a plurality of positioning nodes. The positioning nodes may be divided into a main node and an auxiliary node. The main node in the vehicle may establish a connection to the node to be positioned, and the auxiliary node may use the connection established by the main node to communicate with the node to be positioned and perform ranging. Furthermore, the vehicle may determine, according to a ranging result of the auxiliary node, the position of the node to be positioned. Finally, the vehicle may provide one or more functions for a user according to the position of the node to be positioned. By implementing the technical solution provided by the present application, the vehicle may more quickly and accurately acquire the position of the node to be positioned, thereby providing a corresponding function for the user, and reducing the waiting time of the user.
Need to check novelty before this filing date? Find Prior Art

Description

A positioning method and related device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on April 14, 2023, with application number 202310456029.X, and priority to the Chinese patent application entitled “A positioning method and related device”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present application relates to the field of positioning technology, and in particular to a positioning method and related devices. Background Art

[0003] Currently, vehicles often require external positioning nodes to enable features such as touchless unlocking, automatic parking, and automatic locking. Vehicles may contain one or more positioning nodes, which are used to locate external nodes. Each positioning node can be located at a different location within the vehicle. For vehicles with multiple positioning nodes, how to quickly and accurately determine the location of the external nodes is a pressing issue.

[0004] Summary of the Invention

[0005] This application provides a positioning method and related apparatus. Positioning nodes in a vehicle can be divided into primary and secondary nodes. The primary node can establish a connection with the node to be located, and the secondary node can use the connection established by the primary node to communicate with and measure the distance to the node to be located. Using this method, the vehicle can more quickly and accurately obtain the location of the node to be located, thereby providing users with corresponding functions, reducing user waiting time, and improving the user experience.

[0006] In a first aspect, the present application provides a positioning method, which is applied to a vehicle, the vehicle including a main node and one or more auxiliary nodes, the main node and the one or more auxiliary nodes communicating through a first connection, the method including: the main node establishing a second connection with a node to be located, the second connection being a wireless network connection; the main node receiving first data from one or more auxiliary nodes through the first connection, the first data including first ranging information obtained by one or more auxiliary nodes measuring the distance with the node to be located through the second connection; the main node determining the position of the node to be located based on the first data.

[0007] Among them, the main node and auxiliary node on the vehicle are collectively referred to as positioning nodes. The node to be located may include the user's electronic device. The data transmission method of the second connection may include but is not limited to: Bluetooth, Star Flash, and wireless local area network. The first ranging information may be obtained after one or more auxiliary nodes measure the distance with the node to be located. The first ranging information may include intermediate data obtained after one or more auxiliary nodes measure the distance with the node to be located, and may also include one or more distances obtained after one or more auxiliary nodes measure the distance with the node to be located. Among them, the second connection can communicate in a point-to-point manner. The vehicle can provide the user with corresponding functions when the position of the node to be located meets the first condition. Among them, the above functions may include sensorless unlocking, automatic car locking, etc.

[0008] As you can understand, when a vehicle locates a node to be located, only the primary node needs to establish a connection with the node to be located. The secondary node can reuse the connection established between the primary node and the node to be located. This method can reduce the time it takes for the vehicle to locate the node to be located, allowing the vehicle to provide corresponding services to users more quickly and improving the user experience.

[0009] In combination with the first aspect, in some embodiments, the positioning method further includes: the master node obtains a first parameter from the node to be located through the second connection, and the first parameter is used for one or more slave nodes to communicate with the node to be located through the second connection; the master node sends the first parameter to the one or more slave nodes.

[0010] In combination with the first aspect, in some embodiments, the first parameter includes one or more of the following: a frequency point, a frequency hopping sequence, and a key of the second connection.

[0011] The first parameter may be a connection parameter of the second connection. The first parameter may include the frequency, hopping sequence, and key of the second connection. One or more secondary nodes need to receive the first parameter sent by the primary node so that they can use the second connection to communicate with the node to be located and measure the distance. When the second connection uses Bluetooth communication, the first parameter may also include one or more of the media access control bit address of the primary node, the media access control bit address of the secondary node, and the media access control bit address of the node to be located. When the data transmission mode of the second connection is different, the first parameter may include different parameters.

[0012] In combination with the first aspect, in some embodiments, the positioning method further includes: the master node determines first clock information with the node to be positioned through a second connection, and the first clock information is used to indicate that the node to be positioned communicates with the master node or one or more slave nodes in a first time period.

[0013] The first clock information may be determined by the master node and the node to be located through negotiation over the second connection. The first clock information corresponds to a first time period. The first time period may be an idle time period of the node to be located.

[0014] It is understood that after the master node and the node to be located negotiate and determine the first clock information, the node to be located can determine, based on the first clock information, that it will communicate with the master node or one or more slave nodes during a first time period. The node to be located can remain idle during the first time period. This prevents the node to be located from being unable to respond to the master node or one or more slave nodes in a timely manner due to being busy while the master node or one or more slave nodes are communicating and measuring distance with the node to be located, thereby affecting the accuracy of the ranging.

[0015] Optionally, the master node may determine a first ranging parameter with the node to be located via a second connection. The first ranging parameter may include a first ranging method. The master node may send the first ranging parameter to one or more secondary nodes. The one or more secondary nodes may communicate with the node to be located and perform ranging based on the first ranging parameter.

[0016] It is understandable that the master node can determine the ranging parameters with the node to be located. In this way, the auxiliary node can use the ranging parameters determined by the master node to measure the distance with the node to be located, thereby improving the efficiency of the ranging between the auxiliary node and the node to be located.

[0017] With reference to the first aspect, in some embodiments, the first ranging information includes one or more distances obtained by ranging between one or more auxiliary nodes and the node to be located.

[0018] Taking any one of one or more secondary nodes as an example, after the secondary node performs distance measurement with the node to be located, the secondary node and the node to be located can each obtain a portion of intermediate data. The node to be located can send the intermediate data it obtained to the secondary node. The secondary node can determine the distance between itself and the node to be located based on the intermediate data. In this way, the first ranging information received by the primary node may include the distance between the secondary node and the node to be located, calculated by the secondary node after the secondary node and the node to be located communicate and measure the distance.

[0019] In combination with the first aspect, in some embodiments, the first data also includes second ranging information obtained by the node to be located through a second connection to measure the distance between the node to be located and one or more auxiliary nodes. The method also includes: the master node receives the second ranging information from the node to be located through the second connection; the master node determines one or more distances between the one or more auxiliary nodes and the node to be located based on the first ranging information and the second ranging information.

[0020] Taking any one of one or more secondary nodes as an example, the first ranging information may include intermediate data obtained by the secondary node after the secondary node measures the distance with the node to be located. The second ranging information may include intermediate data obtained by the node to be located after the secondary node measures the distance with the node to be located. The secondary node may send the first ranging information to the primary node, and the node to be located may send the second ranging information to the primary node. In this way, the primary node can determine the distance between the secondary node and the node to be located based on the intermediate data obtained by the ranging between the secondary node and the node to be located.

[0021] It is understood that after the auxiliary node and the node to be located perform ranging, both nodes can obtain a portion of intermediate data. The auxiliary node can summarize the intermediate data to determine the position between the auxiliary node and the node to be located. Alternatively, the primary node can summarize the intermediate data and determine the position between the auxiliary node and the node to be located. This can reduce the computational workload of the processing units of one or more auxiliary nodes, allowing the primary node to perform ranging and positioning operations, thereby reducing the overall cost of deploying positioning nodes.

[0022] In combination with the first aspect, in some embodiments, one or more auxiliary nodes include a first auxiliary node and a second auxiliary node, the first time period includes a second time period and a third time period, and the method further includes: the master node sends second clock information to the first auxiliary node, and the second clock information is used to indicate that the first auxiliary node communicates with the node to be located through the second connection in the second time period; the master node sends third clock information to the second auxiliary node, and the third clock information is used to indicate that the second auxiliary node communicates with the node to be located through the second connection in the third time period, and the end time of the second time period is earlier than the start time of the third time period.

[0023] The first auxiliary node may also be referred to as auxiliary node 1, and the second auxiliary node may also be referred to as auxiliary node 2. The second clock information corresponds to the second time period. The third clock information corresponds to the third time period. The first time period negotiated and determined by the master node and the node to be located is a larger time period. The master node may divide the first time period corresponding to the first clock information into a second time period and a third time period. The master node may then allocate the second time period to the first auxiliary node and the third time period to the second auxiliary node.

[0024] It is understood that the master node can assign different time periods to the slave nodes. During each time period, only one slave node communicates with the node to be located and measures the distance. This prevents conflicts caused by simultaneous communication between the slave node and the node to be located, which could affect the accuracy of the slave node's ranging.

[0025] In combination with the first aspect, in some embodiments, the first ranging information includes third ranging information obtained by the first secondary node through the second connection to measure the distance between the node to be located, and fourth ranging information obtained by the second secondary node through the second connection to measure the distance between the node to be located, and the primary node receives the first data from one or more secondary nodes through the first connection, including: the primary node receives the third ranging information from the first secondary node through the first connection, and the primary node receives the fourth ranging information from the second secondary node through the first connection.

[0026] In combination with the first aspect, in some embodiments, the third ranging information includes a first distance between the first auxiliary node and the node to be located, and the fourth ranging information includes a second distance between the second auxiliary node and the node to be located.

[0027] In combination with the first aspect, in some embodiments, the first data also includes fifth ranging information obtained by the node to be located through the second connection and the first auxiliary node ranging, and sixth ranging information obtained by the node to be located through the second connection and the second auxiliary node ranging. The method also includes: the master node receives the fifth ranging information from the node to be located through the second connection; the master node determines the first distance between the first auxiliary node and the node to be located based on the third ranging information and the fifth ranging information; the master node receives the sixth ranging information from the node to be located through the second connection; the master node determines the second distance between the second auxiliary node and the node to be located based on the fourth ranging information and the sixth ranging information.

[0028] After the first auxiliary node measures the distance with the node to be located, the first auxiliary node can obtain intermediate data C, and the node to be located can obtain intermediate data D. After the second auxiliary node measures the distance with the node to be located, the second auxiliary node can obtain intermediate data E, and the node to be located can obtain intermediate data F.

[0029] Optionally, the node to be located may send intermediate data D to the first secondary node. The first secondary node may determine a first distance between the first secondary node and the node to be located based on the intermediate data. The node to be located may send intermediate data E to the second secondary node. The second secondary node may determine a second distance between the second secondary node and the node to be located based on the intermediate data. The third ranging information then includes the first distance, and the fourth ranging information includes the second distance. In this way, the third and fourth ranging information received by the master node include the distances calculated by the secondary nodes.

[0030] Optionally, the first auxiliary node can send intermediate data C to the main node, and the node to be located can send intermediate data D to the main node. The second auxiliary node can send intermediate data E to the main node, and the node to be located can send intermediate data F to the main node. Then the third ranging information includes intermediate data C; the fourth ranging information includes intermediate data E; the fifth ranging information includes intermediate data D; and the sixth ranging information includes intermediate data F. The main node can determine the first distance based on the third ranging information and the fifth ranging information, and determine the second distance based on the second ranging information and the sixth ranging information. In this embodiment, what the main node receives is not the distance calculated by the auxiliary node, but the intermediate data obtained after the auxiliary node and the node to be located are measured. The main node needs to determine the distance between the first auxiliary node and the node to be located, and the distance between the second auxiliary node and the node to be located based on the intermediate data.

[0031] It is understandable that after the auxiliary node measures the distance with the node to be located, the main node can determine the distance between the auxiliary node and the node to be located, as well as the position of the node to be located. In this way, the total cost of deploying positioning nodes can be reduced.

[0032] In combination with the first aspect, in some embodiments, the master node determines the position of the node to be located based on the first data, including: the master node determines the position of the node to be located based on the first distance and the second distance.

[0033] In combination with the first aspect, in some embodiments, the first data also includes a third distance between the master node and the node to be located, and the method further includes: the master node obtains seventh ranging information by measuring the distance with the node to be located through the second connection; the master node receives eighth ranging information from the node to be located; and the master node determines the third distance based on the seventh ranging information and the eighth ranging information.

[0034] In combination with the first aspect, in some embodiments, the master node determines the position of the node to be located based on the first data, including: the master node determines the position of the node to be located based on the first distance, the second distance, and the third distance.

[0035] The first distance may be referred to as distance L2, the second distance may be referred to as distance L3, and the third distance may be referred to as distance L1. The position of the node to be located may include: the distance between the node to be located and the vehicle and / or the azimuth angle of the node to be located relative to the vehicle.

[0036] It is understandable that the master node itself may also have a ranging module, and the master node may also perform ranging with the node to be located. In this way, the master node can determine the position of the node to be located based on the distances between more positioning nodes and the node to be located, thereby improving the accuracy of positioning.

[0037] In combination with the first aspect, in some embodiments, the positioning method further includes: the master node sending the position of the node to be positioned to the node to be positioned.

[0038] It is understood that after determining the location of the node to be located, the master node may also send the location of the node to be located to the node to be located. In this way, the node to be located can determine the distance between itself and the vehicle and / or the vehicle's azimuth angle relative to itself. Furthermore, the node to be located can notify the user of the vehicle's location by displaying a user interface, voice broadcasting, etc.

[0039] In a second aspect, the present application provides a positioning method, which is applied to a vehicle, the vehicle including a main node and a first auxiliary node, the main node and the first auxiliary node communicating through a first connection, the main node and the node to be located establishing a second connection, the second connection being a wireless network connection, the positioning method including: the first auxiliary node receiving a first parameter from the main node through the first connection; the first auxiliary node communicating with the node to be located through the second connection based on the first parameter, the first auxiliary node and the node to be located measuring the distance to obtain ninth ranging information, the ninth ranging information being used to determine the position of the node to be located.

[0040] The first auxiliary node may be referred to as auxiliary node 1. The data transmission method of the second connection may include, but is not limited to, Bluetooth, StarFlash, and wireless local area network. The master node may establish a second connection with the node to be located and determine connection parameters for the second connection. The first parameters may include the connection parameters for the second connection. After receiving the first parameters, the first auxiliary node may communicate and measure the distance with the node to be located via the second connection. The ninth ranging information may include intermediate data C obtained after the first auxiliary node communicates and measures the distance with the node to be located.

[0041] It is understandable that when a vehicle locates a node to be located, only the primary node needs to establish a connection with the node to be located, and the secondary node can reuse the connection established between the primary node and the node to be located. In this way, the speed of ranging between the secondary node and the node to be located can be improved.

[0042] In combination with the second aspect, in some embodiments, before the first auxiliary node communicates with the node to be located through the second connection according to the first parameter, the method also includes: the first auxiliary node receives second clock information sent by the master node, the second clock information includes a second time period; the first auxiliary node determines that the time is in the second time period.

[0043] It is understood that the first slave node can receive the second clock information determined by the master node and, after determining that the time reaches the second time period corresponding to the second clock information, communicate with the node to be located and perform ranging. This can avoid conflicts with the ranging time of other slave nodes, which could affect ranging accuracy.

[0044] Optionally, the positioning method further includes: the first auxiliary node receiving a first ranging parameter from the master node, where the first ranging parameter may include a first ranging method. Distinguishing between the first auxiliary node and the node to be located specifically includes: the first auxiliary node measuring the distance between the node to be located and the node to be located based on the first ranging parameter. Alternatively, the first auxiliary node determines a second ranging parameter with the node to be located through a second connection, where the second ranging parameter may include a second ranging method. Distinguishing between the first auxiliary node and the node to be located specifically includes: the first auxiliary node measuring the distance between the node to be located and the node to be located based on the second ranging parameter.

[0045] It is understood that the first auxiliary node can receive the ranging parameters negotiated between the master node and the node to be located, and communicate and measure the distance with the node to be located according to the ranging parameters negotiated by the master node. This can improve the efficiency of ranging between the first auxiliary node and the node to be located. Alternatively, the first auxiliary node can negotiate the ranging parameters with the node to be located, and communicate and measure the distance with the node to be located according to the negotiated ranging parameters. In this way, the first auxiliary node can select an appropriate ranging method based on its own characteristics.

[0046] In combination with the second aspect, in some embodiments, the first secondary node sends ninth ranging information to the primary node through the first connection, where the ninth ranging information is used to determine a first distance between the first secondary node and the node to be located.

[0047] In combination with the second aspect, in some embodiments, the first auxiliary node receives the tenth ranging information sent by the node to be located, the tenth ranging information is obtained by the node to be located through the second connection and the first auxiliary node ranging, and the first auxiliary node determines the first distance between the first auxiliary node and the node to be located based on the ninth ranging information and the tenth ranging information; the first auxiliary node sends the first distance to the master node through the first connection.

[0048] It is understood that the first secondary node may send the ninth ranging information to the primary node, and the node to be located may send the tenth ranging information to the primary node. In this way, the primary node can determine the first distance based on the ninth and tenth ranging information. The tenth ranging information may include intermediate data D. Alternatively, the first secondary node may receive the tenth ranging information from the node to be located, determine the first distance, and then send it to the primary node.

[0049] In combination with the second aspect, in some embodiments, the first parameter includes one or more of the following: a frequency point, a frequency hopping sequence, and a key of the second connection.

[0050] It is understood that the first auxiliary node can communicate and measure the distance with the node to be located via the second connection based on the first parameter. The first parameter may include the frequency and / or frequency hopping sequence of the second connection. This allows the first auxiliary node to align its own channel with the channel of the node to be located. The first parameter may also include a key. When the first auxiliary node receives an encrypted message from the node to be located, it can decrypt the message using the key and extract information from it.

[0051] In a third aspect, the present application provides a communication device, which is applied to a vehicle, and the vehicle also includes one or more auxiliary nodes. The communication device includes: a communication unit, which is used to communicate with one or more auxiliary nodes through a first connection; the communication unit is also used to establish a second connection with the node to be located, and the second connection is a wireless network connection; the communication unit is also used to receive first data from one or more auxiliary nodes through the first connection, and the first data includes first ranging information obtained by one or more auxiliary nodes measuring the distance with the node to be located through the second connection; a processing unit is used to determine the position of the node to be located based on the first data.

[0052] In combination with the third aspect, in some embodiments, the communication unit is further used to obtain a first parameter from the node to be located through a second connection, and the first parameter is used for one or more auxiliary nodes to measure the distance from the node to be located through the second connection; the communication unit is also used to send the first parameter to one or more auxiliary nodes.

[0053] In combination with the third aspect, in some embodiments, the communication unit is further used to determine first clock information with the node to be located, where the first clock information is used to instruct the node to be located to communicate with the communication unit or one or more auxiliary nodes in a first time period.

[0054] In combination with the third aspect, in some embodiments, the first ranging information includes one or more distances between one or more auxiliary nodes and the node to be located.

[0055] In combination with the third aspect, in some embodiments, the first data also includes second ranging information obtained by the node to be located through a second connection to measure the distance between the node to be located and one or more auxiliary nodes. The communication unit is further used to receive the second ranging information from the node to be located through the second connection; the processing unit is further used to determine one or more distances between the one or more auxiliary nodes and the node to be located based on the first ranging information and the second ranging information.

[0056] In combination with the third aspect, in some embodiments, one or more auxiliary nodes include a first auxiliary node and a second auxiliary node, the first time period includes a second time period and a third time period, and the communication unit is further used to send second clock information to the first auxiliary node, and the second clock information is used to indicate that the first auxiliary node communicates with the node to be located through the second connection in the second time period; the communication unit is also used to send third clock information to the second auxiliary node, and the third clock information is used to indicate that the second auxiliary node communicates with the node to be located through the second connection in the third time period, and the end time of the second time period is earlier than the start time of the third time period.

[0057] In combination with the third aspect, in some embodiments, the first ranging information includes third ranging information obtained by the first auxiliary node through the second connection to measure the distance between the node to be located, and fourth ranging information obtained by the second auxiliary node through the second connection to measure the distance between the node to be located, and the communication unit receives the first data from one or more auxiliary nodes through the first connection, including: the communication unit receives the third ranging information from the first auxiliary node through the first connection; the communication unit receives the fourth ranging information from the second auxiliary node through the first connection.

[0058] In conjunction with the third aspect, in some embodiments, the third ranging information includes a first distance between the first auxiliary node and the node to be located, and the fourth ranging information includes a second distance between the second auxiliary node and the node to be located.

[0059] In combination with the third aspect, in some embodiments, the first data also includes fifth ranging information obtained by the node to be located by measuring the distance between the node to be located and the first auxiliary node through the second connection, and sixth ranging information obtained by the node to be located by measuring the distance between the node to be located and the second auxiliary node through the second connection. The communication unit is further used to receive the fifth ranging information and the sixth ranging information from the node to be located; the processing unit is further used to determine the first distance between the first auxiliary node and the node to be located based on the third ranging information and the fifth ranging information; the processing unit is further used to determine the second distance between the second auxiliary node and the node to be located based on the fourth ranging information and the sixth ranging information.

[0060] In combination with the third aspect, in some embodiments, the processing unit determines the position of the node to be located according to the first data, including: the processing unit determines the position of the node to be located according to the first distance and the second distance.

[0061] In combination with the third aspect, in some embodiments, the first data also includes a third distance between the communication device and the node to be located, and the communication device also includes a ranging unit, the ranging unit being configured to obtain seventh ranging information by ranging with the node to be located through the second connection; the communication unit is further configured to receive eighth ranging information from the node to be located; and the processing unit is further configured to determine the third distance based on the seventh ranging information and the eighth ranging information.

[0062] In combination with the third aspect, in some embodiments, the communication unit is further configured to send the position of the node to be located to the node to be located.

[0063] In combination with the third aspect, in some embodiments, the first parameter includes one or more of the following: a frequency point, a frequency hopping sequence, and a key of the second connection.

[0064] In a fourth aspect, the present application provides a communication device, which is applied to a vehicle, and the vehicle also includes a master node. The master node and the communication device communicate through a first connection, and the master node and the node to be located establish a second connection, and the second connection is a wireless network connection. The method includes: a communication unit, which is used to receive a first parameter from the master node through the first connection; the communication unit is also used to communicate with the node to be located through the second connection based on the first parameter; and a ranging unit, which is used to measure the distance with the node to be located through the second connection to obtain ninth ranging information, and the ninth ranging information is used to determine the position of the node to be located.

[0065] In combination with the fourth aspect, in some embodiments, before the communication unit communicates with the node to be located through the second connection according to the first parameter, it also includes: the communication unit receives second clock information sent by the master node, the second clock information includes a second time period; the processing unit determines that the time is in the second time period.

[0066] In combination with the fourth aspect, in some embodiments, the communication unit is further used to send ninth ranging information to the master node through the first connection, where the ninth ranging information is used to determine a first distance between the communication device and the node to be located.

[0067] In combination with the fourth aspect, in some embodiments, the communication unit is further used to receive tenth ranging information sent by the node to be located, where the tenth ranging information is obtained by the node to be located through the second connection and the ranging unit; the processing unit is further used to determine the first distance between the communication device and the node to be located based on the ninth ranging information and the tenth ranging information; the communication unit is further used to send the first distance to the master node through the first connection.

[0068] In combination with the fourth aspect, in some embodiments, the first parameter includes one or more of the following: a frequency point, a frequency hopping sequence, and a key of the second connection.

[0069] In a fifth aspect, the present application provides a vehicle, comprising a main node and one or more auxiliary nodes, wherein the main node is used to execute the method described in any one of the first aspects, and the auxiliary node is used to execute the method described in any one of the second aspects.

[0070] In a sixth aspect, the present application provides a vehicle, comprising a memory and a processor, wherein: the memory may store computer-executable instructions, and when the processor executes the computer-executable instructions, the vehicle may implement any possible implementation method of the above-mentioned first aspect.

[0071] In the seventh aspect, the present application provides a vehicle, which includes a memory and a processor, wherein: the memory can store computer-executable instructions, and when the processor executes the computer-executable instructions, the vehicle can implement any possible implementation method of the above-mentioned second aspect.

[0072] In an eighth aspect, the present application provides a computer-readable storage medium, which stores a computer program or computer instructions, and the aforementioned computer program or computer instructions are executed by a processor to implement any method described in the first aspect above.

[0073] In a ninth aspect, the present application provides a computer-readable storage medium storing a computer program or computer instructions, wherein the computer program or computer instructions are executed by a processor to implement the method described in any one of the second aspects above.

[0074] In a tenth aspect, an embodiment of the present application provides a computer program product. When the computer program product is executed by a processor, the method described in any one of the above-mentioned first aspects will be implemented.

[0075] In the eleventh aspect, an embodiment of the present application provides a computer program product. When the computer program product is executed by a processor, the method described in any one of the above-mentioned second aspects will be implemented.

[0076] In the twelfth aspect, an embodiment of the present application provides a chip, which includes a processor and a memory, wherein the memory is used to store computer programs or computer instructions, and the processor is used to execute the computer programs or computer instructions stored in the memory, so that the chip executes any method described in the first aspect above.

[0077] In the thirteenth aspect, an embodiment of the present application provides a chip, which includes a processor and a memory, wherein the memory is used to store computer programs or computer instructions, and the processor is used to execute the computer programs or computer instructions stored in the memory, so that the chip executes any method described in the second aspect above.

[0078] The solutions provided in the above-mentioned fifth to thirteenth aspects are used to implement or cooperate with the corresponding methods provided in the above-mentioned first and second aspects, and therefore can achieve the same or corresponding beneficial effects as the corresponding methods in the first or second aspects, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] FIG1 is a schematic diagram of a scenario in which a vehicle locates a node to be located, provided by an embodiment of the present application;

[0080] FIG2 is a system architecture diagram of communication between a positioning node and a node to be positioned provided by an embodiment of the present application;

[0081] FIG3 is a system architecture diagram of communication between a positioning node and a node to be positioned provided by an embodiment of the present application;

[0082] FIG4 is a schematic diagram of an interactive process of a positioning method provided in an embodiment of the present application;

[0083] FIG5 is a schematic diagram of a distance measurement between a positioning node and a node to be positioned provided in an embodiment of the present application;

[0084] FIG6 is a schematic diagram of a vehicle positioning a node to be positioned provided by an embodiment of the present application;

[0085] FIG7 is a schematic structural diagram of a communication device provided in an embodiment of the present application;

[0086] FIG8 is a schematic structural diagram of another communication device provided in an embodiment of the present application;

[0087] FIG9 is a schematic structural diagram of a physical entity of a positioning device provided in an embodiment of the present application;

[0088] FIG10 is a schematic structural diagram of a physical entity of a positioning device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0089] The terms used in the following examples of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present application. As used in the specification and appended claims of the present application, the singular expressions "a," "an," "said," "above," "the," and "this" are intended to include plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in the present application refers to and encompasses any or all possible combinations of one or more of the listed items.

[0090] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.

[0091] The present application provides a positioning method. To facilitate understanding, the following first introduces the relevant terms and concepts involved in the embodiments of the present application.

[0092] (1) Reliable connection

[0093] A reliable connection is a communication connection in which the sender can confirm whether the receiver has received the data during transmission. In a reliable connection, after receiving the data, the receiver usually needs to send an acknowledgment message to the sender to indicate that it has received the data.

[0094] (2) Unreliable connection

[0095] An unreliable connection is a communication connection where the sender cannot be sure whether the receiver has received the data during data transmission. In an unreliable connection, the sender only sends data and does not care whether the receiver has received the data.

[0096] (3) Broadcast

[0097] Broadcasting is an unreliable data communication method. A network that uses broadcasting is called a broadcast network. In a broadcast network, all nodes share the same network transmission channel. When a node in a broadcast network sends data through the shared network transmission channel, all other nodes can receive the data through that channel.

[0098] (4) Peer-to-peer technology

[0099] Peer-to-peer (P2P) technology, also known as peer-to-peer internet technology, is a reliable communication method. A network that uses P2P technology is called a P2P network. In a P2P network, a sender can transmit data directly to a connected receiver. While the physical link between senders and receivers in a P2P network may pass through other nodes, the connection remains logically direct.

[0100] A vehicle may contain one or more positioning nodes, which can be used to locate external nodes. The external nodes to be located by the vehicle are referred to as "to-be-located nodes." The vehicle can determine the location of the external nodes based on the positioning results of one or more positioning nodes, thereby providing features such as touchless unlocking, automatic parking, and automatic locking. This article first describes a scenario in which a vehicle locates a to-be-located node, as provided in this application.

[0101] FIG1 exemplarily shows a schematic diagram of a scenario in which a vehicle locates a node to be located.

[0102] As shown in FIG1 , a vehicle 100 may include three positioning nodes: node 1, node 2, and node 3. Node 1, node 2, and node 3 may be deployed at different locations of the vehicle 100.

[0103] In some embodiments, the positioning node may be deployed inside the cabin of the vehicle 100. The positioning node may be integrated into the interior of electronic equipment in the vehicle 100, or deployed inside the skylight or side of the cabin of the vehicle 100. In other embodiments, the positioning node may also be deployed on the exterior of the vehicle 100. The embodiments of the present application do not limit the location and method of deploying the positioning node in the vehicle 100.

[0104] A positioning node may include one or more antennas. The antennas in the positioning node may be used to communicate with and measure distance to the node to be located. The one or more antennas in the positioning node may have different postures and orientations. The embodiments of the present application do not restrict the number of antennas in the positioning node, nor their postures or orientations.

[0105] The positioning node may include a processing module and a communication module. The communication module may be used to communicate with other nodes via a wired connection or a wireless connection.

[0106] In some embodiments, the positioning node may include a ranging module. The ranging module may be used to measure the distance with the node to be located and obtain intermediate data. The intermediate data may be used to calculate the distance between the positioning node and the node to be located. For example, the intermediate data may include one or more of the following: the time when the positioning node sends a ranging message to the node to be located, the time when the node to be located receives the same ranging message, the difference between the two times, etc. The processing module may process the intermediate data obtained by the ranging module to determine information such as the distance and / or direction (or relative angle) between the positioning node and the node to be located.

[0107] In some embodiments, the communication module of the positioning node can obtain ranging information sent by other nodes and / or the node to be positioned. Optionally, the ranging information may include one or more distances between other positioning nodes and the node to be positioned. The processing module of the positioning node may determine the position of the node to be positioned based on the one or more distances between other positioning nodes and the node to be positioned. Optionally, the ranging information may also include one or more intermediate data obtained after ranging between other positioning nodes and the node to be positioned. The processing module may determine the distance between other positioning nodes and the node to be positioned based on the one or more intermediate data, and thereby determine the position of the node to be positioned.

[0108] The node to be located 101 may be an electronic device such as a smart phone, a smart watch, a smart bracelet, or a near field communication (NFC) smart card, etc. The node to be located 101 may include a distance measurement module and a communication module.

[0109] In some embodiments, the node to be located 101 can communicate and measure distance with the positioning nodes in the vehicle 100 via broadcast. When the node to be located 101 sends a ranging message, all positioning nodes in the vehicle 100 can receive the ranging message and reply to it.

[0110] Broadcasting is an unreliable connection, and messages may be lost during ranging between the positioning node and the node to be located 101. Furthermore, when multiple positioning nodes reply, conflicts may occur on the link. Finally, it is difficult for the positioning node and the node to be located to exchange more data, resulting in relatively low ranging accuracy.

[0111] In some embodiments, the positioning node can respectively establish a connection with the node to be located 101, and then communicate with the node to be located 101 and measure the distance. As shown in Figure 2, node 1, node 2, and node 3 can communicate through a first connection. Node 1 can establish a second connection with the node to be located 101. Then, node 1 and the node to be located 101 can communicate and measure the distance through the second connection to obtain the distance L1 between node 1 and the node to be located 101. Node 2 can establish a third connection with the node to be located 101, and then, node 2 can communicate with the node to be located 101 through the third connection and measure the distance to obtain the distance L2 between node 2 and the node to be located 101. Similarly, node 3 can establish a fourth connection with the node to be located 101 and obtain the distance L4. Finally, the vehicle can determine the location of the node to be located 101 based on the distances L1, L2, and L3.

[0112] Because the positioning node needs to sequentially establish connections with the node to be located before performing ranging, the entire ranging process takes a long time. In some embodiments, the multiple positioning nodes of vehicle 100 may include a primary node and one or more secondary nodes. The primary node can communicate with the one or more secondary nodes via a first connection. Furthermore, the primary node can establish a second connection with node to be located 101 and send first parameters associated with the second connection to the one or more secondary nodes. In this way, the one or more secondary nodes can communicate with the node to be located via the second connection based on the first parameters and measure the distance, obtaining one or more ranging information. Finally, the primary node can determine one or more distances between the one or more secondary nodes and node to be located 101 based on the one or more ranging information, thereby determining the location of node to be located 101. The vehicle can provide corresponding services to the user when the relative position of node to be located 101 and vehicle 100 meets certain conditions. For example, vehicle 100 can automatically unlock when the distance between node to be located 101 and vehicle 100 is less than a certain distance threshold. Furthermore, the vehicle can adjust the seat position to facilitate boarding. The distance threshold can be 1 meter, 2 meters, or 3 meters. The embodiment of the present application does not limit the size of the above distance threshold.

[0113] As can be seen from the above method, during the process of multiple positioning nodes on the vehicle 100 positioning the node to be positioned, the auxiliary node can communicate with the node to be positioned by means of the communication connection established between the main node and the node to be positioned, thereby realizing the distance measurement between the auxiliary node and the node to be positioned. The main node can aggregate the ranging information of all positioning nodes and the node to be positioned to determine the location of the auxiliary node. The above method does not require each auxiliary node to establish a communication connection with the node to be positioned separately, which can shorten the time for multiple positioning nodes and the node to be positioned to perform positioning and improve positioning efficiency. Furthermore, the vehicle 100 can quickly determine the location of the node to be positioned, improve the response speed of providing corresponding services to users, and provide users with a better user experience.

[0114] For ease of explanation and better understanding, the subsequent embodiments of this application take the example of vehicle 100 locating the node 101 to be located through three positioning nodes (node ​​1, node 2, node 3) as an example to introduce the positioning method and related devices provided by the embodiments of this application. The above-mentioned node 1 can be called the first node. The above-mentioned node 2 can be called the second node. The above-mentioned node 3 can be called the third node. It should be understood by those skilled in the art that the vehicle 100 can include more or fewer positioning nodes. The method for locating the node 101 to be located by including more or fewer positioning nodes can refer to the positioning method of the node 101 to be located by node 1, node 2 and node 3. The positioning method for other numbers of positioning nodes will not be described in detail in this application.

[0115] In some embodiments, only one positioning node in a vehicle can establish a connection with the node to be located. Other positioning nodes can reuse this connection to communicate with the node to be located and measure distance. This reduces the time it takes for positioning nodes to establish connections during ranging. The following describes a positioning method provided in an embodiment of the present application.

[0116] FIG3 exemplarily shows a system architecture diagram for communication between a positioning node and a node to be positioned provided by an embodiment of the present application.

[0117] As shown in Figure 3, the master node can be any one of Node 1, Node 2, and Node 3. Positioning nodes other than the master node are referred to as slave nodes. For ease of understanding, this example uses Node 1 as the master node, Node 2 as slave node 1, and Node 3 as slave node 2. The master node is not limited to Node 1; other positioning nodes can also serve as the master node. This embodiment of the present application does not restrict the positioning nodes that serve as master nodes or slave nodes.

[0118] The communication connection between the primary node and all the secondary nodes may be referred to as a first connection, that is, the primary node may communicate with each secondary node through the first connection.

[0119] In some embodiments, the first connection may include a wireless network connection. The first connection may include one or more wireless data transmission methods. For example, the wireless data transmission methods may include wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), near field communication (NFC), infrared (IR), ultra-wideband (UWB), star flash technology, etc.

[0120] In other embodiments, the first connection may include a wired network connection. The first connection may include one or more wired data transmission methods. For example, the wired data transmission method may be a connection and communication between positioning nodes via a controller area network (CAN) bus, an Ethernet local interconnect network (LIN) bus, FlexRay, a wireless local area network (WLAN), or a common vehicle-mounted network system (MOST) bus of the vehicle 100.

[0121] Not limited to wireless network connections and wired network connections. In one possible implementation, the connection mode of the first connection can include both wireless network connections and wired network connections. Furthermore, the data transmission modes between positioning nodes can also be different. For example, the master node and auxiliary node 1 can communicate via Bluetooth, and the master node and auxiliary node 2 can communicate via CAN bus broadcast. The embodiments of the present application do not limit the connection mode and data transmission mode included in the first connection.

[0122] The master node may establish a second connection with the node to be located 101. The second connection may be a wireless network connection. The master node and the node to be located 101 may communicate point-to-point. For example, the data transmission method of the second connection may include, but is not limited to, Bluetooth, Wi-Fi, and StarFlash technology. The embodiments of the present application do not limit the data transmission method of the second connection.

[0123] Secondary nodes 1 and 2 can reuse the second connection between the master node and the node to be located 101 for communication and ranging. The master node can send first parameters associated with the second connection to secondary nodes 1 and 2 via the first connection. The first parameters may include one or more of the following: a frequency, a frequency hopping sequence, and a key for the second connection. Thus, secondary nodes 1 and 2 can use the second connection based on the first parameters to communicate with and measure distance from the node to be located.

[0124] In one possible implementation, the positioning node in the architecture diagram shown in FIG3 may further include one or more child nodes. One or more of these child nodes may establish a communication connection with auxiliary node 1 and / or auxiliary node 2. Auxiliary nodes 1 and 2 may coordinate their connected child nodes to perform ranging on the node to be positioned 101. The method by which auxiliary nodes 1 and 2 coordinate communication and ranging between the child nodes and the node to be positioned 101 can be found in the subsequent embodiments, where the master node coordinates communication and ranging between auxiliary nodes 1 and 2 and the node to be positioned 101, and will not be elaborated here.

[0125] Optionally, a communication connection may also be provided between the secondary node 1 and the secondary node 2. The embodiment of the present application does not limit the communication connection state, connection mode, and data transmission mode between the secondary node 1 and the secondary node 2.

[0126] FIG4 exemplarily shows a schematic diagram of an interaction process of another positioning method provided in an embodiment of the present application.

[0127] As shown in FIG4 , the positioning method may include but is not limited to the following steps:

[0128] S40: The master node establishes a second connection with the node to be located, including:

[0129] S401: The master node establishes a second connection with the node to be located and obtains first parameters and first clock information.

[0130] The master node may establish a second connection with the node to be located 101. The master node may negotiate first parameters with the node to be located 101. The first parameters may include connection parameters necessary for communication using the second connection, such as a frequency hopping sequence, a frequency point, a key, and the like.

[0131] For example, let's take the second connection as a Bluetooth communication connection. When Bluetooth is enabled, the node to be located 101 can broadcast data at a regular interval. The broadcast data can include a "connectable" flag. The master node can scan the broadcast data from the node to be located 101 and initiate a connection request to the node to be located 101. The connection request can include the master node's media access control (MAC) address, the MAC address of the node to be located 101, and the time at which both parties sent and received data. Upon receiving the connection request from the master node, the node to be located 101 enters a connected state. The MAC addresses can be random device addresses of the master node and the node to be located 101, or public device addresses. The master node and the node to be located 101 can agree on a frequency hopping sequence. It is understood that communication is only possible when the master node and the node to be located 101 send and receive data on the same channel. The master node and the node to be located 101 can save the agreed frequency hopping sequence, and both parties can be on the same channel during the connection process. The first parameter can include the MAC address of the node to be located and the frequency hopping sequence.

[0132] In some embodiments, the first parameter may further include a key for message encryption. The master node may further initiate a request for message encryption to the node to be located 101. The master node may negotiate with the node to be located 101 to obtain a key. When the master node communicates with the node to be located 101, the message may be encrypted using the key. When the master node receives a message sent by the opposite end (i.e., the node to be located 101) through the second connection, the master node may use the above-mentioned key to decrypt the message to obtain information in the message. When the node to be located 101 receives a message sent by the opposite end (e.g., the master node, auxiliary node 1, auxiliary node 2) through the second connection, the node to be located 101 may use the above-mentioned key to decrypt the message to obtain information in the message.

[0133] In some embodiments, the second connection between the master node and the node to be located 101 may be a Wi-Fi connection. A key may be negotiated between the master node and the node to be located. The first parameter may include a Wi-Fi frequency and a key. The Wi-Fi frequency corresponds to a Wi-Fi operating channel. The key may include a pairwise transient key (PTK) for message encryption.

[0134] It is understandable that, when the data transmission modes between the master node and the node to be located are different, the first parameter may also be different. The embodiment of the present application does not limit the parameters that may be included in the first parameter.

[0135] In some embodiments, the master node may determine first clock information with the node to be located 101. The first clock information may include a first time period. The node to be located 101 may determine the first time period based on its own operating status. The first time period may be a time period when the node to be located 101 is in an idle state. In this way, the node to be located 101 may reserve the first time period for the positioning node that communicates with it and measures the distance via the second connection. Any positioning node may communicate with the node to be located 101 via the second connection within the first time period to achieve ranging. This can avoid the situation where the node to be located 101 is busy and cannot respond to the positioning node in a timely manner when the positioning node communicates with the node to be located 101 and measures the distance, resulting in inaccurate ranging information. It is understandable that before ranging, the master node and the node to be located 101 negotiate the first time period to improve the accuracy and efficiency of ranging.

[0136] S402: The master node and the node to be located determine ranging parameters.

[0137] In some embodiments, the master node and the node to be located 101 may also determine ranging parameters. Thus, when the master node or the secondary node subsequently performs ranging with the node to be located 101, there is no need to negotiate the ranging parameters. Instead, the ranging parameters negotiated by the master node are directly used, thereby improving ranging efficiency. The ranging parameters may include a ranging method.

[0138] In some embodiments, the ranging parameters determined between the master node and the node to be located 101 may be used only for ranging between the master node and the node to be located 101. Other secondary nodes may negotiate ranging parameters with the node to be located 101 separately.

[0139] S41: The master node and the node to be located obtain a distance L1 through a second connection ranging, including:

[0140] S411 , the master node measures distance with the node to be located, the master node obtains intermediate data A, and the node to be located obtains intermediate data B.

[0141] S412: The node to be located sends intermediate data B to the master node.

[0142] S413: The master node determines the distance L1 between the master node and the node to be located based on the intermediate data A and the intermediate data B.

[0143] In some embodiments, the master node may perform distance measurement with the node to be located 101 to obtain a distance L1 between the master node and the node to be located, where the distance L1 may also be referred to as a third distance.

[0144] For example, an embodiment of the present application provides a ranging method between a master node and a node to be located. As shown in Figure 5, the master node can send a first ranging message to the node to be located 101 at time t1. The master node also records the time t1 at which it sent the first ranging message. The node to be located 101 can receive the first ranging message sent by the master node at time t2. The node to be located 101 can also record the time t2 at which it received the first ranging message. At time t3, the node to be located 101 can send a second ranging message to the master node and record the time t3 at which it sent the second ranging message. The data in the second ranging message can include t2 and t3. The master node can receive the second ranging message at time t4 and record the time t4 at which it received the second ranging message. In this way, the master node obtains four intermediate data points: t1, t2, t3, and t4. The master node can calculate the average flight time T of the first and second ranging messages: ((t4-t1)-(t3-t2)) / 2). The master node can then calculate the distance L1 = T*c between the master node and the node to be located 101. Here, c is the speed of electromagnetic wave propagation in the air. In this example, the intermediate data A acquired by the master node may include t1 and t4, and the intermediate data B acquired by the node to be located may include t2 and t3. The master node can receive the intermediate data B sent by the node to be located 101. Furthermore, node 1 can determine the distance L1 between node 1 and the node to be located based on the intermediate data A it acquired and the received intermediate data B.

[0145] Not limited to the above-mentioned ranging method, the master node and the node to be located 101 may also perform ranging using other ranging methods. It is understood that the ranging between the master node and the node to be located 101 may include more or fewer interactive processes than shown in the figure. Intermediate data A and intermediate data B may also include more or less intermediate data. Intermediate data may also be data outside the time of sending or receiving the ranging message. The embodiments of the present application do not limit the ranging method between the master node and the node to be located.

[0146] In some embodiments, step S41 is optional. That is, the master node may only establish the second connection without performing distance measurement with the node to be located 101 .

[0147] S42: The auxiliary node 1 and the node to be located obtain a distance L2 through a second connection ranging, including:

[0148] S421 : The master node sends the first parameter and the second clock information to the slave node 1 .

[0149] In some embodiments, the master node may send the first parameter and the second clock information to the slave node 1. In this way, the slave node 1 can communicate and measure the distance with the node to be located 101 via the second connection based on the first parameter and the second clock information. The second clock information may include a second time period. The slave node 1 can communicate and measure the distance with the node to be located during the second time period. The second time period is a subset of the first time period.

[0150] It is understood that after receiving the first parameters and the second clock information, the secondary node 1 can communicate and measure the distance with the node to be located 101 via the second connection. For example, assuming the second connection is Bluetooth, the first parameters received by the secondary node 1 may include the Bluetooth frequency hopping sequence, key, and the MAC address of the node to be located 101. After receiving the frequency hopping sequence for the second connection, the secondary node 1 can adjust its own channel to the channel of the node to be located 101. Furthermore, the secondary node 1 can change its channel based on the frequency hopping sequence to align its own channel with that of the node to be located 101, allowing the secondary node 1 to receive messages from the node to be located 101. After receiving the message from the node to be located 101, the secondary node 1 can decrypt the message using the key. This key may be the key negotiated between the master node and the node to be located 101 in step S401. After decrypting the message, the secondary node 1 can determine that the destination address of the message is the MAC address of the master node 1. The secondary node 1 can then receive the message and extract the data segment information from it. Similarly, the auxiliary node 1 can also send a message to the node to be located 101 and encrypt the message using a key. The source address of the message sent by the auxiliary node can be the MAC address of the master node.

[0151] Furthermore, the secondary node 1 may also receive the second clock information sent by the master node. The secondary node 1 may communicate and measure the distance to the node to be located according to the time period contained in the second clock information, thereby avoiding conflicts with other positioning nodes. It is understood that in step S401, the master node and the node to be located may determine a larger time period. Furthermore, the master node may divide this larger time period into multiple smaller time periods. The master node may assign these smaller time periods to different secondary nodes. Each secondary node may communicate and measure the distance to the node to be located during its assigned time period, thereby avoiding conflicts between multiple positioning nodes and the node to be located 101. For example, the first time period may be 0-500 clocks, and the second time period may be the 100th to 200th clock period. The secondary node 1 may determine the second time period based on the second clock information and then execute step S422 when the clock time is between the 100th and 200th clock periods.

[0152] S422 : The auxiliary node 1 measures the distance with the node to be located. The auxiliary node 1 obtains intermediate data C, and the node to be located obtains intermediate data D.

[0153] S423. The secondary node 1 sends the intermediate data C to the primary node.

[0154] S424: The node to be located sends intermediate data D to the master node.

[0155] S425 : The master node determines the distance L2 between the auxiliary node 1 and the node to be located based on the intermediate data C and the intermediate data D.

[0156] In some embodiments, the auxiliary node 1 may agree on ranging parameters with the node to be located 101. Furthermore, the auxiliary node 1 and the node to be located may perform ranging based on the agreed ranging parameters. The ranging parameters between the auxiliary node 1 and the node to be located 101 may be different from the ranging parameters between the primary node and the node to be located 101.

[0157] In other embodiments, the ranging parameters between auxiliary node 1 and the node to be located may be determined by the master node and the node to be located in step S402. The auxiliary node 1 may receive the ranging parameters sent by the master node. In this way, the auxiliary node 1 does not need to agree on the ranging parameters with the node to be located 101 and can directly measure the distance with the node to be located.

[0158] The method for measuring the distance between the auxiliary node 1 and the node to be located may refer to the introduction of the aforementioned embodiment S41, which will not be repeated here.

[0159] In some embodiments, the master node may receive intermediate data C sent by the slave node 1 and intermediate data D sent by the node to be located. Furthermore, the master node may determine a distance L2 between the slave node 1 and the node to be located based on the intermediate data C and the intermediate data D. Distance L2 may also be referred to as a first distance.

[0160] S43: The auxiliary node 2 and the node to be located obtain a distance L3 through a second connection ranging, including:

[0161] S431 : The master node sends the first parameter and the third clock information to the slave node 2 .

[0162] S432 : The auxiliary node 2 measures the distance with the node to be located. The auxiliary node 2 obtains intermediate data E, and the node to be located obtains intermediate data F.

[0163] S433. The secondary node 2 sends the intermediate data E to the primary node.

[0164] S434: The node to be located sends intermediate data F to the master node.

[0165] S435 : The master node determines the distance L3 between the auxiliary node 2 and the node to be located based on the intermediate data E and the intermediate data F.

[0166] The third clock information may include a third time period. The third time period may be a subset of the first time period. The start time of the third time period may be later than the end time of the second time period. The second time period and the third time period do not intersect. Secondary node 2 may receive the message containing the third clock information and then communicate and measure the distance with node to be located 101 according to the third time period corresponding to the third clock information. This avoids ranging conflicts caused by secondary node 1.

[0167] The method by which the auxiliary node 2 receives the first parameter and the third clock information and communicates with the node to be located can be referred to as described in S421-S422. The method by which the master node obtains the distance L3 after the auxiliary node 2 measures the distance with the node to be located can be referred to as described in step S413, which will not be repeated here. The distance L3 may also be referred to as the second distance.

[0168] S44: The master node locates the node to be located based on the distance L1, the distance L2, and the distance L3, including:

[0169] S441. The master node determines the position of the node to be located according to the distance L1, the distance L2, and the distance L3.

[0170] In some embodiments, the master node may receive distance L2 sent by slave node 1 and distance L3 sent by slave node 2. Furthermore, the master node may determine the location of the node to be located based on distances L1, L2, and L3. The location of the node to be located may include the distance between the node to be located 101 and the vehicle 100, as well as the orientation of the node to be located 101 relative to the vehicle 100.

[0171] Exemplarily, the method by which the master node determines the position of the node 101 to be located based on the distance L1, the distance L2, and the distance L3 is shown in FIG6 . The master node can take a point on the ground plane as the origin to construct a plane rectangular coordinate system. Among them, the plane where the plane rectangular coordinate system is located is parallel to the ground plane. The x-axis of the plane rectangular coordinate system can take any direction of the plane where the coordinate system is located, and the y-axis can be perpendicular to the x-axis. Then in the plane rectangular coordinate system, the coordinates of the master node can be (x1, y1), the coordinates of the auxiliary node 1 can be (x2, y2), and the coordinates of the auxiliary node 2 can be (x3, y3). The master node can determine the position (x, y) of the node 101 to be located according to the following set of equations:

[0172] The master node can determine the coordinates (x, y) of the node to be located 101 in the plane rectangular coordinate system, and then determine the distance between the node to be located 101 and the vehicle 100, and the orientation of the node to be located 101 relative to the vehicle 100. The above-mentioned method for the master node to establish a coordinate system is only used as an example and does not constitute a limitation of the embodiments of the present application. Not limited to the above-mentioned method for the master node to determine the position of the node to be located, the master node can also use other methods to determine the position of the node to be located 101 based on the distance L1, the distance L2 and the distance L3. The embodiments of the present application do not limit the method for the master node to determine the position of the node to be located.

[0173] In some embodiments, after determining the location of the node to be located 101, the master node may also send the location of the node to be located to the node to be located 101. The node to be located 101 can determine the distance between itself and the vehicle 100, as well as the orientation of the vehicle 100 relative to itself. Furthermore, the node to be located 101 can notify the user of the location of the vehicle 100 by displaying a user interface or by voice broadcast, helping the user find the vehicle 100 when outside the vehicle.

[0174] In some embodiments, the master node may gradually determine the location of the node to be located 101 and send the location of the node to be located to the node to be located 101 in sequence. For example, after receiving distance L2, the master node may first determine the location of the node to be located 101 based on distance L1 and distance L2. The master node may send the result of this positioning to the node to be located 101. When the master node receives distance L3, the master node may further determine the location of the node to be located 101 based on distance L1, distance L2, and distance L3, and send the location to the node to be located 101. In this way, the vehicle 100 can first provide the user with a preliminary positioning result, and then gradually correct the positioning result, thereby reducing the user's waiting time.

[0175] In the positioning method shown in Figure 4, the order in which the various steps are executed is provided for illustrative purposes only and is not intended to limit the embodiments of the present application. For example, in some embodiments, S421 and S431 may be performed after S402 in S40. That is, after the master node establishes a connection with the node to be located 101, it may first send one or more of the first parameter, clock information, and ranging parameters to slave nodes 1 and 2. Each slave node then performs ranging after its clock reaches a predetermined time.

[0176] In some embodiments, the execution order of S41, S42, and S43 can be changed. For example, S42 can be executed first and then S43. The embodiment of the present application does not limit the order of positioning node ranging.

[0177] In some embodiments, S413, S425, and S435 may be performed before S441 in S44. That is, the master node may determine the distance between each positioning node and the node to be positioned after all positioning nodes have completed ranging. It should be noted that after the master node obtains the ranging information required to determine the distance, it may determine the distance between the positioning node and the node to be positioned in any time period when the master node is idle. For example, after the master node obtains the intermediate data C and the intermediate data D in S423 and S424, the distance L2 between the auxiliary node 1 and the node to be positioned 101 may be determined in any time period in S43. The communication ranging between the auxiliary node 2 and the node to be positioned 101 and the determination of the distance L2 by the master node based on the intermediate data C and the intermediate data D may be performed simultaneously.

[0178] The master node is not limited to determining the distance between each positioning node and the node to be positioned 101 , and the auxiliary node may also determine the distance between itself and the node to be positioned.

[0179] In some embodiments, S423, S424, and S425 are optional. After auxiliary node 1 measures the distance to the node to be located, the node to be located may send intermediate data D to auxiliary node 1. Secondary node 1 may determine the distance L2 between itself and the node to be located 101 based on the intermediate data C it obtained and the received intermediate data D. Secondary node 1 may then send distance L2 to the master node. In this way, the master node can directly receive the distance L1 calculated by auxiliary node 1.

[0180] In some embodiments, S433, S434, and S435 are optional. After auxiliary node 2 measures the distance to the node to be located, the node to be located may send intermediate data F to auxiliary node 2. Secondary node 2 may determine the distance L3 between itself and node to be located 101 based on the intermediate data E it obtained and the received intermediate data F. Secondary node 1 may then send distance L3 to the master node. In this way, the master node can directly receive the distance L3 calculated by auxiliary node 2.

[0181] It is not limited to the positioning node in the vehicle determining the distance between the positioning node and the node to be positioned, and / or the position of the node to be positioned 101, but can also be a processor outside the positioning node, or a processing unit of a cloud server outside the vehicle 100 determining the distance between the positioning node and the node to be positioned, and / or the position of the node to be positioned 101.

[0182] In some embodiments, after the auxiliary node 1 measures the distance to the node to be located, the auxiliary node can send intermediate data C to a processor outside the positioning node or an external cloud server, and the node to be located 101 can send intermediate data D to a processor outside the positioning node or an external cloud server. The processor outside the positioning node or the processing unit of the external cloud server can determine the distance L2 between the auxiliary node 1 and the node to be located based on the intermediate data C and the intermediate data D. Similarly, other processors outside the positioning node or the processing unit of the external cloud server can also determine the distance L1 between the main node and the node to be located, and the distance L3 between the auxiliary node 2 and the node to be located. The method for other processors outside the positioning node or the external cloud server to determine the distance between the positioning node and the node to be located can refer to the method for the main node to determine the distance between the positioning node and the node to be located in the aforementioned embodiment, and will not be repeated here. Optionally, other processors outside the positioning node or the external cloud server can also determine the position of the node to be located based on the distance L1, the distance L2 and the distance L3.

[0183] In some embodiments, a processor outside the positioning node or a processing unit of an external cloud server may receive one or more distances between the positioning node and the node to be positioned sent by the positioning node, and then determine the position of the node to be positioned based on the one or more distances.

[0184] Optionally, after the external cloud server determines one or more distances between the positioning node and the node to be positioned, and / or the position of the node to be positioned, the above results can be sent to the vehicle 100.

[0185] In some embodiments, when the master node divides the first time period included in the first clock information and determines the order in which each slave node performs ranging, it may first obtain the received signal strength indicator (RSSI) between each slave node and the node to be located. The master node may assign an earlier time period to slave nodes with higher RSSIs and a later time period to slave nodes with lower RSSIs. In this way, slave nodes with stronger signals can communicate and measure distance with the node to be located first, thereby improving the efficiency of communication and ranging between the slave nodes and the node to be located.

[0186] In some embodiments, the auxiliary node 1 and / or the auxiliary node 2 may also be connected to one or more sub-nodes. After the auxiliary node receives one or more of the first parameter, clock information, and ranging parameters sent by the main node, it may further divide the time period corresponding to the clock information. Furthermore, the auxiliary node may send one or more of the first parameter, ranging parameters, and clock information processed by the auxiliary node to the sub-node, and the one or more sub-nodes connected to the auxiliary node perform ranging. Accordingly, the auxiliary node may receive intermediate data obtained by the communication and ranging between the sub-node and the node to be located 101, and the auxiliary node may determine the distance between the sub-node and the node to be located 101 based on the intermediate data. Alternatively, the auxiliary node may receive the distance between itself and the node to be located calculated by the sub-node. Furthermore, the auxiliary node may send the distance between one or more sub-nodes and the node to be located to the main node.

[0187] It should be understood by those skilled in the art that the vehicle 100 may include more or fewer positioning nodes. When the vehicle 100 includes more auxiliary nodes, the method in which the master node sends the first parameter, clock information, and ranging parameters to auxiliary node 1 and auxiliary node 2, and auxiliary node 1 and auxiliary node 2 communicate with the node to be located 101 through the second connection and measure the distance can be referred to. The vehicle 100 may also include fewer auxiliary nodes. In the positioning method shown in Figure 4, S42 or S43 is optional. The embodiments of the present application will not elaborate on the method for positioning the node to be located by other numbers of positioning nodes.

[0188] In summary, positioning nodes can be divided into primary and secondary nodes. The primary node establishes a connection with the node to be located. The secondary node reuses the connection established by the primary node to communicate with and measure the distance to the node to be located. This reduces the time it takes for the positioning node to establish a connection with the node to be located when the vehicle locates the node, saving vehicle connection maintenance costs. Finally, the primary node can determine the location of the node to be located based on the distance between them. The vehicle can then provide the user with appropriate services when the location of the node to be located meets certain conditions.

[0189] In some embodiments, the vehicle 100 can provide the user with a senseless unlocking function. The vehicle 100 can automatically unlock when the distance between the node to be located 101 and the vehicle 100 is less than a preset distance threshold. By implementing the positioning method provided in the above embodiment, the time it takes for the vehicle 100 to determine that the distance between the node to be located 100 and the vehicle 100 is less than the preset distance threshold can be shortened, thereby reducing the user's waiting time. In this way, the user can feel that the vehicle 100 provides a more sensitive senseless unlocking function, thereby improving the user's experience. In addition, since a reliable connection is established between the positioning node and the node to be located, the positioning node and the node to be located can exchange more information during the period of maintaining the communication connection, thereby improving the accuracy of the positioning of the vehicle 100.

[0190] In some embodiments, the vehicle 100 can provide a location sharing function for the user. The node to be located 101 can be an electronic device such as a user's smart phone or smart watch. The master node can send the location of the node to be located 101 and the location of the vehicle 100 to the node to be located 101. In this way, the node to be located 101 can determine its own position and distance relative to the vehicle. The user can learn about the location of the vehicle 100 through the user interface displayed by the node to be located 101 or the voice prompt of the node to be located 101. By implementing the positioning method provided in the above embodiment, the user can obtain the position and distance of the vehicle 100 relative to himself more quickly, which makes it easier for the user to find the vehicle 100 more quickly.

[0191] It is understood that the vehicle 100 may also provide the user with more functions when the location of the node to be located 101 meets certain conditions. The above functions may be preset by the vehicle 100 or set by the user. The embodiments of the present application do not limit the functions provided to the user by the vehicle 100 when the location of the node to be located 101 meets certain conditions.

[0192] The above mainly introduces the positioning method provided in the embodiment of the present application. It is understandable that, in order to realize the corresponding functions mentioned above, each control unit or device includes a hardware structure and / or software module corresponding to the execution of each function. In combination with the units and steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0193] The embodiment of the present application can divide the functional modules of the device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. In actual implementation, there may be other division methods.

[0194] In the case of dividing each functional module according to each function, an embodiment of the present application also provides an apparatus for implementing any of the above methods, for example, providing an apparatus including units (or means) for implementing each step in any of the above methods.

[0195] For example, please refer to FIG. 7 , which is a schematic structural diagram of a communication device 700 provided in an embodiment of the present application.

[0196] The communication device 700 shown in FIG7 may be a communication device for implementing a master node in any embodiment of the positioning method described above. The communication device 700 may include a communication unit 701 and a processing unit 702.

[0197] a communication unit 701, configured to communicate with one or more secondary nodes via a first connection;

[0198] The communication unit 701 is further configured to establish a second connection with the node to be located;

[0199] The communication unit 701 is further configured to receive first data from one or more secondary nodes via the first connection, wherein the first data includes first ranging information obtained by the one or more secondary nodes performing ranging with the node to be located via the second connection;

[0200] The processing unit 702 is configured to determine the position of the node to be located according to the first data.

[0201] In some embodiments, the communication unit 701 is further configured to obtain a first parameter from the node to be located through the second connection;

[0202] The communication unit 701 is further configured to send the first parameter to one or more secondary nodes.

[0203] In some embodiments, the communication unit 701 is further configured to determine first clock information with the node to be located.

[0204] In some embodiments, the first ranging information includes one or more distances between one or more auxiliary nodes and the node to be located.

[0205] In some embodiments, the first data further includes second ranging information obtained by the node to be located from measuring distance with one or more secondary nodes via a second connection. The communication unit 701 is further configured to receive the second ranging information from the node to be located via the second connection. The processing unit 702 is further configured to determine one or more distances between the one or more secondary nodes and the node to be located based on the first ranging information and the second ranging information.

[0206] In some embodiments, the one or more auxiliary nodes include a first auxiliary node and a second auxiliary node, the first time period includes a second time period and a third time period, and the communication unit 701 is also used to send second clock information to the first auxiliary node, and the second clock information is used to indicate that the first auxiliary node communicates with the node to be located through the second connection in the second time period; the communication unit 701 is also used to send third clock information to the second auxiliary node, and the third clock information is used to indicate that the second auxiliary node communicates with the node to be located through the second connection in the third time period, and the end time of the second time period is earlier than the start time of the third time period.

[0207] In some embodiments, the first ranging information includes third ranging information obtained by the first auxiliary node measuring the distance between the first auxiliary node and the node to be located through the second connection, and fourth ranging information obtained by the second auxiliary node measuring the distance between the second auxiliary node and the node to be located through the second connection. The communication unit 701 receives the first data from one or more auxiliary nodes through the first connection, including: the communication unit 701 receives the third ranging information from the first auxiliary node through the first connection; the communication unit 701 receives the fourth ranging information from the second auxiliary node through the first connection.

[0208] In some embodiments, the third ranging information includes a first distance between the first auxiliary node and the node to be located, and the fourth ranging information includes a second distance between the second auxiliary node and the node to be located.

[0209] In some embodiments, the first data also includes fifth ranging information obtained by the node to be located by ranging with the first auxiliary node through the second connection, and sixth ranging information obtained by the node to be located by ranging with the second auxiliary node through the second connection. The communication unit 701 is further used to receive the fifth ranging information and the sixth ranging information from the node to be located; the processing unit 702 is further used to determine the first distance between the first auxiliary node and the node to be located based on the third ranging information and the fifth ranging information; the processing unit 702 is further used to determine the second distance between the second auxiliary node and the node to be located based on the fourth ranging information and the sixth ranging information.

[0210] In some embodiments, the processing unit 702 determines the position of the node to be located according to the first data, including: the processing unit 702 determines the position of the node to be located according to the first distance and the second distance.

[0211] In some embodiments, the first data further includes a third distance between the communication device 700 and the node to be located, and the communication device further includes a ranging unit 703. The ranging unit 703 is configured to obtain seventh ranging information by measuring the distance with the node to be located through the second connection.

[0212] In some embodiments, the communication unit 701 is further configured to receive eighth ranging information from the node to be located; and the processing unit 702 is further configured to determine a third distance according to the seventh ranging information and the eighth ranging information.

[0213] In some embodiments, the communication unit 701 is further configured to send the position of the node to be located to the node to be located.

[0214] In some embodiments, the communication unit 701 may include a wireless communication unit and / or a wired communication unit. The wireless communication unit is used for the communication device 700 to communicate with other nodes via a wireless network. The wired communication unit is used for the communication device 700 to communicate with other nodes via a wired network.

[0215] In some embodiments, the communication device 700 may further include an upper layer application interface.

[0216] The specific operations and beneficial effects of each unit in the communication device 700 shown in FIG7 can be found in the corresponding descriptions in FIG3 or FIG7 and their possible embodiments, and will not be repeated here.

[0217] For example, please refer to Figure 8, which is a structural diagram of a communication device 800 provided in an embodiment of the present application.

[0218] The communication device 800 shown in FIG8 may be a communication device for implementing a secondary node in any embodiment of the positioning method described above. The communication device 800 may include a communication unit 801 and a processing unit 802.

[0219] The communication device 800 can be used in a vehicle. The vehicle includes a master node, and the master node and the communication device 800 can communicate via a first connection. The master node and the node to be located establish a second connection, which is a wireless network connection. The communication device 800 includes: a communication unit 801, configured to receive a first parameter from the master node via the first connection; the communication unit 801, further configured to communicate with the node to be located via a second connection based on the first parameter; and a ranging unit 803, configured to measure the distance with the node to be located via the second connection to obtain ninth ranging information, which is used to determine the location of the node to be located.

[0220] In some embodiments, before the communication unit 801 communicates with the node to be located through the second connection according to the first parameter, it also includes: the communication unit 801 receives second clock information sent by the master node, and the second clock information includes a second time period; the processing unit determines that the time is in the second time period.

[0221] In some embodiments, the communication unit 801 is further configured to send the ninth ranging information to the master node through the first connection, where the ninth ranging information is used to determine a first distance between the communication device and the node to be located.

[0222] In some embodiments, the communication unit 801 is further configured to receive tenth ranging information sent by the node to be located, where the tenth ranging information is obtained by the node to be located by ranging with the ranging unit through the second connection;

[0223] In some embodiments, the processing unit 802 is further used to determine a first distance between the communication device and the node to be located based on the ninth ranging information and the tenth ranging information; the communication unit 801 is further used to send the first distance to the master node through the first connection.

[0224] It should be understood that the division of the various units in the device is merely a division of logical functions. In actual implementation, they may be fully or partially integrated into a single physical entity, or they may be physically separated. In addition, the units in the device may be implemented in the form of a processor calling software; for example, the device includes a processor, the processor is connected to a memory, and the memory stores instructions. The processor calls the instructions stored in the memory to implement any of the above methods or to implement the functions of the various units of the device, wherein the processor is, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory is a memory within the device or a memory outside the device. Alternatively, the units in the device can be implemented in the form of hardware circuits, and the functions of some or all of the units can be realized by designing the hardware circuits. The hardware circuit can be understood as one or more processors. For example, in one implementation, the hardware circuit is an application-specific integrated circuit (ASIC), which realizes the functions of some or all of the above units by designing the logical relationship of the components in the circuit. For another example, in another implementation, the hardware circuit can be implemented by a programmable logic device (PLD). Taking a field programmable gate array (FPGA) as an example, it can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by configuring the configuration file, thereby realizing the functions of some or all of the above units. All units of the above devices can be implemented in the form of software called by the processor, or in the form of hardware circuits, or in part by software called by the processor, and the rest by hardware circuits.

[0225] In an embodiment of the present application, a processor is a circuit with data processing capabilities. In one implementation, the processor can be a circuit with instruction reading and execution capabilities, such as a CPU, a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP); in another implementation, the processor can implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and implementing the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc.

[0226] It can be seen that each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.

[0227] In addition, the various units in the above devices can be fully or partially integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a system-on-a-chip (SOC). The SOC may include at least one processor for implementing any of the above methods or implementing the functions of the various units of the device. The type of the at least one processor can be different, for example, including a CPU and FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.

[0228] For example, see FIG9 , which is a schematic structural diagram of a physical entity of the positioning device provided in this application.

[0229] The positioning device 900 shown in FIG9 can be a positioning node in the method described in the above embodiment. The positioning device 900 includes: a processor 901, a memory 902, and a communication interface 903. The processor 901, the communication interface 903, and the memory 902 can be connected to each other or connected to each other via a bus 904.

[0230] Exemplarily, the memory 902 is used to store computer programs and data of the positioning device 900. The memory 902 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or portable compact disc read-only memory (CD-ROM).

[0231] The software or program code required for all or part of the functions of the master node in the above method embodiment is stored in the memory 902.

[0232] In one possible implementation, if the software or program code required for some functions is stored in the memory 902, the processor 901, in addition to calling the program code in the memory 902 to implement some functions, can also cooperate with other components (such as the communication interface 903) to jointly complete other functions described in the method embodiment (such as the function of receiving or sending data).

[0233] There may be multiple communication interfaces 903 , which are used to support the positioning device 900 to communicate, such as receiving or sending data or signals.

[0234] Exemplarily, the processor 901 may be a CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor types, as described above. The processor 901 may be configured to read the program stored in the memory 902 and execute the operations performed by the master node in FIG. 4 and its possible embodiments.

[0235] The specific operations and beneficial effects of each unit in the positioning device 900 shown in FIG9 can be found in the corresponding description in the above method embodiment, which will not be repeated here.

[0236] For example, see FIG10 , which is a schematic structural diagram of a physical entity of the positioning device provided in this application.

[0237] The positioning device 1000 shown in FIG10 may be a positioning node in the method described in the above embodiment. The positioning device 1000 includes a processor 1001, a memory 1002, and a communication interface 1003. The processor 1001, the communication interface 1003, and the memory 1002 may be interconnected or connected to each other via a bus 1004.

[0238] Exemplarily, the memory 1002 is used to store computer programs and data of the positioning device 1000. The memory 1002 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or portable compact disc read-only memory (CD-ROM).

[0239] The software or program code required for all or part of the functions of the master node in the above method embodiment is stored in the memory 1002.

[0240] In one possible implementation, if the software or program code required for some functions is stored in the memory 1002, the processor 1001, in addition to calling the program code in the memory 1002 to implement some functions, can also cooperate with other components (such as the communication interface 1003) to jointly complete other functions described in the method embodiment (such as the function of receiving or sending data).

[0241] There may be multiple communication interfaces 1003 , which are used to support the positioning device 1000 to communicate, such as receiving or sending data or signals.

[0242] Exemplarily, the processor 1001 may be a CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of the aforementioned processor types. The processor 1001 may be configured to read the program stored in the memory 1002 and execute the operations performed by the slave node in FIG. 4 and its possible embodiments.

[0243] The specific operations and beneficial effects of each unit in the positioning device 1000 shown in FIG10 can be found in the corresponding description in the above method embodiment, which will not be repeated here.

[0244] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0245] As used in the above embodiments, the term “when…” may be interpreted to mean “if…” or “after…” or “in response to determining…” or “in response to detecting…”, depending on the context. Similarly, the phrases “upon determining…” or “if (stated condition or event) is detected” may be interpreted to mean “if determining…” or “in response to determining…” or “upon detecting (stated condition or event)” or “in response to detecting (stated condition or event)”, depending on the context.

[0246] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk).

[0247] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A positioning method, the positioning method is applied to a vehicle, the vehicle comprises a master node and one or more slave nodes, the master node and the one or more slave nodes communicate via a first connection, characterized in that: The method comprises: The master node establishes a second connection with the node to be located, where the second connection is a wireless network connection; The primary node receives first data from the one or more secondary nodes through the first connection, where the first data includes first ranging information obtained by the one or more secondary nodes measuring the distance with the node to be located through the second connection; The master node determines the position of the node to be located according to the first data.

2. The positioning method according to claim 1, characterized in that: The method further comprises: The primary node acquires a first parameter from the node to be located through the second connection, where the first parameter is used for the one or more secondary nodes to communicate with the node to be located through the second connection; The primary node sends the first parameter to the one or more secondary nodes.

3. The positioning method according to claim 2, characterized in that: The first parameter includes one or more of the following: a frequency point, a frequency hopping sequence and a key of the second connection.

4. The positioning method according to any one of claims 1 to 3, characterized in that: The method further comprises: The master node determines first clock information with the node to be located through the second connection, where the first clock information is used to instruct the node to be located to communicate with the master node or the one or more slave nodes in a first time period.

5. The positioning method according to any one of claims 1 to 4, characterized in that: The first ranging information includes one or more distances obtained by ranging between the one or more auxiliary nodes and the node to be located.

6. The positioning method according to any one of claims 1 to 4, characterized in that: The first data also includes second ranging information obtained by the node to be located by ranging with the one or more auxiliary nodes through the second connection, and the method further includes: the master node receiving the second ranging information from the node to be located through the second connection; The primary node determines one or more distances between the one or more secondary nodes and the node to be located according to the first ranging information and the second ranging information.

7. The positioning method according to claim 4, characterized in that: The one or more auxiliary nodes include a first auxiliary node and a second auxiliary node, the first time period includes a second time period and a third time period, and the method further includes: The master node sends second clock information to the first slave node, where the second clock information is used to instruct the first slave node to communicate with the node to be located through the second connection in the second time period; The master node sends third clock information to the second slave node, where the third clock information is used to indicate that the second slave node communicates with the node to be located through the second connection in the third time period, and an end time of the second time period is earlier than a start time of the third time period.

8. The positioning method according to claim 7, characterized in that: The first ranging information includes third ranging information obtained by the first auxiliary node measuring the distance with the node to be located through the second connection, and fourth ranging information obtained by the second auxiliary node measuring the distance with the node to be located through the second connection, and the primary node receiving first data from the one or more auxiliary nodes through the first connection, including: The primary node receives the third ranging information from the first secondary node through the first connection, and the primary node receives the fourth ranging information from the second secondary node through the first connection.

9. The positioning method according to claim 8, characterized in that: The third ranging information includes a first distance between the first auxiliary node and the node to be located, and the fourth ranging information includes a second distance between the second auxiliary node and the node to be located.

10. The positioning method according to claim 8, characterized in that: The first data also includes fifth ranging information obtained by the node to be located measuring the distance between the node to be located and the first auxiliary node through the second connection, and sixth ranging information obtained by the node to be located measuring the distance between the node to be located and the second auxiliary node through the second connection, and the method further includes: The master node receives the fifth ranging information from the node to be located through the second connection; The primary node determines a first distance between the first secondary node and the node to be located according to the third ranging information and the fifth ranging information; The master node receives the sixth ranging information from the node to be located through the second connection; The primary node determines a second distance between the second secondary node and the node to be located according to the fourth ranging information and the sixth ranging information.

11. The positioning method according to claim 9 or 10, characterized in that: The master node determines the position of the node to be located according to the first data, including: The master node determines the position of the node to be located according to the first distance and the second distance.

12. The positioning method according to any one of claims 1 to 10, characterized in that: The first data also includes a third distance between the master node and the node to be located, and the method further includes: The master node measures the distance with the node to be located through the second connection to obtain seventh ranging information; The master node receives eighth ranging information from the node to be located; The master node determines the third distance according to the seventh ranging information and the eighth ranging information.

13. The positioning method according to any one of claims 1 to 12, characterized in that: The method further comprises: The master node sends the position of the node to be located to the node to be located.

14. A positioning method, the positioning method is applied to a vehicle, the vehicle comprises a master node and a first slave node, the master node and the first slave node communicate via a first connection, the master node and the node to be positioned establish a second connection, the second connection is a wireless network connection, characterized in that: The method comprises: The first secondary node receives a first parameter from the primary node via the first connection; The first auxiliary node communicates with the node to be located through the second connection according to the first parameter, and the first auxiliary node measures distance with the node to be located to obtain ninth ranging information, where the ninth ranging information is used to determine the position of the node to be located.

15. The positioning method according to claim 14, characterized in that: Before the first secondary node communicates with the node to be located through the second connection according to the first parameter, the method further includes: The first slave node receives second clock information sent by the master node, where the second clock information includes a second time period; The first secondary node determines that the time is in the second time period.

16. The positioning method according to claim 14 or 15, characterized in that: The method further comprises: The first auxiliary node sends the ninth ranging information to the primary node through the first connection, where the ninth ranging information is used to determine a first distance between the first auxiliary node and the node to be located.

17. The positioning method according to claim 14 or 15, characterized in that: The method further comprises: The first auxiliary node receives tenth ranging information sent by the node to be located, where the tenth ranging information is obtained by the node to be located by ranging with the first auxiliary node through the second connection. Determining, by the first auxiliary node, a first distance between the first auxiliary node and the node to be located according to the ninth ranging information and the tenth ranging information; The first secondary node sends the first distance to the primary node through the first connection.

18. The positioning method according to any one of claims 14 to 17, characterized in that: The first parameter includes one or more of the following: a frequency point, a frequency hopping sequence and a key of the second connection.

19. A communication device, the communication device being applied to a vehicle, the vehicle further comprising one or more auxiliary nodes, characterized in that: The communication device comprises: a communication unit, configured to communicate with the one or more secondary nodes via a first connection; The communication unit is further used to establish a second connection with the node to be located, where the second connection is a wireless network connection; The communication unit is further configured to receive first data from the one or more secondary nodes through the first connection, where the first data includes first ranging information obtained by the one or more secondary nodes ranging with the node to be located through the second connection; A processing unit is used to determine the position of the node to be located according to the first data.

20. The communication device according to claim 19, characterized in that The communication unit is further configured to obtain a first parameter from the node to be located through the second connection, where the first parameter is used for the one or more auxiliary nodes to measure distance with the node to be located through the second connection; The communication unit is further configured to send the first parameter to the one or more secondary nodes.

21. The communication device according to claim 20, characterized in that: The first parameter includes one or more of the following: a frequency point, a frequency hopping sequence and a key of the second connection.

22. The communication device according to claims 19-21, characterized in that: The communication unit is further used to determine first clock information with the node to be located, where the first clock information is used to instruct the node to be located to communicate with the communication unit or the one or more auxiliary nodes in a first time period.

23. The communication device according to any one of claims 19 to 22, characterized in that: The first ranging information includes one or more distances between the one or more auxiliary nodes and the node to be located.

24. The communication device according to any one of claims 19 to 22, characterized in that: The first data also includes second ranging information obtained by the node to be located measuring the distance between the node to be located and the one or more auxiliary nodes through the second connection. The communication unit is further configured to receive the second ranging information from the node to be located through the second connection; The processing unit is further configured to determine one or more distances between the one or more auxiliary nodes and the node to be located according to the first ranging information and the second ranging information.

25. The communication device according to claim 22, characterized in that: The one or more auxiliary nodes include a first auxiliary node and a second auxiliary node, the first time period includes a second time period and a third time period, The communication unit is further used to send second clock information to the first auxiliary node, where the second clock information is used to instruct the first auxiliary node to communicate with the node to be located through the second connection in the second time period; The communication unit is further used to send third clock information to the second auxiliary node, where the third clock information is used to indicate that the second auxiliary node communicates with the node to be located through the second connection in the third time period, and the end time of the second time period is earlier than the start time of the third time period.

26. The communication device according to claim 22, characterized in that The first ranging information includes third ranging information obtained by the first auxiliary node measuring the distance with the node to be located through the second connection, and fourth ranging information obtained by the second auxiliary node measuring the distance with the node to be located through the second connection, and the communication unit receiving first data from the one or more auxiliary nodes through the first connection, including: receiving, by the communication unit, the third ranging information from the first secondary node through the first connection; The communication unit receives the fourth ranging information from the second secondary node through the first connection.

27. The communication device according to claim 26, characterized in that The third ranging information includes a first distance between the first auxiliary node and the node to be located, and the fourth ranging information includes a second distance between the second auxiliary node and the node to be located.

28. The communication device according to claim 26, characterized in that The first data also includes fifth ranging information obtained by the node to be located measuring the distance between the node to be located and the first auxiliary node through the second connection, and sixth ranging information obtained by the node to be located measuring the distance between the node to be located and the second auxiliary node through the second connection. The communication unit is further configured to receive fifth ranging information and sixth ranging information from the node to be located; The processing unit is further configured to determine a first distance between the first auxiliary node and the node to be located according to the third ranging information and the fifth ranging information; The processing unit is further configured to determine a second distance between the second auxiliary node and the node to be located according to the fourth ranging information and the sixth ranging information.

29. The communication device according to claim 27 or 28, characterized in that: The processing unit determines the position of the node to be located according to the first data, including: The processing unit determines the position of the node to be located according to the first distance and the second distance.

30. The communication device according to any one of claims 19 to 29, characterized in that: The first data also includes a third distance between the communication device and the node to be located, and the communication device also includes a distance measuring unit. The ranging unit is configured to obtain seventh ranging information by measuring the distance with the node to be located through the second connection; The communication unit is further configured to receive eighth ranging information from the node to be located; The processing unit is further configured to determine the third distance according to the seventh ranging information and the eighth ranging information.

31. The communication device according to any one of claims 19 to 30, characterized in that: The communication unit is further configured to send the position of the node to be located to the node to be located.

32. A communication device, the communication device is applied to a vehicle, the vehicle further comprising a master node, the master node and the communication device communicate via a first connection, the master node and the node to be located establish a second connection, the second connection is a wireless network connection, characterized in that: include: a communication unit, configured to receive a first parameter from the master node via the first connection; The communication unit is further configured to communicate with the node to be located through the second connection according to the first parameter; The ranging unit is used to obtain ninth ranging information by measuring the distance with the node to be located through the second connection, where the ninth ranging information is used to determine the position of the node to be located.

33. The communication device according to claim 32, characterized in that: Before the communication unit communicates with the node to be located through the second connection according to the first parameter, the communication unit further includes: The communication unit receives second clock information sent by the master node, where the second clock information includes a second time period; The processing unit determines that the time is in the second time period.

34. The communication device according to claim 32 or 33, characterized in that: The communication unit is further used to send the ninth ranging information to the master node through the first connection, and the ninth ranging information is used to determine a first distance between the communication device and the node to be located.

35. The communication device according to claim 32 or 33, characterized in that: The communication unit is further configured to receive tenth ranging information sent by the node to be located, where the tenth ranging information is obtained by the node to be located by ranging with the ranging unit through the second connection; The processing unit is further configured to determine a first distance between the communication device and the node to be located according to the ninth ranging information and the tenth ranging information; The communication unit is further configured to send the first distance to the master node through the first connection.

36. The communication device according to any one of claims 32 to 35, characterized in that: The first parameter includes one or more of the following: a frequency point, a frequency hopping sequence and a key of the second connection.

37. A vehicle, characterized in that: The vehicle comprises a main node and one or more auxiliary nodes, wherein the main node is used to execute the method according to any one of claims 1 to 13, and the auxiliary nodes are used to execute the method according to any one of claims 14 to 18.

38. A vehicle, characterized in that: The vehicle comprises: a memory and a processor coupled to the memory; the memory stores computer executable instructions, and when the processor executes the computer executable instructions, the vehicle implements the method according to any one of claims 1 to 13; Or when the processor executes the computer executable instructions, the vehicle implements the method according to any one of claims 14 to 18.

39. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or computer instructions, and the computer program or computer instructions are executed by a processor to implement the method according to any one of claims 1 to 13; Alternatively, the computer program or computer instructions are executed by a processor to implement the method according to any one of claims 14 to 18.

40. A computer program product, characterized in that When the computer program product is executed by a processor, the method described in any one of claims 1 to 13 will be implemented; Alternatively, when the computer program product is executed by a processor, the method described in any one of claims 14 to 18 will be implemented.

Citation Information

Patent Citations

  • Positioning method and related device

    CN118803568A

  • Equipment matching method for Bluetooth positioning

    CN112235732A

  • Digital key positioning method and device based on UWB distance measurement, medium and equipment

    CN114302334A

  • Method and apparatus for localization

    WO2021040351A1