Distance measurement method and device, electronic equipment and storage medium

By using a combined positioning method of main anchor point and auxiliary anchor point group in the vehicle key system, the problem of anchor point damage or positioning abnormalities affecting the vehicle's functions is solved, and the positioning accuracy and function normal operation when some anchor points are abnormal are achieved.

CN119893432APending Publication Date: 2025-04-25ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510015679.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the existing vehicle key system, damaged anchor points or abnormal positioning will affect the normal use of functions such as vehicle unlocking.

Method used

The combined positioning method of main anchor point and auxiliary anchor point group is adopted to establish a connection between the main anchor point and the mobile terminal by receiving the connection request from the mobile terminal, and the positioning anchor point is determined according to the status of the auxiliary anchor point group and the main anchor point, ensuring that the mobile terminal can still be accurately positioned when some anchor points are abnormal.

Benefits of technology

When some anchor points are abnormal, the positioning accuracy of the mobile terminal can still be ensured and the normal operation of the vehicle functions can be ensured, including keyless entry and one-click start.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893432A_ABST
    Figure CN119893432A_ABST
Patent Text Reader

Abstract

The invention provides a distance measurement method and device, electronic equipment and a storage medium, and relates to the technical field of vehicles. The distance measuring method is applied to the vehicle, a main anchor point and an auxiliary anchor point group are installed on the vehicle, and the distance measuring method comprises the following steps: receiving a connection request sent by a mobile terminal, and establishing connection between the main anchor point and the mobile terminal according to the connection request; positioning anchor points for positioning the mobile terminal are determined according to the state of the auxiliary anchor point group and the state of the main anchor point in sequence, the distance between the mobile terminal and the vehicle is determined according to the positioning anchor points, the auxiliary anchor point group comprises a plurality of auxiliary anchor points, and the auxiliary anchor points comprise a plurality of auxiliary anchor points. And the main anchor point is used for coordinating communication of the auxiliary anchor point group. According to the invention, the mobile terminal can be positioned when part of anchor points are abnormal, so that the subsequent functions of keyless entry, one-key start and the like can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a distance measurement method, device, electronic equipment and storage medium. Background Art

[0002] With the advancement of technology, vehicle keys have evolved from traditional mechanical keys to smart keys, which can achieve functions such as unlocking through short-range communication methods such as NFC (Near Field Communication), Bluetooth, and UWB (Ultra Wide Band). Taking low-energy Bluetooth as an example, the area around the vehicle is usually divided into multiple functional areas: the interior area of ​​the vehicle is the startable vehicle area, the area closest to the vehicle body is the near unlocking area, and the buffer area, far locking area, etc. are located outside. When the user carries a mobile phone from the buffer area to the near unlocking area, the vehicle is automatically unlocked, and when the user carries a mobile phone from the buffer area to the far locking area, the vehicle is automatically locked.

[0003] Since Bluetooth and other methods require the positioning of the mobile phone based on anchor points installed on the vehicle body, if one of the anchor points is damaged or the positioning is abnormal, it will have a serious impact on the final positioning effect, and thus affect functions such as vehicle unlocking. Summary of the invention

[0004] The problem solved by the present invention is how to ensure that users can use the vehicle normally.

[0005] In order to solve the above problems, the present invention provides a distance measurement method, device, electronic equipment and storage medium.

[0006] In a first aspect, the present invention provides a distance measurement method, which is applied to a vehicle, wherein a primary anchor point and an auxiliary anchor point group are installed on the vehicle, and the distance measurement method comprises:

[0007] receiving a connection request sent by a mobile terminal, and establishing a connection between the primary anchor point and the mobile terminal according to the connection request;

[0008] The positioning anchor point for positioning the mobile terminal is determined in turn according to the state of the auxiliary anchor point group and the state of the main anchor point, and the distance between the mobile terminal and the vehicle is determined according to the positioning anchor point, wherein the auxiliary anchor point group includes multiple auxiliary anchor points, and the main anchor point is used to coordinate communication of the auxiliary anchor point group.

[0009] Optionally, the determining a positioning anchor point for positioning the mobile terminal according to a state of the auxiliary anchor point group and a state of the main anchor point in sequence, and determining a distance between the mobile terminal and the vehicle according to the positioning anchor point comprises:

[0010] When the auxiliary anchor point group is in a normal state, determining the auxiliary anchor point group as the positioning anchor point, so as to determine the distance between the mobile terminal and the vehicle according to the positioning anchor point;

[0011] When the auxiliary anchor point group is in an abnormal state, the positioning anchor point is determined according to the state of the main anchor point, so as to determine the distance between the mobile terminal and the vehicle according to the positioning anchor point.

[0012] Optionally, determining the positioning anchor point according to the state of the main anchor point includes:

[0013] When the auxiliary anchor point group is in an abnormal state and the main anchor point is in a normal state, determining the main anchor point as the positioning anchor point, so as to determine the distance between the mobile terminal and the vehicle according to the positioning anchor point;

[0014] When the auxiliary anchor point group is in an abnormal state and the main anchor point is in an abnormal state, an auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state is determined as the positioning anchor point, so as to determine the distance between the mobile terminal and the vehicle according to the positioning anchor point.

[0015] Optionally, the plurality of auxiliary anchor points include a plurality of vehicle body anchor points, the vehicle body anchor points are arranged in one-to-one correspondence with door switches of the vehicle, and determining an auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state as the positioning anchor point includes:

[0016] When any door switch of the vehicle is triggered, the vehicle body anchor point corresponding to the door switch is determined as the positioning anchor point.

[0017] Optionally, the determining the auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state as the positioning anchor point further includes:

[0018] When the vehicle body anchor point corresponding to the door switch is abnormal, a vehicle body anchor point in a normal state that is closest to the vehicle body anchor point in an abnormal state is determined as the positioning anchor point.

[0019] Optionally, the plurality of auxiliary anchor points include at least one in-vehicle anchor point, one in-vehicle anchor point is set corresponding to a gear state of the vehicle, and the remaining in-vehicle anchor points are spare in-vehicle anchor points, and determining the auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state as the positioning anchor point includes:

[0020] When it is detected that the gear state is switched to a preset gear state, the corresponding in-vehicle anchor point is determined as the positioning anchor point.

[0021] Optionally, the determining the auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state as the positioning anchor point further includes:

[0022] When it is detected that the gear state is switched to a preset gear state and the corresponding in-vehicle anchor point is abnormal, the in-vehicle anchor point in a normal state that is closest to the in-vehicle anchor point in an abnormal state is determined as the positioning anchor point.

[0023] In a second aspect, the present invention provides a distance measuring device, which is applied to a vehicle, wherein a main anchor point and an auxiliary anchor point group are installed on the vehicle, and the distance measuring device comprises:

[0024] A first module is configured to receive a connection request sent by a mobile terminal, and establish a connection between the primary anchor point and the mobile terminal according to the connection request;

[0025] The second module is used to determine the positioning anchor point for positioning the mobile terminal according to the status of the auxiliary anchor point group and the status of the main anchor point in turn, and determine the distance between the mobile terminal and the vehicle according to the positioning anchor point, wherein the auxiliary anchor point group includes multiple auxiliary anchor points, and the main anchor point is used to coordinate communication of the auxiliary anchor point group.

[0026] In a third aspect, the present invention provides an electronic device, including a memory and a processor;

[0027] The memory is used to store computer programs;

[0028] The processor is used to implement the ranging method as described in the first aspect when executing the computer program.

[0029] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the ranging method as described in the first aspect is implemented.

[0030] The beneficial effect of the distance measurement method of the present invention is that after a connection is established between the main anchor point and the mobile terminal according to a connection request of the mobile terminal, the positioning anchor point for positioning the mobile terminal is determined in turn according to the state of the auxiliary anchor point group and the state of the main anchor point. For example, when the anchor points in the auxiliary anchor point group are in an abnormal state, the vehicle positioning method is switched to the main anchor point positioning method. At this time, the signal strength of the mobile terminal can be judged according to the main anchor point. When the main anchor point is also in an abnormal state, an anchor point can be selected from the auxiliary anchor points in the auxiliary anchor point group that are not in an abnormal state as a new main anchor point. The main anchor point positioning method is implemented according to the anchor point, thereby determining the distance between the mobile terminal and the vehicle, ensuring that the mobile terminal can be positioned when some anchor points are abnormal, and then the subsequent keyless entry, one-button start and other functions can be realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1Schematic diagram of the flow of the ranging method according to an embodiment of the present invention;

[0032] Figure 2 The process of determining the positioning anchor point according to the embodiment of the present invention is shown as follows Figure 1 ;

[0033] Figure 3 The process of determining the positioning anchor point according to the embodiment of the present invention is shown as follows Figure 2 ;

[0034] Figure 4 A schematic diagram of the distribution of anchor points in an embodiment of the present invention;

[0035] Figure 5 is a system architecture diagram of a distance measuring device according to an embodiment of the present invention;

[0036] Figure 6 4 is a system architecture diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.

[0038] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0039] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0040] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0041] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.

[0042] like Figure 1 As shown, an embodiment of the present invention provides a distance measurement method, which is applied to a vehicle, wherein a main anchor point and an auxiliary anchor point group are installed on the vehicle, and the distance measurement method includes:

[0043] S100: receiving a connection request sent by a mobile terminal, and establishing a connection between the primary anchor point and the mobile terminal according to the connection request.

[0044] Specifically, during the first connection, the mobile terminal (such as a mobile phone, Bluetooth key, etc.) can complete the key binding with the vehicle through Bluetooth pairing or other forms. Once the binding is completed, the vehicle will store the unique identifier (UUID) corresponding to the mobile terminal, and subsequent connections do not require re-pairing; for the mobile terminal that has been bound to the vehicle, when the mobile terminal approaches the vehicle (for example, 10-30 meters), the main anchor point will enter the broadcast mode, broadcast the unique identifier (UUID), and wait for the mobile terminal to scan. After detecting the vehicle signal, the mobile terminal attempts to initiate a connection request. After the mobile terminal establishes a connection with the main anchor point, the identity authentication process is started to verify the key stored in the mobile terminal during the first connection. A successful verification means that the identity authentication is successful, and the mobile terminal has the authority to unlock and operate the vehicle.

[0045] The main anchor point can be integrated into the vehicle's on-board infotainment system or gateway module, or combined with the vehicle's antenna system.

[0046] S200: determining a positioning anchor point for positioning the mobile terminal according to the status of the auxiliary anchor point group and the status of the main anchor point in sequence, and determining a distance between the mobile terminal and the vehicle according to the positioning anchor point, wherein the auxiliary anchor point group includes a plurality of auxiliary anchor points, and the main anchor point is used to coordinate communication of the auxiliary anchor point group.

[0047] Specifically, under normal circumstances, the main anchor point is responsible for establishing a stable low-power connection with the mobile terminal, and can coordinate the communication and data exchange of the auxiliary anchor point group. The auxiliary anchor point group includes multiple auxiliary anchor points, which are usually distributed in the door, trunk or other parts of the vehicle body, and are used to cooperate with the main anchor point for regional sensing to ensure that the presence of the mobile terminal can be identified in multiple areas to avoid signal blind spots. For example, combined with Figure 4As shown in the figure, the auxiliary anchor point group includes vehicle body anchor points 1-4 and vehicle interior anchor points 5 and 6. After the mobile terminal establishes a Bluetooth connection with the main anchor point, the Bluetooth strength of the mobile terminal is judged through anchor points 1-6 to obtain the distance between the mobile terminal and the vehicle, that is, the auxiliary anchor point positioning method is used to realize the positioning of the mobile terminal, so that the vehicle can be controlled to perform corresponding operations such as lighting up the welcome, unlocking and locking according to the distance. For example, when the distance between the mobile terminal and the vehicle is 5m to 10m, the mobile terminal is located in the buffer zone around the vehicle, and the lighting up welcome function of the vehicle can be turned on. When the distance between the mobile terminal and the vehicle is 0 to When the distance between the mobile terminal and the vehicle is 5m, the mobile terminal is located in the unlocking area close to the vehicle, and the vehicle is automatically unlocked. When the distance between the mobile terminal and the vehicle is 10m to 15m, the mobile terminal is located in the locking area far from the vehicle, and the vehicle is automatically locked. However, when the anchor points in the auxiliary anchor point group are in an abnormal state, or the main anchor point is in an abnormal state, it is necessary to determine the positioning anchor point for positioning the mobile terminal, and determine the distance between the mobile terminal and the vehicle according to the positioning anchor point. Through this redundant design, it is ensured that the mobile terminal can be positioned when some anchor points are abnormal, thereby realizing subsequent keyless entry, one-button start and other functions.

[0048] Among them, the main anchor point serves as the main control unit of the system, responsible for coordinating the communication and data exchange of the auxiliary anchor point group. The auxiliary anchor point group serves as a slave unit, transmitting the Bluetooth signals detected in the area to the main anchor point. The main anchor point and the auxiliary anchor point group can communicate using the low-power Bluetooth protocol.

[0049] Among them, since the anchor points are usually installed at specific locations, the distance between the mobile terminal and the anchor points mainly represents the distance between the terminal and the area where the anchor points are located, but not necessarily the distance from the center of the vehicle as a whole. If only a single anchor point is used, the positioning result will be biased towards the specific location of the anchor point. If multiple anchor points are combined for triangulation positioning or multi-point ranging, it can more accurately reflect the distance and direction between the terminal and the vehicle as a whole, thereby improving the overall accuracy of the measurement.

[0050] In this embodiment, after a connection is established between the main anchor point and the mobile terminal according to the connection request of the mobile terminal, the positioning anchor point for positioning the mobile terminal is determined in turn according to the status of the auxiliary anchor point group and the status of the main anchor point. For example, when the anchor points in the auxiliary anchor point group are in an abnormal state, the vehicle positioning method is switched to the main anchor point positioning method. At this time, the signal strength of the mobile terminal can be judged according to the main anchor point. When the main anchor point is also in an abnormal state, an anchor point can be selected from the auxiliary anchor points in the auxiliary anchor point group that are not in an abnormal state as a new main anchor point. The main anchor point positioning method is implemented according to the anchor point, thereby determining the distance between the mobile terminal and the vehicle, ensuring that the mobile terminal can be positioned when some anchor points are abnormal, and then realizing subsequent keyless entry, one-button start and other functions.

[0051] Optionally, the determining a positioning anchor point for positioning the mobile terminal according to a state of the auxiliary anchor point group and a state of the main anchor point in sequence, and determining a distance between the mobile terminal and the vehicle according to the positioning anchor point comprises:

[0052] S210: When the auxiliary anchor point group is in a normal state, determine the auxiliary anchor point group as the positioning anchor point, so as to determine the distance between the mobile terminal and the vehicle according to the positioning anchor point.

[0053] Specifically, combined Figure 2 As shown, when the auxiliary anchor point group is in a normal state, the auxiliary anchor point group as a whole is determined as a positioning anchor point. At this time, a multi-point ranging positioning method is adopted. Each anchor point of the auxiliary anchor point group periodically broadcasts a Bluetooth signal and monitors the response of the mobile terminal. The signal strength received by each anchor point is recorded. The stronger the signal strength, the closer the mobile terminal is to the anchor point. The anchor point closest to the mobile terminal is determined according to the signal strength value, and triangulation is performed between the anchor points with obvious signal strength to determine the distance between the mobile terminal and the vehicle. The specific measurement process is a prior art and will not be repeated here.

[0054] S220: When the auxiliary anchor point group is in an abnormal state, determining the positioning anchor point according to the state of the main anchor point, so as to determine the distance between the mobile terminal and the vehicle according to the positioning anchor point.

[0055] Specifically, combined Figure 2 As shown, when the auxiliary anchor point group is in an abnormal state, the vehicle positioning method switches to the main anchor point positioning method. At this time, the signal strength of the mobile terminal can be judged according to the main anchor point, for example, a corresponding relationship table between signal strength and distance is pre-established, or the relationship between signal strength and distance is estimated according to the path loss model (usually the relationship between signal strength and distance is approximately exponential decay). Although the accuracy of the main anchor point positioning method is slightly lower than when the six anchor points work at the same time, it can also meet the general functional use; if the main anchor point is also in an abnormal state at this time, it is necessary to select an anchor point from the auxiliary anchor points in the auxiliary anchor point group that are not in an abnormal state as a new main anchor point (i.e., positioning anchor point), and implement the main anchor point positioning method according to the anchor point, so as to determine the distance between the mobile terminal and the vehicle.

[0056] Among them, Figure 4 Taking the auxiliary anchor point group shown as including six anchor points 1-6 as an example, when two or more of the six anchor points are abnormal, the auxiliary anchor point group is determined to be in an abnormal state. When only one of the six anchor points is abnormal, the auxiliary anchor point group can still perform normal positioning function, and the auxiliary anchor point group is determined to be in a normal state.

[0057] In this optional embodiment, the positioning anchor point for positioning the mobile terminal is determined according to the status of the auxiliary anchor point group and the status of the main anchor point. When the auxiliary anchor point group is in an abnormal state, the vehicle positioning method is switched to the main anchor point positioning method. At this time, the signal strength of the mobile terminal can be judged according to the main anchor point to ensure that the mobile terminal can be positioned when some anchor points are abnormal.

[0058] Optionally, determining the positioning anchor point according to the state of the main anchor point includes:

[0059] S221: When the auxiliary anchor point group is in an abnormal state and the main anchor point is in a normal state, determining the main anchor point as the positioning anchor point, so as to determine the distance between the mobile terminal and the vehicle according to the positioning anchor point.

[0060] Specifically, combined Figure 3 As shown, when the auxiliary anchor point group is in an abnormal state and the main anchor point is in a normal state, the vehicle positioning method is switched to the main anchor point positioning method, and the signal strength of the mobile terminal is judged by the main anchor point to determine the distance between the mobile terminal and the vehicle.

[0061] S222: When the auxiliary anchor point group is in an abnormal state and the main anchor point is in an abnormal state, determine an auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state as the positioning anchor point, so as to determine the distance between the mobile terminal and the vehicle according to the positioning anchor point.

[0062] Specifically, combined Figure 3 As shown, when the auxiliary anchor point group is in an abnormal state and the main anchor point is in an abnormal state, an anchor point is selected from the auxiliary anchor points in the auxiliary anchor point group that are not in an abnormal state as a new main anchor point (i.e., positioning anchor point), and the main anchor point positioning method is implemented based on the anchor point to determine the distance between the mobile terminal and the vehicle.

[0063] In this optional embodiment, when the auxiliary anchor point group is in an abnormal state, the positioning anchor point is determined according to the state of the main anchor point, ensuring that the mobile terminal can be positioned when some anchor points are abnormal, thereby improving the system fault tolerance.

[0064] Optionally, the plurality of auxiliary anchor points include a plurality of vehicle body anchor points, the vehicle body anchor points are arranged in one-to-one correspondence with door switches of the vehicle, and determining an auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state as the positioning anchor point includes:

[0065] When any door switch of the vehicle is triggered, the vehicle body anchor point corresponding to the door switch is determined as the positioning anchor point.

[0066] Specifically, combined Figure 4As shown, the auxiliary anchor point group includes body anchor points 1-4, one on each side of the front door (for example, body anchor point No. 1 and body anchor point No. 2 located at the front of the vehicle), and one on each side of the rear door (for example, body anchor point No. 3 and body anchor point No. 4 located at the rear of the vehicle); when the main anchor point is in a normal state, when the mobile terminal approaches the door, the door will be automatically unlocked, but when the main anchor point is in an abnormal state, the door will not be automatically unlocked at this time. After the user presses the main driver's door handle switch according to the process of getting on the vehicle, the main driver's door handle switch is triggered. At this time, the body anchor point No. 2 corresponding to the main driver's door handle switch is determined as the positioning anchor point, and the mobile terminal is positioned through the positioning anchor point. If the positioning result shows that the mobile terminal is close to the unlocking area, the door will be unlocked; the triggering process of other door switches is the same and will not be repeated.

[0067] The auxiliary anchor point group may also include a vehicle body anchor point located near the trunk, through which the mobile terminal can be positioned, thereby triggering the unlocking process of the trunk door.

[0068] In this optional embodiment, under the main anchor point positioning method, when any door switch of the vehicle is triggered, the body anchor point corresponding to the door switch is determined as the positioning anchor point, that is, when a door is triggered, it can be reasonably inferred that the user is closest to the door, and positioning is performed by activating the anchor point in this area. Compared with positioning using other anchor points, the signal strength of the mobile terminal detected by the body anchor point corresponding to the door switch is less interfered with, which can improve the positioning accuracy and achieve fast and accurate positioning of the mobile terminal.

[0069] Optionally, the determining the auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state as the positioning anchor point further includes:

[0070] When the vehicle body anchor point corresponding to the door switch is abnormal, a vehicle body anchor point in a normal state that is closest to the vehicle body anchor point in an abnormal state is determined as the positioning anchor point.

[0071] Specifically, combined Figure 4 As shown, taking the main driver's door handle switch as an example, the corresponding body anchor point No. 2 should be determined as the positioning anchor point. However, since the premise of switching from the auxiliary anchor point positioning method to the main anchor point positioning method is that the auxiliary anchor point group is in an abnormal state, if the auxiliary anchor points in the auxiliary anchor point group that are in an abnormal state include body anchor point No. 2, then the positioning anchor point can be selected as body anchor point No. 1 that is closest to body anchor point No. 2. If body anchor point No. 1 is also in an abnormal state, body anchor point No. 4 that is slightly farther away can be selected.

[0072] In this optional embodiment, when the body anchor point corresponding to the door switch is abnormal, the body anchor point in a normal state that is closest to the body anchor point in an abnormal state is determined as the positioning anchor point. Selecting the adjacent normal anchor point for alternative positioning can effectively reduce the error range and shorten the system response time, thereby achieving fast and accurate positioning of the mobile terminal.

[0073] Optionally, the plurality of auxiliary anchor points include at least one in-vehicle anchor point, one in-vehicle anchor point is set corresponding to a gear state of the vehicle, and the remaining in-vehicle anchor points are spare in-vehicle anchor points, and determining the auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state as the positioning anchor point includes:

[0074] When it is detected that the gear state is switched to a preset gear state, the corresponding in-vehicle anchor point is determined as the positioning anchor point.

[0075] Specifically, combined Figure 4 As shown, the auxiliary anchor point group includes anchor point No. 5 in the vehicle (set corresponding to the gear status of the vehicle) and anchor point No. 6 in the vehicle, wherein anchor point No. 5 in the vehicle is usually in the cockpit or chassis and other locations, and anchor point No. 6 in the vehicle (spare anchor point in the vehicle) is set near the trunk. When the user performs a gear shifting operation on the vehicle (for example, the gear status is switched to a preset gear status such as forward gear or reverse gear), anchor point No. 5 in the vehicle can be determined as the positioning anchor point, and the mobile terminal can be positioned through anchor point No. 5 in the vehicle. If the mobile terminal is located inside the vehicle, the gear shifting is successful, and the user can drive the vehicle normally. This can ensure that the mobile terminal is indeed in the vehicle when the gear shifting operation occurs, and can prevent the vehicle from starting or driving when the mobile terminal (such as a key) is not in the vehicle, thereby improving safety.

[0076] In this optional embodiment, under the main anchor point positioning method, when it is detected that the gear state is switched to the preset gear state, the corresponding anchor point in the vehicle is determined as the positioning anchor point to achieve accurate positioning of the mobile terminal.

[0077] Optionally, the determining the auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state as the positioning anchor point further includes:

[0078] When it is detected that the gear state is switched to a preset gear state and the corresponding in-vehicle anchor point is abnormal, the in-vehicle anchor point in a normal state that is closest to the in-vehicle anchor point in an abnormal state is determined as the positioning anchor point.

[0079] Specifically, combined Figure 4As shown, when the user performs a gear shifting operation on the vehicle (for example, the gear state is switched to a preset gear state such as forward gear or reverse gear), if anchor point No. 5 in the vehicle is an abnormal anchor point, anchor point No. 6 in the vehicle can be determined as the positioning anchor point, and the mobile terminal can be positioned through anchor point No. 6 in the vehicle. If it is determined that the mobile terminal is located inside the vehicle based on the distance between the mobile terminal and the vehicle, the gear shifting is successful and the user can drive the vehicle normally.

[0080] In this optional embodiment, when the corresponding in-vehicle anchor point is abnormal, the in-vehicle anchor point in a normal state that is closest to the in-vehicle anchor point in an abnormal state is determined as the positioning anchor point. Even if an abnormality occurs to a specific in-vehicle anchor point, the setting of an alternative positioning anchor point can ensure the normal operation of the system, achieve fast and accurate positioning of the mobile terminal, and improve the system's fault tolerance.

[0081] like Figure 5 As shown, a distance measuring device 500 provided in an embodiment of the present invention is applied to a vehicle, wherein a main anchor point and an auxiliary anchor point group are installed on the vehicle, and the distance measuring device 500 includes:

[0082] The first module 510 is configured to receive a connection request sent by a mobile terminal, and establish a connection between the primary anchor point and the mobile terminal according to the connection request;

[0083] The second module 520 is used to determine the positioning anchor point for positioning the mobile terminal according to the status of the auxiliary anchor point group and the status of the main anchor point in sequence, and determine the distance between the mobile terminal and the vehicle according to the positioning anchor point, wherein the auxiliary anchor point group includes multiple auxiliary anchor points, and the main anchor point is used to coordinate communication of the auxiliary anchor point group.

[0084] like Figure 6 As shown, an electronic device 600 provided by an embodiment of the present invention includes a memory 620 and a processor 610; the memory 620 is used to store a computer program; the processor 610 is used to implement the above-mentioned ranging method when executing the computer program.

[0085] In other words, an electronic device 600 includes a memory 620 and a processor 610 coupled to the memory 620; the memory 620 is configured to store a computer program; and the processor 610 is configured to perform the following operations when executing the computer program:

[0086] receiving a connection request sent by a mobile terminal, and establishing a connection between the primary anchor point and the mobile terminal according to the connection request;

[0087] The positioning anchor point for positioning the mobile terminal is determined in turn according to the state of the auxiliary anchor point group and the state of the main anchor point, and the distance between the mobile terminal and the vehicle is determined according to the positioning anchor point, wherein the auxiliary anchor point group includes multiple auxiliary anchor points, and the main anchor point is used to coordinate communication of the auxiliary anchor point group.

[0088] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the distance measurement method as described above is implemented.

[0089] In other words, a non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor performs the following operations:

[0090] receiving a connection request sent by a mobile terminal, and establishing a connection between the primary anchor point and the mobile terminal according to the connection request;

[0091] The positioning anchor point for positioning the mobile terminal is determined in turn according to the state of the auxiliary anchor point group and the state of the main anchor point, and the distance between the mobile terminal and the vehicle is determined according to the positioning anchor point, wherein the auxiliary anchor point group includes multiple auxiliary anchor points, and the main anchor point is used to coordinate communication of the auxiliary anchor point group.

[0092] An electronic device 600 that can be used as a server or client of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device 600 is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 600 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the present invention described and / or required herein.

[0093] The electronic device 600 includes a computing unit, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The computing unit, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0094] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0095] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.

Claims

1. A distance measurement method, characterized in that: Applied to a vehicle, the vehicle is equipped with a main anchor point and an auxiliary anchor point group, and the ranging method includes: receiving a connection request sent by a mobile terminal, and establishing a connection between the primary anchor point and the mobile terminal according to the connection request; The positioning anchor point for positioning the mobile terminal is determined in turn according to the state of the auxiliary anchor point group and the state of the main anchor point, and the distance between the mobile terminal and the vehicle is determined according to the positioning anchor point, wherein the auxiliary anchor point group includes multiple auxiliary anchor points, and the main anchor point is used to coordinate communication of the auxiliary anchor point group.

2. The distance measurement method according to claim 1, characterized in that: The determining of the positioning anchor point for positioning the mobile terminal according to the state of the auxiliary anchor point group and the state of the main anchor point in sequence, and determining the distance between the mobile terminal and the vehicle according to the positioning anchor point comprises: When the auxiliary anchor point group is in a normal state, determining the auxiliary anchor point group as the positioning anchor point, so as to determine the distance between the mobile terminal and the vehicle according to the positioning anchor point; When the auxiliary anchor point group is in an abnormal state, the positioning anchor point is determined according to the state of the main anchor point, so as to determine the distance between the mobile terminal and the vehicle according to the positioning anchor point.

3. The distance measurement method according to claim 2, characterized in that: Determining the positioning anchor point according to the state of the main anchor point comprises: When the auxiliary anchor point group is in an abnormal state and the main anchor point is in a normal state, determining the main anchor point as the positioning anchor point, so as to determine the distance between the mobile terminal and the vehicle according to the positioning anchor point; When the auxiliary anchor point group is in an abnormal state and the main anchor point is in an abnormal state, an auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state is determined as the positioning anchor point, so as to determine the distance between the mobile terminal and the vehicle according to the positioning anchor point.

4. The distance measurement method according to claim 3, characterized in that: The plurality of auxiliary anchor points include a plurality of vehicle body anchor points, and the vehicle body anchor points are arranged in one-to-one correspondence with the door switches of the vehicle, and determining the auxiliary anchor points in the auxiliary anchor point group that are not in an abnormal state as the positioning anchor points includes: When any door switch of the vehicle is triggered, the vehicle body anchor point corresponding to the door switch is determined as the positioning anchor point.

5. The distance measurement method according to claim 4, characterized in that: The step of determining the auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state as the positioning anchor point further comprises: When the vehicle body anchor point corresponding to the door switch is abnormal, a vehicle body anchor point in a normal state that is closest to the vehicle body anchor point in an abnormal state is determined as the positioning anchor point.

6. The distance measurement method according to claim 3, characterized in that: The plurality of auxiliary anchor points include at least one in-vehicle anchor point, one in-vehicle anchor point is set corresponding to the gear state of the vehicle, and the remaining in-vehicle anchor points are spare in-vehicle anchor points, and determining the auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state as the positioning anchor point includes: When it is detected that the gear state is switched to a preset gear state, the corresponding in-vehicle anchor point is determined as the positioning anchor point.

7. The distance measurement method according to claim 6, characterized in that: The step of determining the auxiliary anchor point in the auxiliary anchor point group that is not in an abnormal state as the positioning anchor point further comprises: When it is detected that the gear state is switched to a preset gear state and the corresponding in-vehicle anchor point is abnormal, the in-vehicle anchor point in a normal state that is closest to the in-vehicle anchor point in an abnormal state is determined as the positioning anchor point.

8. A distance measuring device, characterized in that: Applied to a vehicle, the vehicle is equipped with a main anchor point and an auxiliary anchor point group, and the distance measuring device comprises: A first module is configured to receive a connection request sent by a mobile terminal, and establish a connection between the primary anchor point and the mobile terminal according to the connection request; The second module is used to determine the positioning anchor point for positioning the mobile terminal according to the status of the auxiliary anchor point group and the status of the main anchor point in turn, and determine the distance between the mobile terminal and the vehicle according to the positioning anchor point, wherein the auxiliary anchor point group includes multiple auxiliary anchor points, and the main anchor point is used to coordinate communication of the auxiliary anchor point group.

9. An electronic device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is configured to implement the ranging method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the ranging method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Anchor point fault detection method and device of vehicle and storage medium

    CN116527482A

  • Intelligent key positioning method and device of vehicle and vehicle

    CN117956389A

  • Anchor point communication connection method and device, terminal equipment and storage medium

    CN118488414A

  • Vehicle control method and device, vehicle and medium

    CN118810683A

  • Position determination device and position determination method

    JP2024165572A